Documentation menu
POST/geodata/validate
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, or premium for truck and ADR work. Published as unit_rules.default in /pricing.json. |
| Premium | When the body asks for truck routing: "costing": "truck", a top-level adr object or "hazmat": true |
What it does
Coordinate-reference-system sanity check.
An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: 1 call per request.
Call it
curl -fsS -X POST "https://api.mapmap.ai/geodata/validate" \
-H "Authorization: Bearer $MAPMAP_KEY" \
-H "Content-Type: application/json" \
-d '{"coordinates":[{"x":529000,"y":4555000}],"declared_crs":"EPSG:32610"}'Request body
application/json · ValidateGeodataRequest
A declared CRS and a sample of the dataset's own coordinates
| Field | Type | Required | Description |
|---|---|---|---|
| coordinates | GeodataCoordinate[] | yes | A sample of the dataset's raw coordinates. A few dozen is plenty: the check is about ranges and spans, not volume. |
| declared_crs | string | yes | The CRS the dataset claims, e.g. "EPSG:4326" or "EPSG:32610". |
Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"coordinates": [
{
"x": 529000,
"y": 4555000
}
],
"declared_crs": "EPSG:32610"
}Responses
| Field | Type | Required | Description |
|---|---|---|---|
| extent | GeodataExtent | yes | Observed extent of the sample, in the dataset's own units. |
| interpreted_as | string | yes | The CRS family the declaration was understood as. |
| problems | string[] | yes | Plain-language findings, most important first. Empty when consistent. |
| suggestions | string[] | yes | What the numbers look like when the declaration does not fit. |
| verdict | string | yes | consistent, suspect or impossible. |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"extent": {
"max_x": 0,
"max_y": 0,
"min_x": 0,
"min_y": 0
},
"interpreted_as": "UTM zone 10N",
"problems": [
"string"
],
"suggestions": [
"string"
],
"verdict": "impossible"
}application/problem+json · Problem
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
text/plain
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
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 post_validate