Documentation menu
Boundaries, coordinates and time zones
GET/coordinates/transform
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Needs a full key; a browser (maps) key is refused. |
|---|---|
| Price | 1 call per request. Class: standard. Published as unit_rules.default in /pricing.json. |
What it does
GET /coordinates/transform?coords=x,y;x,y&s_srs=&t_srs=.
Call it
bash
curl -fsS -X GET "https://api.mapmap.ai/coordinates/transform?coords=…" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| coords | query | string | yes | Semicolon-separated x,y or x,y,z pairs in the source CRS, at most 50. For a geographic CRS, x is longitude and y is latitude |
| s_srs | query | string | no | Source CRS, EPSG:<code> or a bare code; defaults to EPSG:4326 |
| t_srs | query | string | no | Target CRS, EPSG:<code> or a bare code; defaults to EPSG:4326 |
Responses
200
{s_srs, t_srs, results: [{x, y, z?} | null]} in input order. An entry is null where the projection has no solution there (a pole projected into Mercator, a grid coordinate the inverse cannot solve): an honest "no answer", never a guess. Any z rides through unchanged: no vertical datum is applied| Field | Type | Required | Description |
|---|---|---|---|
| results | object[] | no | One { "x", "y" } per input coordinate, in input order (for
EPSG:4326, x is longitude and y latitude). |
| s_srs | string | no | The source system, e.g. EPSG:27700. |
| t_srs | string | no | The target system, e.g. EPSG:4326. |
Example: Recorded from the hosted gateway on 2026-11-05 with a test key: GET /coordinates/transform?coords=530000,180000&s_srs=EPSG:27700&t_srs=EPSG:4326; lists trimmed to their first items
json
{
"results": [
{
"x": -0.12835394047946933,
"y": 51.50399082763378
}
],
"s_srs": "EPSG:27700",
"t_srs": "EPSG:4326"
}400Malformed
coords, more than 50 pairs, or a CRS outside the supported table (the problem names the code and points at GET /coordinates/crs)application/problem+json · Problem
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
403The key may not call this: a browser key outside its scope (
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
429Quota or rate limit exceeded. Also: Per-key rate limit (
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
504The request did not finish within the gateway's request deadline (
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Boundaries, coordinates and time zones
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_transform