{"uid":"cap_e4dsTVi1wcYa3vj7X9ucc","slug":"decimal-lat-lon-to-mgrs-converter-e0212792","name":"Decimal Lat/Lon to MGRS Converter","description":"Convert decimal lat/lon to a Military Grid Reference System (MGRS) string on WGS84. Precision is the number of digits per axis (1–5; 5 = 1-metre resolution, default 5).","url":"https://geospatial.openverbs.com/v1/mgrs","method":"POST","headers":{},"bodySchema":{"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":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in decimal degrees."},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in decimal degrees."},"precision":{"type":"integer","maximum":5,"minimum":1,"description":"Digits per axis. Default 5 (1 m)."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0sru7rZ7rK7vkW4mAJ4RM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a decimal latitude/longitude coordinate to a Military Grid Reference System (MGRS) string on WGS84 with configurable precision.","exampleAgentPrompt":"Convert coordinates 34.0522° N, 118.2437° W to an MGRS string at full 5-digit precision.","exampleUseCases":[{"title":"Military field operations position reporting","prompt":"I need to report my current GPS position 51.5074, -0.1278 as an MGRS grid reference at 1-metre precision for my unit's operations log — can you convert that for me?"},{"title":"Drone waypoint encoding for defence software","prompt":"Our mission planning tool only accepts MGRS coordinates. Can you convert waypoint lat 36.7783, lon -119.4179 to MGRS at precision 4?"},{"title":"Search and rescue grid assignment","prompt":"We're coordinating a search-and-rescue and need to divide the area into MGRS cells. Convert lat 47.6062, lon -122.3321 to its MGRS grid reference so we can assign it to a team."}],"resultDescription":"Returns an MGRS string (e.g. '11SPC8913697262') representing the input decimal coordinate on the WGS84 datum. Precision 5 (default) gives 1-metre resolution; lower values yield coarser grid cells (10 m, 100 m, 1 km, 10 km).","failureModes":["Latitude out of range (< -90 or > 90) returns a validation error","Longitude out of range (< -180 or > 180) returns a validation error","Precision outside 1–5 returns a validation error","Coordinates at the poles (lat ±90) may produce undefined MGRS output as MGRS is not defined at the poles","Missing required lat or lon fields returns a 400 bad request","Payment failure or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to express a WGS84 decimal lat/lon as a standard MGRS grid reference — particularly for military, defence, search-and-rescue, or interoperability with mapping tools that require MGRS notation. Prefer this over UTM when the consumer expects the full MGRS zone-letter-square-easting-northing alphanumeric format. The configurable precision (1–5 digits per axis) makes it suitable for coarse area designation through to 1-metre field accuracy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:47:52.543Z","isFirstParty":false}