We refuse the EPSG codes we would be wrong about
GET /coordinates/transform reprojects up to 50 coordinates between reference systems in one call, and GET /coordinates/crs publishes the complete list of systems it will do that between. The list is short on purpose. Every entry states its own datum-shift error, including the entries that have none, and a code whose error we cannot state is refused by name rather than approximated.
Why is the supported list short?
Because most projected national grids are defined against a local datum, and the honest transformation between that datum and WGS 84 is a published grid file rather than a rotation. Accepting every EPSG code would mean being quietly wrong about most of them by metres, in a way that nothing in the response would reveal. A silent few-metre error is the worst kind: it survives testing, it looks plausible on a map, and it surfaces when somebody digs in the wrong place.
The table covers EPSG:4326 (WGS 84), 4258 (ETRS89), 4269 (NAD83), 4277 (OSGB36), 3857 (Web Mercator), 3035 (ETRS89-LAEA Europe), 2154 (Lambert-93), 2263 (NY Long Island, US survey feet), 3812 (Belgian Lambert 2008), 27700 (British National Grid), 28992 (Amersfoort / RD New), 31370 (Belgian Lambert 72), the ETRS89 UTM zones (25828 to 25838) and the WGS 84 UTM zones (32601 to 32660 north, 32701 to 32760 south). A code outside it is a 400 naming the code and pointing at GET /coordinates/crs.
What does a transform request look like?
Semicolon-separated pairs in the source system, with the source and target codes as query parameters. Both default to EPSG:4326, and both accept either EPSG:27700 or a bare 27700.
curl -fsS -H "Authorization: Bearer $MAPMAP_API_KEY" \
"https://api.mapmap.ai/coordinates/transform?coords=651409.903,313177.270;530000,180000&s_srs=EPSG:27700&t_srs=EPSG:4326"
{
"s_srs": "EPSG:27700",
"t_srs": "EPSG:4326",
"results": [
{ "x": 1.7160520, "y": 52.6579786 },
{ "x": -0.1283539, "y": 51.5039908 }
]
}
Results come back in input order. A third component is allowed (x,y,z) and rides through untouched: no vertical datum is applied, so a height that arrives in one frame leaves in the same frame. Where the projection has no solution for a coordinate, a pole projected into Mercator for instance, that entry is null rather than a fabricated number.
Axis order is always x, y. For a geographic system that means longitude then latitude, whatever axis order the EPSG registry defines for the code. Per-code axis order is a well known source of silently swapped coordinates, and an API that switched convention halfway through its own response would be the worst of both worlds.
What does the accuracy field tell me?
Which of three cases your transformation falls into, in decreasing order of comfort.
| Entries | Datum shift | What to expect |
|---|---|---|
4326, 3857, the WGS 84 UTM zones | None | Projection arithmetic only. Nothing fitted, nothing to be wrong about beyond floating point. |
ETRS89-based: 4258, 3035, 2154, 3812, 25828 to 25838 | Zero Helmert | ETRS89 is realised as coincident with WGS 84. The frames have diverged by roughly 0.5 m through plate motion since 1989. |
27700, 28992, 31370, and NAD83 (4269, 2263) | Seven-parameter Helmert | Metre-level. |
For EPSG:27700, British National Grid, the transformation is a seven-parameter Helmert and it is accurate to a few metres, not to sub-metre. Ordnance Survey's definitive transformation is OSTN15, a grid shift file, and it is not applied here. Nothing this endpoint returns for EPSG:27700 should be read as sub-metre, and if your work needs OSTN15 accuracy this endpoint is the wrong tool. EPSG:28992 is sub-metre over the Netherlands but likewise not exact, because the definitive transformation there is RDNAPTRANS, also a grid correction. NAD83 is realised as coincident with WGS 84, which is what PROJ's +datum=NAD83 does, while the two frames actually differ by one to two metres across North America.
Every entry also returns the proj4 definition used, so any number this endpoint produces can be reproduced in any other PROJ-based tool. That is the point of publishing it: you should be able to check us rather than trust us.
What is exact, then?
The projection itself. EPSG:27700 and EPSG:4277 share the OSGB36 datum, so converting between those two applies no datum shift at all and is transverse Mercator arithmetic alone. That pair reproduces Ordnance Survey's own worked example, in Annex C of A Guide to Coordinate Systems in Great Britain, to well under a millimetre in both directions: OSGB36 52° 39' 27.2531" N, 1° 43' 04.5177" E is easting 651409.903, northing 313177.270. If you are checking this endpoint against published OS figures, that is the pair to check, because any other pair is measuring the Helmert parameters rather than the projection.
You can read the whole table, or filter it, with a substring query over the code and the name:
curl -fsS -H "Authorization: Bearer $MAPMAP_API_KEY" \
"https://api.mapmap.ai/coordinates/crs?q=27700"
Each result carries code, name, kind, unit, axes, accuracy and proj4.
What it does not do
No vertical datums. A z value passes through unchanged. Orthometric height to ellipsoidal height is a separate problem with its own geoid model, and we would rather not do it than do it silently.
No grid shift files. OSTN15 and RDNAPTRANS are not applied, which is exactly why the accuracy field exists.
Fifty coordinates per call, and more is a 400. There is nothing to gain from a longer call: the endpoint bills one standard unit per request whatever it carries, so splitting 100 coordinates into two calls costs two units, which is what two calls of five would cost too.
It transforms, it does not validate. Asking whether a dataset's declared system is plausible in the first place is POST /geodata/validate, which reasons about the ranges, spans and signs a system family implies and never transforms anything. The two are counterparts: one asks whether a declaration is credible, the other converts only where it can state how wrong it might be.
Try it
If you take council data in British National Grid and plot it on a web map, this is the call that sits between the two, and the accuracy field is the sentence to put in your own documentation. The full parameter table and the error semantics are in the coordinate transformation section of the API reference, the validation counterpart is in the analysis guide, and agents reach the same check as the validate_geodata tool on the MCP server.
