Documentation menu

Documentation / API reference

API reference

Reference for 88 API operations, including authentication, parameters, limits, and error codes.

On this page

Using the API

Send requests to https://api.mapsource.io; paths below are relative to it. Each also works with an /api prefix, the form https://mapsource.io serves. Authenticated endpoints require an Authorization: Bearer $MAPSOURCE_API_KEY header. Parameters marked with an asterisk are required. See the OpenAPI specification for REST schemas and the MCP guide for agent integration.

Each operation lists its access requirements and resource limits. Quota weight is a relative operation cost; see request accounting for monthly usage. Deterministic operations produce consistent results for unchanged inputs and data versions; this does not make repeated writes or payments safe. Follow the retry guidance for failures.

Engine version. The currently deployed Overpass engine version is published by GET /api/status; see overpass.displayVersion. It identifies the engine build currently serving Mapsource requests and changes automatically when production is upgraded. The datasets array reports the same for every other dataset: the engine build serving it and the data snapshot it answers from, each read from the backend itself.

Pass result handles between supported operations to process large datasets without downloading intermediate geometry.

Discovery and query

Execute an Overpass QL query

POST / GET /interpreter

Queries OpenStreetMap nodes, ways, relations, and generated areas. Supports tags, spatial filters, sets, recursion, geometry, metadata, and JSON, XML, or CSV output. Query execution and response transfer have separate lifetimes: a progressing response is not cut off by the query timer. The account's uncompressed response-size limit still applies. Incomplete documents and native runtime remarks are not successful queries.

Operation id
queryOverpass
Access
Subscription key or x402 payment
Quota units
0.20
Latency class
slow
Deterministic
No
Agent tool
geo_search operation overpass
Produces a handle
feature_collection

Usage Query arbitrary OSM tags, spatial relationships, or topology using Overpass QL.

Considerations Use lookupPlaces for address and business suggestions, discoverPlaces for regional POI lists, or findNearby for category-based radius searches.

ParameterLocationTypeConstraintsDescription
data *bodystringmax length 131072A complete bounded QL program.

Operation-specific errors QUERY_TOO_LARGE, TIMEOUT_EXCEEDS_PLAN, MAXSIZE_EXCEEDS_PLAN, ATTIC_UNSUPPORTED, RESPONSE_TOO_LARGE

Response headers X-Mapsource-Overpass-Version, X-Mapsource-Overpass-Commit, X-Mapsource-Gateway-Version, X-Mapsource-Gateway-Commit

Execute Overpass QL with the key in the path

POST / GET /{key}/interpreter

Overpass interpreter access with a credential in the URL path. Query behavior, limits, quota, and errors match /api/interpreter.

Operation id
queryOverpassCompat
Access
Subscription key
Quota units
0.20
Latency class
slow
Deterministic
No
Produces a handle
feature_collection

Usage Connect existing Overpass clients that cannot set request headers.

Considerations Prefer Bearer authentication. URL credentials may appear in logs, browser history, and referrer headers.

ParameterLocationTypeConstraintsDescription
key *pathstring—The subscription key. Prefer the Authorization header wherever the client allows one.
data *bodystringmax length 131072A complete bounded QL program.

Operation-specific errors QUERY_TOO_LARGE, TIMEOUT_EXCEEDS_PLAN, MAXSIZE_EXCEEDS_PLAN, ATTIC_UNSUPPORTED, RESPONSE_TOO_LARGE

Response headers X-Mapsource-Overpass-Version, X-Mapsource-Overpass-Commit, X-Mapsource-Gateway-Version, X-Mapsource-Gateway-Commit

Submit a durable Overpass job

POST /overpass/jobs

Accepts a bounded JSON-output Overpass query for background execution. One newly accepted submission uses one quota unit, including jobs that later fail or are cancelled. Reusing the same key and idempotencyKey with identical input returns the original job without another charge; different input returns 409 BAD_REQUEST. Polling, cancellation and result downloads use no quota units. Execution defaults to the plan's full timeout, up to 120 seconds, and retains the plan's query-byte, memory and result-byte bounds. Background jobs have a separate allowance of 1 running job per organization; this does not change synchronous HTTP concurrency. Results expire after 24 hours. Jobs are visible only to their issuing API key.

Operation id
submitOverpassJob
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
No
Agent tool
geo_jobs operation submit

Usage Run a larger JSON Overpass query without keeping the client connection open, then poll metadata and download the completed result.

Considerations Use queryOverpass for immediate streamed JSON, XML or CSV responses. Background jobs initially support JSON only and require a subscription key.

ParameterLocationTypeConstraintsDescription
data *bodystringmin length 1, max length 131072A complete current-data Overpass QL program with JSON output. Omitting timeout uses the plan's maximum; explicit timeout and maxsize must remain within that plan.
idempotencyKey *bodystring—A unique printable non-space ASCII identifier, such as a UUID. Reuse it unchanged when retrying this submission; use a new value for different input.

Operation-specific errors QUERY_TOO_LARGE, TIMEOUT_EXCEEDS_PLAN, MAXSIZE_EXCEEDS_PLAN, ATTIC_UNSUPPORTED, RESPONSE_TOO_LARGE

Response headers Location, Retry-After

List this key's Overpass jobs

GET /overpass/jobs

Returns bounded job metadata without query text or result payloads. The opaque cursor continues this API key's listing. Listing uses no request allowance and remains available after request-budget exhaustion.

Operation id
listOverpassJobs
Access
Subscription key
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_jobs operation list

Usage Find recent background queries and resume polling or downloading jobs created with this same API key.

ParameterLocationTypeConstraintsDescription
cursorquerystringmax length 512Opaque continuation cursor from nextCursor.
limitqueryintegermin 1, max 50, default 20Maximum number of metadata records.

Inspect an Overpass job

GET /overpass/jobs/{id}

Returns state, stage, timestamps, attempts, bounded progress, sanitized errors and a completed-result download link. Completion percentage is null because the engine does not report a reliable fraction. No query text or result body is included. Status uses no request allowance and remains available after request-budget exhaustion. Unknown jobs and jobs owned by another key both return NOT_FOUND.

Operation id
readOverpassJob
Access
Subscription key
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_jobs operation status

Usage Poll a submitted job until it succeeds, fails, is cancelled or expires; inspect metadata before downloading its bytes.

ParameterLocationTypeConstraintsDescription
id *pathstring—The job_ identifier returned at submission.

Operation-specific errors NOT_FOUND

Response headers Retry-After

Cancel an Overpass job

DELETE /overpass/jobs/{id}

Requests cancellation of queued or active work and returns compact job metadata. Repeated cancellation is idempotent; terminal jobs remain terminal. The accepted-submission request is not refunded. Cancellation uses no request allowance and remains available after request-budget exhaustion. Unknown jobs and jobs owned by another key both return NOT_FOUND.

Operation id
cancelOverpassJob
Access
Subscription key
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_jobs operation cancel

Usage Stop a queued or running query whose result is no longer needed, and poll until cancellation is confirmed.

ParameterLocationTypeConstraintsDescription
id *pathstring—The job_ identifier returned at submission.

Operation-specific errors NOT_FOUND

Download a completed Overpass job

GET / HEAD /overpass/jobs/{id}/result

Streams the immutable JSON result with a SHA-256 ETag. Supports one byte range and If-Range for resumable downloads, If-None-Match for conditional reads, and HEAD for metadata without a body. Downloads use no quota units and remain available after request-budget exhaustion. Results are private and require the issuing API key on every request. Unfinished results return 409; expired results return 410; unknown or inaccessible jobs return 404. Raw bytes are available through REST rather than MCP.

Operation id
downloadOverpassJobResult
Access
Subscription key
Quota units
0.00
Latency class
slow
Deterministic
Yes

Usage Download a completed result to a file or application, resume an interrupted download, or inspect its size and ETag with HEAD.

Considerations Poll readOverpassJob first. Do not place a large result body in an agent's context.

ParameterLocationTypeConstraintsDescription
id *pathstring—The job_ identifier returned at submission.
Rangeheaderstring—One byte range, for example bytes=0-1048575, bytes=1048576- or bytes=-1024. Multiple ranges are not supported.
If-Rangeheaderstring—The strong ETag from an earlier response. A mismatch returns the complete result instead of partial bytes.
If-None-Matchheaderstring—A matching ETag returns 304 without a result body.

Operation-specific errors NOT_FOUND

Response headers ETag, Accept-Ranges, Content-Length, Content-Range, Cache-Control

Resolve a name to a geographic entity

GET /entities/resolve

Resolves a place name to an entity ID, type, display name, center, source ID, and confidence score. Similar-scoring candidates produce an ambiguous result.

Operation id
resolveEntity
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
Yes
Agent tool
geo_search operation resolve

Usage Resolve a place once and reference its entity ID in subsequent operations.

Considerations Use nearby search for features around a point, or readEntity for an existing entity ID.

ParameterLocationTypeConstraintsDescription
q *querystringmin length 1, max length 120The place name.
latquerynumbermin -85.05112878, max 85.05112878Bias toward this latitude without hiding distant matches.
lonquerynumbermin -180, max 180Bias toward this longitude.
limitqueryintegermin 1, max 50, default 10Maximum number of candidates.

Read an entity by its id

GET /entities/{entityId}

Retrieves an entity from the current dataset using the source reference encoded in its ID.

Operation id
readEntity
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
Yes
Agent tool
geo_search operation entity

Usage Retrieve the name, center, and bounding box associated with an entity ID.

ParameterLocationTypeConstraintsDescription
entityId *pathstring—An id from resolveEntity, beginning geo_.

Operation-specific errors NOT_FOUND

Resolve a place name to a coordinate

GET /places/search

Global place-name search over a locally built index, ranked by prominence with an optional bias point.

Operation id
searchPlaces
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
Yes
Agent tool
geo_search operation search
Produces a handle
place_collection

Usage Look up a populated place by name and retrieve its coordinates.

Considerations Use lookupPlaces for addresses, businesses, brands and mixed destination suggestions. Use discoverPlaces for businesses within a viewport, polygon or travel-time region.

ParameterLocationTypeConstraintsDescription
q *querystringmax length 120Place name to look up.
limitqueryintegermin 1, max 50, default 10Maximum results.
latquerynumbermin -85.05112878, max 85.05112878Bias results toward this point without excluding distant matches.
lonquerynumbermin -180, max 180Bias results toward this point without excluding distant matches.
classquerystringone of city, town, village, suburb, neighbourhood, hamletRestrict to one class of populated place.

Look up addresses, businesses and places

GET /places/lookup

Local OSM address/name lookup for map search and routing destination pickers. Supports business categories, partial names, accent normalization and typo matching. Coordinates bias ranking; bounded=true is required to restrict results to bbox. When the global index is unavailable, coverage identifies the regional Overpass and place-name-index fallback. Included in every subscription plan: each lookup uses its listed quota weight, and a regional interpreter fallback uses its own weight. Search index freshness is independent of the Overpass dataset; read coverage.dataTimestamp.

Operation id
lookupPlaces
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
No
Agent tool
geo_search operation lookup

Usage Find an address, business, brand, landmark, street or populated place. Use a location qualifier such as Starbucks in Portland to search away from the map focus.

Considerations Use discoverPlaces to enumerate businesses in a viewport or travel-time region. Ranking scores are not probabilities; bestMatchId is null for ambiguous matches. House numbers are never substituted.

ParameterLocationTypeConstraintsDescription
q *querystringmin length 1, max length 120Search text; addresses retain the requested house number.
latquerynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lonquerynumbermin -180, max 180Longitude in decimal degrees.
limitqueryintegermin 1, max 20, default 8Maximum results.
languagequerystringdefault "en"Preferred language code. Unavailable translations fall back to source names with a warning.
typesquerystring—Comma-separated address,business,landmark,street,place filters.
categoryquerystring—Business/POI category or alias, such as coffee, pharmacy, restaurants, groceries, hotels, shops or parks.
countrycodesquerystring—Comma-separated two-letter country codes. Records without a source country code do not satisfy this filter.
bboxquerystring—west,south,east,north. A focus hint unless bounded=true; no dateline crossing.
boundedquerybooleandefault falseRestrict results to bbox. A bias point alone never requests this restriction.

Find businesses and POIs in a region

POST /places/discover

Select OSM shops, offices, amenities and visitor facilities inside a viewport, polygon or travel-time region. Uses the local Overpass database, polygon filtering and, optionally, Valhalla. No geocoder index is required. Each internal Overpass, isochrone or matrix request consumes its normal quota; the composition adds no separate request charge.

Operation id
discoverPlaces
Access
Subscription key
Quota units
0.00
Latency class
slow
Deterministic
No
Agent tool
geo_search operation discover
Accepts handles
isochrone, analysis, feature_collection

Usage Find coffee within a 15-minute drive, list businesses in a map viewport, or filter POIs by an existing isochrone. Paginate bounded results; narrow the area when coverage.truncated is true.

Considerations Use lookupPlaces for ranked address/name suggestions. Discovery uses feature centers, not full-geometry intersections. It does not guarantee a complete real-world business directory: only mapped OSM records are available. Travel-time ranking compares at most the 25 nearest candidates.

ParameterLocationTypeConstraintsDescription
qbodystringmax length 120Optional business name or brand filter.
categorybodystring—Optional category alias, such as coffee, pharmacy, restaurants, hotels or shops.
bboxbodystring—west,south,east,north (a four-number array is also accepted). Maximum extent: one degree per axis. Supply exactly one of bbox, region or minutes.
regionbodyobject—GeoJSON Polygon, MultiPolygon, polygon Feature/FeatureCollection, or an owned result-handle ID. Closed rings required; holes excluded. Maximum encoded coordinates: 100 KB.
minutesbodyintegermin 1, max 30Generate a reachable region from lat/lon.
latbodynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lonbodynumbermin -180, max 180Longitude in decimal degrees.
costingbodystringone of auto, bicycle, pedestrian, truck, default "auto"Travel mode for isochrone and matrix requests.
rankBybodystringone of distance, travel_time, default "distance"distance sorts from lat/lon or the region center. travel_time requires lat/lon, limit <=25 and offset=0; unreachable times remain null.
limitbodyintegermin 1, max 100, default 20Page size.
offsetbodyintegermin 0, max 2000, default 0Offset into the bounded candidate results; re-query after dataset updates may change ordering.
languagebodystringdefault "en"Preferred source name language.

Operation-specific errors UPSTREAM_UNAVAILABLE, HANDLE_EXPIRED

Prefix-match a place name

GET /places/autocomplete

Prefix search over the place-name index, matching the final word of a partial query.

Operation id
autocompletePlaces
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
Yes
Agent tool
geo_search operation autocomplete
Produces a handle
place_collection

Usage Provide place-name suggestions as a user types.

Considerations Use lookupPlaces for address, business and brand suggestions, including partial names. Use searchPlaces for complete populated-place names.

ParameterLocationTypeConstraintsDescription
q *querystringmax length 120Partial place name.
limitqueryintegermin 1, max 50, default 10Maximum results.
latquerynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lonquerynumbermin -180, max 180Longitude in decimal degrees.

Find features within a radius

GET /places/nearby

Returns named features or category matches within a radius, sorted by distance.

Operation id
findNearby
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
No
Agent tool
geo_search operation nearby
Produces a handle
place_collection

Usage Find nearby amenities, infrastructure, or named features around a coordinate.

Considerations Use Overpass QL for bounding-box queries or areas beyond the supported radius.

ParameterLocationTypeConstraintsDescription
lat *querynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lon *querynumbermin -180, max 180Longitude in decimal degrees.
radiusqueryintegermin 10, max 5000, default 500Metres.
categoryquerystring—Omit for any named feature.
limitqueryintegermin 1, max 100, default 20Maximum records.

Reverse geocode a coordinate

GET /places/reverse

Reverse geocodes against the local Photon address index and returns the nearest indexed house number, street, district, city, state, postcode, country and country code with coordinate, distance and OSM identity. Local Overpass candidates remain available as traceable fallbacks.

Operation id
reverseGeocode
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
No
Agent tool
geo_search operation reverse

Usage Retrieve a complete locally indexed postal address or place identity associated with a coordinate.

ParameterLocationTypeConstraintsDescription
lat *querynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lon *querynumbermin -180, max 180Longitude in decimal degrees.
radiusqueryintegermin 10, max 1000, default 150Metres.

Read one feature by its OSM identity

GET /places/{osmType}/{osmId}

Returns the tags and geometry center of an OSM node, way, or relation.

Operation id
readPlace
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
No
Agent tool
geo_search operation details

Usage Retrieve details for an OSM object identified by type and ID.

ParameterLocationTypeConstraintsDescription
osmType *pathstringone of node, way, relationnode, way or relation.
osmId *pathintegermin 1Positive OSM id.

Operation-specific errors NOT_FOUND

Geocode through the compatibility provider

GET /geocode

Address and place lookup through the separately configured, rate-limited geocoding provider. Retained for clients using this response format; local search is available through lookupPlaces.

Operation id
forwardGeocode
Access
Subscription key
Quota units
0.20
Latency class
slow
Deterministic
No
Agent tool
geo_search operation geocode

Usage Maintain an existing integration that requires the compatibility geocoder's response format.

Considerations Use lookupPlaces for new address, business, brand and place search integrations. This provider-backed endpoint supports interactive requests, not bulk geocoding.

ParameterLocationTypeConstraintsDescription
q *querystringmax length 200Address or place text.

Execute an Overpass query with x402

POST /x402/interpreter

Executes a bounded JSON-output Overpass QL query using per-request x402 payment instead of subscription quota. Each verified payer wallet has 1,800 requests per minute and 24 concurrent queries, shared across paid REST and MCP calls, not across other wallets. Query execution bounds remain those of Developer; each successful query is paid separately with no monthly request allowance.

Operation id
paidOverpassQuery
Access
Subscription key or x402 payment
Quota units
0.00
Latency class
slow
Deterministic
No

Usage Submit a query using an authorized compatible wallet without a subscription key.

Considerations Use the subscription interpreter when an API key is available. Query payments do not include tiles or elevation.

ParameterLocationTypeConstraintsDescription
query *bodystringmin length 1, max length 131072Overpass QL using [out:json]. Send a JSON object with this field.

Operation-specific errors PAYMENT_REQUIRED, QUERY_TOO_LARGE, RESPONSE_TOO_LARGE, RATE_LIMITED, CONCURRENCY_LIMITED

Spatial compute and handles

Run a spatial analysis

POST /analyze

Buffer, centroid, bbox, area, length, distance, intersect, union, difference, contains, intersects, nearest, simplify and convex hull.

Operation id
analyzeGeometry
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
Yes
Agent tool
geo_analyze operation analyze
Accepts handles
feature_collection, route, isochrone, analysis, place_collection
Produces a handle
analysis

Usage Measure or transform GeoJSON, coordinates, query results, and result handles.

Considerations Use a pipeline for several dependent operations in one request.

ParameterLocationTypeConstraintsDescription
operation *bodystringone of buffer, centroid, bbox, area, length, distance, intersect, union, difference, contains, intersects, nearest, simplify, convexThe operation to run.
a *bodyobject—GeoJSON, a [lon, lat] pair, a query or places result, or a result handle.
bbodyobject—Second operand, in the same forms as a.
distancebodynumbermin 0, max 500000Buffer radius or simplify tolerance.
unitsbodystringone of meters, kilometers, miles, default "meters"Units for distance.

Run a multi-step spatial pipeline

POST /compute

Executes up to 12 ordered steps with references to earlier results and returns the selected output.

Operation id
runPipeline
Access
Subscription key
Quota units
1.00
Latency class
batch
Deterministic
No
Agent tool
geo_analyze operation pipeline
Accepts handles
feature_collection, route, isochrone, matrix, analysis, place_collection
Produces a handle
analysis

Usage Run dependent search, navigation, and analysis without downloading intermediate results.

Considerations Call the relevant endpoint directly for a single operation.

ParameterLocationTypeConstraintsDescription
pipeline *bodyarraymin 1, max 12Ordered steps of {id, op, args}.
returnbodystring—Which step to return, as $stepId. Defaults to the last.
estimateOnlybodybooleandefault falseReport the cost without executing.

Operation-specific errors PIPELINE_INVALID, PIPELINE_STEP_FAILED, PIPELINE_DEADLINE_EXCEEDED, HANDLE_EXPIRED, HANDLE_QUOTA_EXCEEDED

Retrieve a held result

GET /results/{id}

Retrieves a result payload or its metadata: type, version, feature count, size, bounding box, dataset versions, operation hash, and lineage.

Operation id
readResult
Access
Subscription key
Quota units
1.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_analyze operation result

Usage Download a result payload or inspect its metadata before further processing.

Considerations Pass the handle directly to supported operations when the client does not need the payload.

ParameterLocationTypeConstraintsDescription
id *pathstring—The handle id, rh_ followed by 32 hex characters.
modequerystringone of summarysummary returns the envelope without the payload.

Operation-specific errors HANDLE_EXPIRED, NOT_FOUND

Terrain and elevation

Sample ground elevation

GET /elevation

Surface height at a coordinate, floored at sea level, with the raw model reading alongside.

Operation id
sampleElevation
Access
Subscription key
Quota units
0.20
Latency class
fast
Deterministic
Yes
Agent tool
geo_data operation elevation

Usage Retrieve terrain height and the raw model elevation at one coordinate.

Considerations Use route with elevation enabled for a profile along a route.

ParameterLocationTypeConstraintsDescription
lat *querynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lon *querynumbermin -180, max 180Longitude in decimal degrees.

Read a terrarium-encoded elevation tile

GET /terrain/{z}/{x}/{y}.png

Returns a Terrarium-encoded Mapzen Terrain PNG for MapLibre raster-dem sources.

Operation id
getTerrainTile
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
Yes
Agent tool
geo_data operation terrain

Usage Display hillshading or 3D terrain using the catalog's tile template and zoom range.

Considerations Use sampleElevation for a single coordinate without decoding a tile.

ParameterLocationTypeConstraintsDescription
z *pathinteger—Zoom, 0 to 15.
x *pathinteger—Tile column.
y *pathinteger—Tile row, with the .png suffix.

Generate banded topographic contours

GET /contours

Vector contour bands with elevations, index flags and along-band label paths.

Operation id
generateContours
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
Yes
Agent tool
geo_data operation contours
Produces a handle
feature_collection

Usage Display elevation contours or analyze terrain relief around a coordinate.

ParameterLocationTypeConstraintsDescription
lat *querynumbermin -85.05112878, max 85.05112878Latitude in decimal degrees.
lon *querynumbermin -180, max 180Longitude in decimal degrees.
zoomqueryintegermin 6, max 13, default 9Resolution.
bandsqueryintegermin 4, max 24, default 14Requested band count.

Weather and environmental data

Read the weather service catalog and delivery capabilities

GET /environment/catalog

Read the weather service catalog and delivery capabilities. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
readEnvironmentCatalog
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation catalog

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

List source families and their concrete redistribution approvals

GET /environment/sources

List source families and their concrete redistribution approvals. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
listEnvironmentSources
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation sources

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Inspect a source family's eligibility and approved products

GET /environment/sources/{sourceId}

Inspect a source family's eligibility and approved products. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
readEnvironmentSource
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation source

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read the reference variable dictionary without assuming model availability

GET /environment/variables

Read the reference variable dictionary without assuming model availability. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
listEnvironmentVariables
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation variables

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read measured per-source weather availability and observation ages

GET /environment/status

Read measured per-source weather availability and observation ages. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
readEnvironmentStatus
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation status

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read a complete native aurora or satellite fire snapshot

GET /environment/sources/{sourceId}/snapshot

Retrieve the reviewed product's complete current JSON or CSV snapshot, unchanged. Requires a subscription key, one quota unit and the separate account weather transfer allowance. The whole response is limited to 16 MiB; larger source files remain available through bounded native asset ranges. OVATION probabilities do not guarantee visible aurora; FIRMS hotspots are satellite detections, not fire perimeters. Provider observation and forecast times are preserved.

Operation id
readEnvironmentSnapshot
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Response headers ETag, Content-Digest, Link, X-Mapsource-Weather-Attribution, X-Mapsource-Weather-Changes, X-Mapsource-Weather-Transfer-Remaining

Read native weather products, formats, rights and transfer limits

GET /weather/catalog

Read native weather products, formats, rights and transfer limits. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
readWeatherCatalog
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

List forecast and analysis model products

GET /weather/models

List forecast and analysis model products. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
listWeatherModels
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation models

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Inspect a native weather model product

GET /weather/models/{modelId}

Inspect a native weather model product. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. This metadata is public and free.

Operation id
readWeatherModel
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_weather operation model

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
modelId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Discover native source run directories for a date

GET /weather/models/{modelId}/runs

Discover native source run directories for a date. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
listWeatherRuns
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation runs

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
modelId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
datequerystringmin length 8, max length 8UTC source date as YYYYMMDD; defaults to the current date. A listed directory is discovered, not proof of a complete forecast run.
limitqueryintegermin 1, max 20, default 10Maximum run directories.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

List source prefixes and assets within a discovered run

GET /weather/models/{modelId}/runs/{runId}

List source prefixes and assets within a discovered run. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
readWeatherRun
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation run

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
modelId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
runId *pathstringmin length 1, max length 512URL-encoded native run prefix from the run listing.
cursorquerystringmax length 4096Signed continuation token for this same source, prefix and page size.
limitqueryintegermin 1, max 100, default 50Maximum listing entries; upstream pages can contain folders or out-of-scope objects which are filtered.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read actual native GRIB message index fields and byte ranges

GET /weather/models/{modelId}/runs/{runId}/inventory

Read actual native GRIB message index fields and byte ranges. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
readWeatherInventory
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation inventory

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
modelId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
runId *pathstringmin length 1, max length 512URL-encoded native run prefix from the run listing.
objectKey *querystringmin length 1, max length 1024Exact relative native object key from this dataset's live listing. URLs and path traversal are refused.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Discover native objects under an approved product prefix

GET /weather/sources/{sourceId}/assets

Discover native objects under an approved product prefix. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
listWeatherAssets
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation assets

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
prefixquerystringmax length 512, default ""Reviewed native directory prefix. Use prefixes from source discovery; no recursive global listing.
cursorquerystringmax length 4096Signed continuation token for this same source, prefix and page size.
limitqueryintegermin 1, max 100, default 50Maximum listing entries; upstream pages can contain folders or out-of-scope objects which are filtered.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Validate native asset format and pin its source version

GET /weather/sources/{sourceId}/asset-metadata

Validate native asset format and pin its source version. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
describeWeatherAsset
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation asset_metadata

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
objectKey *querystringmin length 1, max length 1024Exact relative native object key from this dataset's live listing. URLs and path traversal are refused.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Download byte-identical native weather data

GET / HEAD /weather/sources/{sourceId}/asset

Download byte-identical native weather data. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
getWeatherAsset
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
objectKey *querystringmin length 1, max length 1024Exact relative native object key from this dataset's live listing. URLs and path traversal are refused.
Rangeheaderstringmax length 100One bytes=start-end range, at most 16777216 bytes. A larger complete object requires chunked requests.
If-Matchheaderstringmax length 256Pin the exact source version from metadata or HEAD. A changed source refuses the transfer with HTTP 412.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Response headers ETag, Accept-Ranges, Content-Range, Link, X-Mapsource-Weather-Attribution, X-Mapsource-Weather-Changes, X-Mapsource-Weather-Transfer-Remaining

Read the native NWS forecast for a supported U.S. point

GET /weather/forecast

Read the native NWS forecast for a supported U.S. point. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
readWeatherForecast
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation forecast

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
lat *querynumbermin -90, max 90WGS84 latitude, rounded to four decimal places for NWS point lookup.
lon *querynumbermin -180, max 180WGS84 longitude.
providerquerystringone of nws, default "nws"Native forecast provider. Global model files are available through the separate model and asset endpoints.
hourlyquerystringone of true, false, default "false"Return the native hourly forecast when true; preserve provider units.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read native active NWS alerts for an area or point

GET /weather/alerts

Read native active NWS alerts for an area or point. Native provider units, timestamps, formats and source versions are preserved. Per-product commercial redistribution approval and attribution are enforced. Catalog family membership does not authorize data access. Requires a subscription key and uses 1 quota unit. Native transfers also use the separate account weather allowance.

Operation id
readWeatherAlerts
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No
Agent tool
geo_weather operation alerts

Usage Discover reviewed weather products, inspect native source inventories, or retrieve unchanged provider data with its license and version.

Considerations This passthrough service does not decode, interpolate or synthesize model values, 3D volumes or LiDAR datasets.

ParameterLocationTypeConstraintsDescription
areaquerystringmax length 14One to five comma-separated NWS area codes, e.g. IN. Choose area or point.
pointquerystringmax length 60Latitude,longitude filter. An empty FeatureCollection is a valid no-active-alerts result.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Read available derived weather map products and resource limits

GET /weather/visualizations

Read available derived weather map products and resource limits. Derived visualization rights are reviewed independently for each native dataset. Values retain actual units, source versions, quality masks and observation/forecast times. Scientific grids use reprojected cell footprints; observation density is explicitly a smoothed display of observations. Native download operations remain unchanged.

Operation id
readWeatherVisualizations
Access
Public
Quota units
0.00
Latency class
fast
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

No parameters.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Discover actual native files for a weather map

GET /weather/sources/{sourceId}/visualization-assets

Uses bounded live provider listings and returns at most 100 observed native files. selectedKey identifies an observed file, not a promise that an entire run is complete. Fixed current snapshots have their actual fixed key; NWS point/alert products have no file key. Requires one quota unit.

Operation id
listWeatherVisualizationAssets
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
datequerystringmin length 8, max length 8An actual UTC date as YYYYMMDD. An explicit date is never replaced with another date. Omit for bounded recent-source discovery.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Inspect actual fields, levels and times for a weather map

GET /weather/sources/{sourceId}/visualization-fields

Returns actual field choices and native coordinate axes with a source ETag. Unknown units stay null until decoded; they are never copied from a model-wide assumption. NWS versions are strong SHA-256 hashes of the actual source JSON. Requires one quota unit.

Operation id
readWeatherVisualizationFields
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
objectKeyquerystringmin length 1, max length 1024Exact relative native object key from this dataset's live listing. URLs and path traversal are refused.
latquerynumbermin -90, max 90Actual query latitude for NWS forecast or alert selection.
lonquerynumbermin -180, max 180Actual query longitude for NWS forecast or alert selection.
areaquerystringmax length 14NWS area codes for alerts, for example IN.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Create a bounded weather map asynchronously

POST /weather/sources/{sourceId}/visualizations

An accepted new job costs one quota unit, including a job that later fails. Identical idempotent retries return the original job without another charge; changed input with the same key returns 409. A portable encrypted token allows another authority to recompute the same pinned input after handoff. One scientific worker runs at a time with a four-job waiting queue and one active job per organization. Jobs expire after 20 minutes. Poll no faster than Retry-After. Results use the separate weather byte allowance; internal provider materialization is bounded independently.

Operation id
submitWeatherVisualization
Access
Subscription key
Quota units
1.00
Latency class
slow
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

ParameterLocationTypeConstraintsDescription
sourceId *pathstringmin length 1, max length 512Concrete dataset or source identifier returned by the catalog.
If-Match *headerstringmin length 1, max length 256Exact ETag from visualization-fields. A changed source returns 412.
Idempotency-Key *headerstringmin length 1, max length 128A stable UUID or printable identifier for this exact submission. Reuse after a lost response; change it for different input. Receipts last 24 hours.
objectKeybodystringmax length 1024Exact discovered native file key; omit for NWS JSON products.
fieldbodystringmax length 128A field identifier returned by visualization-fields.
levelbodyintegermin 0, max 255, default 0Actual returned level index.
timebodyintegermin 0, max 239, default 0Actual returned time index.
maxPointsbodyintegermin 16, max 8192, default 4096Maximum real cells, observations or native geometry features.
bboxbodyarray—WGS84 west,south,east,north, within the Web Mercator latitude domain and without crossing the antimeridian.
latbodynumbermin -90, max 90NWS query latitude.
lonbodynumbermin -180, max 180NWS query longitude.
areabodystringmax length 14NWS alert area codes.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Response headers Location, Retry-After

Inspect a weather visualization job

GET /weather/visualizations/{jobId}

Returns compact state, measured source bytes/requests, bounded errors and continuation URLs for this key's accepted job. Uses no quota units, including after quota exhaustion; ordinary HTTP rate and concurrency limits still apply. A changed authority can resume the pinned work without another submission charge. No scientific arrays are stored in account checkpoints.

Operation id
readWeatherVisualizationJob
Access
Subscription key
Quota units
0.00
Latency class
slow
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

ParameterLocationTypeConstraintsDescription
jobId *pathstringmin length 1, max length 8192Opaque encrypted job token returned at submission. Requires the same API key; expires after 20 minutes.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Response headers Retry-After

Download a completed weather visualization

GET /weather/visualizations/{jobId}/result

Returns a bounded GeoJSON map with native values, real units/times, missing-value accounting, source ETags, companion versions, required attribution and named transformations. At most 8192 features and 4194304 bytes. Uses no request quota units, but the delivered bytes use the account weather-transfer allowance. HTTP rate/concurrency and downstream transfer slots remain held until completion. Scientific grids use cells, observations use actual locations, forecasts label the query location, and alerts preserve provider geometry. REST only; large results are not inlined into MCP.

Operation id
readWeatherVisualizationResult
Access
Subscription key
Quota units
0.00
Latency class
slow
Deterministic
No

Usage Discover a reviewed product's real source file and field, create a bounded map preview, and retain its source and transformation metadata.

Considerations A sampled display is not a full-resolution scientific export or a forecast at an invented location. Use the native asset operations for original files.

ParameterLocationTypeConstraintsDescription
jobId *pathstringmin length 1, max length 8192Opaque encrypted job token returned at submission. Requires the same API key; expires after 20 minutes.

Operation-specific errors SOURCE_LICENSE_RESTRICTED, UPSTREAM_UNAVAILABLE, RESPONSE_TOO_LARGE, BUDGET_EXCEEDED, NOT_FOUND

Semantic cartography

Read the semantic basemap layer namespace

GET /basemap/contract

Semantic layer identifiers, supported style properties, and mappings to the tile schema.

Operation id
readBasemapContract
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation explain

Usage Look up layer identifiers and properties when creating or editing a style.

Considerations Use the basemap catalog to retrieve tile URLs.

No parameters.

List style presets and saved profiles

GET /styles

Lists available presets and profiles associated with the authenticated key.

Operation id
listStyles
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation list

Usage Select a preset or retrieve saved basemap profiles.

No parameters.

Read a compiled MapLibre style

GET /styles/{id}/style.json

The compiled style document for a preset or one of your saved profiles. metadata['mapsource:ui'] contains the resolved colors and font stacks for browser attribution and result labels; install the public Map UI helper to apply them to HTML controls.

Operation id
readCompiledStyle
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes

Usage Load a preset or saved profile into a MapLibre-compatible client.

ParameterLocationTypeConstraintsDescription
id *pathstring—Preset id or profile slug.

Operation-specific errors NOT_FOUND

Read the semantic manifest behind a style

GET /styles/{id}/manifest.json

Returns the semantic manifest used to compile a style.

Operation id
readStyleManifest
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes

Usage Retrieve an existing style's editable semantic properties.

ParameterLocationTypeConstraintsDescription
id *pathstring—Preset id or profile slug.

Operation-specific errors NOT_FOUND

Compile a style manifest

POST /styles/compile

Compiles a semantic manifest into a validated MapLibre style, returning a bundle hash and an optional diff against a base preset.

Operation id
compileStyle
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
Yes
Agent tool
geo_style operation preview

Usage Validate and preview style changes before saving a profile.

Considerations Submit a semantic manifest or preset patch; raw MapLibre JSON is not accepted.

ParameterLocationTypeConstraintsDescription
manifestbodyobject—A complete style manifest.
basebodystringone of light, dark, operations, solarized-light, solarized-dark, mapsourcePreset to patch instead, which adds a diff to the response.
patchbodyobject—Semantic overrides merged onto the base.
includebodystringone of style, summarysummary omits the compiled style.

Operation-specific errors STYLE_INVALID

Save a basemap profile

POST /styles/profiles

Saves a semantic manifest as a named profile associated with the authenticated key.

Operation id
saveStyleProfile
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
Yes
Agent tool
geo_style operation save

Usage Store a style for subsequent retrieval, editing, and rendering.

ParameterLocationTypeConstraintsDescription
name *bodystringmax length 120Human name.
slugbodystringmax length 48Stable URL id. Defaults to a slug of the name.
descriptionbodystringmax length 400Profile description.
manifestbodyobject—The manifest to save.
basebodystring—Preset to patch instead.
patchbodyobject—Semantic overrides.

Operation-specific errors STYLE_INVALID, PROFILE_LIMIT_REACHED

Generate a style from a text description

POST /styles/intent

Converts text into a semantic manifest and compiled style. Returns matched vocabulary, applied changes, the bundle hash, and validation results.

Operation id
generateStyleFromIntent
Access
Subscription key
Quota units
1.00
Latency class
fast
Deterministic
Yes
Agent tool
geo_style operation intent

Usage Create an initial basemap style from a description, then review the proposed manifest.

Considerations Use compileStyle for an existing manifest or explicit property changes.

ParameterLocationTypeConstraintsDescription
intent *bodystringmin length 3, max length 2000Text description of the desired basemap style.
basebodystringone of light, dark, operations, solarized-light, solarized-dark, mapsourcePreset to build on. Defaults to one the intent implies.
savebodybooleandefault falseSave the result as a profile revision on this key.
namebodystringmax length 120Profile name when saving.
slugbodystringmax length 48Profile slug when saving.
includebodystringone of stylestyle also returns the compiled MapLibre document.

Operation-specific errors STYLE_INVALID, PROFILE_LIMIT_REACHED

Read the semantic style JSON Schema

GET /styles/schema.json

Returns the JSON Schema for semantic manifests, including schema and compiler versions.

Operation id
readStyleSchema
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation schema

Usage Validate manifests locally or generate editor controls from the schema.

Considerations Use /api/basemap/contract for layer definitions and supported properties.

No parameters.

List a profile's immutable revisions

GET /styles/{id}/revisions

Lists saved profile revisions, newest first, with manifest hashes and revision-specific style URLs.

Operation id
listStyleRevisions
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation revisions

Usage Select a fixed revision for rendering or retrieve an earlier manifest.

ParameterLocationTypeConstraintsDescription
id *pathstring—Profile id or slug.

Operation-specific errors NOT_FOUND

Compare two revisions at the semantic level

GET /styles/{id}/diff

Compares profile revisions and returns changed semantic properties with previous and updated values.

Operation id
diffStyleRevisions
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation diff

Usage Review property changes before applying a style revision.

Considerations This endpoint compares semantic manifests, not compiled MapLibre documents.

ParameterLocationTypeConstraintsDescription
id *pathstring—Profile id or slug.
fromqueryinteger—Earlier revision. Defaults to the one before `to`.
toqueryinteger—Later revision. Defaults to the current one.

Operation-specific errors NOT_FOUND

Delete a saved basemap profile

DELETE /styles/profiles/{id}

Remove a profile from this key.

Operation id
deleteStyleProfile
Access
Subscription key
Quota units
1.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation delete

Usage Remove an unused profile or release capacity for a new profile.

ParameterLocationTypeConstraintsDescription
id *pathstring—Profile id or slug.

Operation-specific errors NOT_FOUND

List label fontstacks

GET /glyphs

Lists hosted fontstacks and fonts uploaded with the authenticated key.

Operation id
listFontstacks
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_style operation fonts

Usage Check available font names before configuring label typography.

No parameters.

Upload a font

POST /fonts

Convert a TTF, OTF or WOFF to SDF glyph ranges and report the Unicode blocks it covers.

Operation id
uploadFont
Access
Subscription key
Quota units
1.00
Latency class
batch
Deterministic
Yes
Agent tool
geo_style operation upload_font

Usage Add a custom label font and inspect its supported Unicode ranges.

ParameterLocationTypeConstraintsDescription
name *bodystringmax length 64The stack name a style will refer to.
data *bodystring—The font file, base64-encoded.
licensebodystringmax length 200Recorded with the font; not verified.

Operation-specific errors PROFILE_LIMIT_REACHED

Delete an uploaded font

DELETE /fonts/{name}

Remove a font from this key.

Operation id
deleteFont
Access
Subscription key
Quota units
1.00
Latency class
instant
Deterministic
Yes

Usage Remove an unused custom font and release its storage allocation.

ParameterLocationTypeConstraintsDescription
name *pathstring—The font name.

Operation-specific errors NOT_FOUND

Tiles, glyphs and rendering

Render a static map

POST /render/static

Renders a viewport and overlays as a PNG. Dark and light styles use raster tiles; other style names use vector rendering. The x-mapsource-render header includes style, dataset, result-handle, render-engine, and request metadata.

Operation id
renderStaticMap
Access
Subscription key
Quota units
1.00
Latency class
batch
Deterministic
Yes
Agent tool
geo_render operation static
Accepts handles
feature_collection, route, isochrone, analysis, place_collection

Usage Generate static maps for reports, previews, and geographic visualizations.

Considerations Use data endpoints for feature attributes or editable geometry.

ParameterLocationTypeConstraintsDescription
latbodynumbermin -85.05112878, max 85.05112878Viewport centre latitude.
lonbodynumbermin -180, max 180Viewport centre longitude.
zoombodynumbermin 0, max 19Zoom level.
bboxbodyarray—[west, south, east, north]; fits the viewport to it.
widthbodyintegermin 64, max 2048, default 800Image width.
heightbodyintegermin 64, max 2048, default 600Image height.
stylebodystringdefault "dark"dark or light composite raster; any other name is a preset or saved profile rendered as vector.
styleRevisionbodyintegermin 1Saved profile revision to use for rendering.
bearingbodynumbermin -180, max 180, default 0Vector renders only.
pitchbodynumbermin 0, max 60, default 0Vector renders only.
geojsonbodyobject—GeoJSON to draw, or a result handle.
markersbodyarraymax 50Up to fifty markers with optional labels.

Operation-specific errors HANDLE_EXPIRED, NOT_FOUND

Read a vector tile

GET /tiles/vector/{z}/{x}/{y}.pbf

OpenMapTiles-schema Mapbox Vector Tile.

Operation id
getVectorTile
Access
Subscription key
Quota units
0.05
Latency class
instant
Deterministic
Yes

Usage Render or inspect vector features in a map client. Configure source zoom using nativeMaxZoom.

ParameterLocationTypeConstraintsDescription
z *pathintegermin 0, max 20Zoom.
x *pathinteger—Tile column.
y *pathinteger—Tile row.

Read a raster basemap tile

GET /tiles/{style}/{z}/{x}/{y}.png

A rendered 256-pixel CARTO basemap tile.

Operation id
getRasterTile
Access
Subscription key
Quota units
0.05
Latency class
instant
Deterministic
Yes

Usage Display a pre-rendered dark or light basemap without style compilation.

ParameterLocationTypeConstraintsDescription
style *pathstringone of dark, lightdark or light.
z *pathintegermin 0, max 20Zoom.
x *pathinteger—Tile column.
y *pathinteger—Tile row.

Render a custom style as a raster tile

GET /tiles/styles/{style}/{z}/{x}/{y}.png

Renders a 256-pixel XYZ PNG from any shipped vector preset or an owned saved style profile. A profile can be pinned to a revision.

Operation id
renderStyleTile
Access
Subscription key
Quota units
0.10
Latency class
batch
Deterministic
Yes

Usage Display a Mapsource vector preset or fully customized saved style in a raster-only map client.

ParameterLocationTypeConstraintsDescription
style *pathstring—Preset ID or an owned profile slug.
z *pathintegermin 0, max 20Zoom.
x *pathinteger—Tile column.
y *pathinteger—Tile row.
revisionqueryintegermin 1Optional saved profile revision.

Operation-specific errors NOT_FOUND, UPSTREAM_UNAVAILABLE

Read an SDF glyph range

GET /glyphs/{fontstack}/{range}.pbf

Returns SDF glyphs for a fontstack. For multi-face stacks, the first face containing the requested range is used.

Operation id
readGlyphRange
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes

Usage Supply label glyphs to a MapLibre client rendering a compiled style.

ParameterLocationTypeConstraintsDescription
fontstack *pathstring—One face, or several separated by commas.
range *pathstring—A 256-codepoint range such as 0-255.

Operation-specific errors NOT_FOUND

Service state and metrics

Read per-subsystem availability and dataset freshness

GET /status

Reports each subsystem independently, the OSM dataset timestamp, minute-diff replication state and lag in seconds, whether machine payment can settle, the deployed Overpass engine version, and for every dataset the engine build serving it and the data snapshot it answers from. overpass.displayVersion is read from the running engine binary (for example "0.7.62.11 87bfad18") and changes automatically when production is upgraded.

Operation id
readServiceStatus
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
No
Agent tool
geo_data operation status

Usage Monitor service availability, dataset freshness, payment settlement readiness, and the engine and dataset versions behind each answer.

Considerations Poll at an appropriate interval; status checks are not required before every API call.

No parameters.

Read request rates, latencies and data freshness

GET /metrics

Request rates, success rates, p50/p95/p99 latency, failure counters, dataset ages, and handle usage for the selected time window.

Operation id
readMetrics
Access
Subscription key
Quota units
0.00
Latency class
fast
Deterministic
No
Agent tool
geo_data operation metrics

Usage Monitor performance and identify slow operations or stale datasets.

Considerations Use /api/status for current service availability.

ParameterLocationTypeConstraintsDescription
windowqueryintegermin 1, max 1440, default 60Minutes to measure over.

Discover basemap tile sources

GET /tiles/catalog

Tile templates, source and layer zoom ranges, tileset versions, snapshot dates, and attribution. nativeMaxZoom identifies the highest generated tile resolution.

Operation id
readBasemapCatalog
Access
Public
Quota units
0.00
Latency class
instant
Deterministic
Yes
Agent tool
geo_data operation basemaps

Usage Configure tile sources and supported zoom levels before initializing a map.

No parameters.

Organizations, projects and credentials

Read account and credential details

GET /account

Returns the organization, projects, and authenticated credential's scopes, project, and identity type.

Operation id
readAccount
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Inspect account membership, project attribution, and credential permissions.

No parameters.

Create a project

POST /account/projects

Creates a project for organizing credentials, usage, and budgets by workload or environment.

Operation id
createProject
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Separate development, staging, production, or other account workloads.

ParameterLocationTypeConstraintsDescription
name *bodystringmax length 120Human name.
slugbodystringmax length 48Stable id. Defaults to a slug of the name.
environmentbodystringone of development, staging, production, default "production"Which environment this project is.

Operation-specific errors NOT_FOUND

Archive a project

DELETE /account/projects/{project}

Archives a project while preserving its usage history.

Operation id
archiveProject
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Deactivate a project that is no longer in use.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.

Operation-specific errors NOT_FOUND

List a project's service accounts

GET /account/projects/{project}/service-accounts

Lists service-account identities associated with a project.

Operation id
listServiceAccounts
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Review service accounts configured for a project's automated workloads.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.

Operation-specific errors NOT_FOUND

Create a service account

POST /account/projects/{project}/service-accounts

Creates an identity for automated workloads with independently managed credentials.

Operation id
createServiceAccount
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Assign a dedicated identity to an application, integration, or agent.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.
name *bodystringmax length 120Service account name.
descriptionbodystringmax length 400Service account description.

Operation-specific errors NOT_FOUND

Disable a service account

DELETE /account/projects/{project}/service-accounts/{id}

Disables a service account and revokes its credentials in one transaction.

Operation id
disableServiceAccount
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Revoke access for a workload or compromised service account.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.
id *pathstring—Service account id.

Operation-specific errors NOT_FOUND

List a project's credentials

GET /account/projects/{project}/keys

Lists scopes, labels, identities, expiry, and revocation status. Secret key values are excluded.

Operation id
listProjectKeys
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Review credentials and access permissions for a project.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.

Operation-specific errors NOT_FOUND

Issue a scoped credential

POST /account/projects/{project}/keys

Issues a scoped API key with an optional service-account association and expiry. The secret is returned once.

Operation id
issueProjectKey
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Create a credential with permissions for a specific workload.

Considerations Service-account credentials cannot issue additional credentials.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.
labelbodystringmax length 120Credential label.
scopesbodyarray—Capability categories this key may use, or * for all. Defaults to *.
serviceAccountIdbodystring—Bind the key to an agent identity.
expiresInDaysbodyintegermin 1, max 3650Expire the key automatically.

Operation-specific errors NOT_FOUND

Revoke a credential

DELETE /account/projects/{project}/keys/{id}

Immediately revokes a credential while retaining usage records.

Operation id
revokeProjectKey
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Revoke a compromised credential or remove access for a retired workload.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.
id *pathstring—Key id, not the secret.

Operation-specific errors NOT_FOUND

Set a project usage budget

PUT /account/projects/{project}/budget

Configures request budgets. A soft limit adds a warning header; a hard limit rejects requests with BUDGET_EXCEEDED.

Operation id
setProjectBudget
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Set project usage thresholds before automated or high-volume work.

ParameterLocationTypeConstraintsDescription
project *pathstring—Project id or slug.
periodbodystringone of month, day, default "month"Window the budget counts over.
softRequestsbodyintegermin 0Warn past this many accepted requests. null removes it.
hardRequestsbodyintegermin 0Refuse past this many. null removes it.

Operation-specific errors NOT_FOUND

Read usage attributed by project

GET /account/usage

Returns accepted requests, response bytes, and budgets for each project in the current period.

Operation id
readAccountUsage
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Monitor project-level consumption and allocate usage across workloads.

No parameters.

Read the audit trail

GET /account/audit

Lists organization changes to credentials, projects, service accounts, and budgets in reverse chronological order, with actor information.

Operation id
readAccountAudit
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No

Usage Review account changes and the identity responsible for each action.

No parameters.

Read usage for this key

GET /usage

Returns accepted-request totals, plan limits, and the quota reset time for the authenticated key.

Operation id
readUsage
Access
Subscription key
Quota units
0.00
Latency class
instant
Deterministic
No
Agent tool
geo_data operation usage

Usage Monitor consumption and remaining allowance before additional requests.

No parameters.

Questions about this guide? .