# MGRS to Decimal Lat/Lon Converter

> MGRS to Decimal Lat/Lon Converter is a paid API for AI agents from geospatial.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Converts an MGRS (Military Grid Reference System) grid reference string to decimal latitude/longitude (WGS84 south-west corner of the grid cell).

## Facts

- Endpoint: POST https://geospatial.openverbs.com/v1/from-mgrs
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mgrs-to-decimal-lat-lon-converter-38eff319
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rxLbc8SaXLHoOIKahPfva

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mgrs-to-decimal-lat-lon-converter-38eff319 -d '<json body>'
```

Example prompt: Convert the MGRS reference '18TWL8395907351' to decimal latitude and longitude on WGS84 for me.

## When to prefer this

Use this endpoint when you have an MGRS string and need decimal WGS84 lat/lon — particularly in military, defense, or survey contexts where data is expressed in MGRS. Prefer this over UTM-to-latlon when the source data is already in MGRS format, avoiding a manual UTM intermediate step.

## Known failure modes

- Malformed or invalid MGRS string returns HTTP 400
- MGRS string outside valid zone or band returns 400
- Empty or too-short input (under 3 characters) rejected with 400
- Unsupported MGRS precision levels may yield unexpected results

## How this service works

Convert an MGRS grid reference back to decimal lat/lon on WGS84 (the coordinate of the grid cell's south-west corner at the given precision). Whitespace is ignored; a malformed reference is a clean 400.

## Output

Returns the decimal latitude and longitude (WGS84) of the south-west corner of the MGRS grid cell at the specified precision. A malformed MGRS string returns a clean HTTP 400 error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "mgrs"
     ],
     "properties": {
      "mgrs": {
       "type": "string",
       "maxLength": 32,
       "minLength": 3,
       "description": "MGRS grid reference, e.g. '18TWL8395907351'."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mgrs-to-decimal-lat-lon-converter-38eff319/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geospatial.openverbs.com](https://www.zero.xyz/host/geospatial.openverbs.com/llms.txt)
