Geospatial
MGRS to lat/lon (inverse) API
Decodes a Military Grid Reference System (MGRS) string (zone, band, 100km square, digits) to geographic latitude/longitude on WGS-84, resolving the 100km square and northing band via the underlying UTM inverse. Answers 'What lat/lon is this MGRS grid reference?', 'How do I decode an MGRS coordinate to GPS?'.
Price$0.08per request
MethodPOST
Route/v1/geo/mgrs-to-latlon
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
geogismgrsinversegrid-referencemilitaryutmwgs84decode
API URL
Integration docshttps://x402.hexl.dev/v1/geo/mgrs-to-latlonExample request
{
"mgrs": "31UDQ5248211717"
}Example response
{
"mgrs": "31UDQ5248211717",
"zone": 31,
"band": "U",
"square": "DQ",
"utm": {
"zone": 31,
"easting": 452482,
"northing": 5411717
},
"latitude": 48.856598,
"longitude": 2.352193,
"interpretation": "MGRS 31UDQ5248211717 -> 48.856598, 2.352193 (decoded via UTM zone 31U)."
}Input schema
{
"type": "object",
"required": [
"mgrs"
],
"properties": {
"mgrs": {
"type": "string",
"examples": [
"31UDQ5248211717"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}