Documentation menu

Documentation / Overview

Mapsource documentation

Guides and API references for OpenStreetMap queries, address and business search, regional POI discovery, basemaps, routing, spatial analysis and elevation. Integrate with REST or MCP using one subscription key.

On this page

Start here

Get a subscription key from pricing, save it as MAPSOURCE_API_KEY in your environment or secret manager, and send it in the Authorization header. The quickstart walks through a request and an interactive map.

To compare the managed services and choose a capability, start with the solutions catalog.

npm i mapsource
curl --fail-with-body "https://api.mapsource.io/interpreter" \
  -H "Authorization: Bearer $MAPSOURCE_API_KEY" \
  -H "Content-Type: text/plain" \
  --data '[out:json][timeout:30];nwr["amenity"="cafe"](47.60,-122.34,47.62,-122.31);out geom 100;'

Check service status for the active query dataset and companion-service availability.

Open quickstart

API endpoints

Base URL: https://api.mapsource.io; paths below are relative to it and also work with an /api prefix. Coordinates are decimal degrees. Overpass bounding boxes use south, west, north, east; lookup and discovery use west, south, east, north.

EndpointPurposeAccess
GET / POST /interpreterOverpass QLSubscription
GET /places/lookupAddress, business and brand search with map-focus biasEvery subscription plan
POST /places/discoverBusinesses and POIs within a viewport, polygon or travel-time regionEvery subscription plan
GET /tiles/{style}/{z}/{x}/{y}.pngDark or light raster tiles, to zoom 20Subscription
GET /tiles/vector/{z}/{x}/{y}.pbfOpenMapTiles vector tiles, to zoom 14Subscription
GET /elevation?lat=…&lon=…Point elevationSubscription
GET /usageUsage and plan detailsSubscription; no query charge
POST /mcpRemote agent toolsTool-dependent
POST /x402/interpreterPaid JSON queryEnabled x402 payment
GET /tiles/catalogRaster styles, vector source, and attributionPublic
GET /statusService and dataset statePublic

Guides and reference

Developer resources

Questions about this guide? Contact support.