osrmroute-com Coordinate Conversion API
The Coordinate Conversion API API from osrmroute-com — 1 operation(s) for coordinate conversion api.
The Coordinate Conversion API API from osrmroute-com — 1 operation(s) for coordinate conversion api.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/osrmroute-com:osrmroute-com-coordinate-conversion-api-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OSRMRoute Coordinate Conversion API
version: 1.1.0
description: 'OSRMRoute — Maps, Routing, Truck Routing, Search, Road Data, Studio and integration APIs. Use `Authorization: Bearer ` unless an operation documents another flow. Legacy APIs also accept the key query parameter; New geospatial APIs, MCP and private map delivery require Bearer authentication. Mobile challenge/token endpoints use device attestation instead. Coordinates and units are documented per operation: GeoJSON uses longitude,latitude; some legacy and background-job inputs use latitude,longitude. Examples are illustrative, not guaranteed current results. Guides · Mobile Access · MCP · Postman collection.'
contact:
name: OSRMRoute Support
url: https://osrmroute.com/contact
email: support@osrmroute.com
termsOfService: https://osrmroute.com/terms
servers:
- url: https://osrmroute.com
security:
- bearerAuth: []
- apiKeyQuery: []
tags:
- name: Coordinate Conversion API
paths:
/api/1/convert:
get:
tags:
- Coordinate Conversion API
summary: Coordinate Conversion API
description: 'The Coordinate Conversion API converts latitude/longitude into UTM and MGRS grid references, and back from MGRS to a coordinate. Useful for surveying, GIS, logistics and defence workflows that speak grid systems. Pure math, global coverage.
Supply point=lat,lng, both lat and lon, or mgrs for reverse conversion. No single query parameter is always required. A nonempty mgrs takes precedence over coordinate inputs. Reverse conversion returns the centre of the MGRS cell and omits utm.'
operationId: get_coordinate_conversion
parameters:
- name: point
in: query
required: false
description: Coordinate as lat,lng to convert to UTM/MGRS.
schema:
type: string
example: 40.3755,49.8516
- name: mgrs
in: query
required: false
description: MGRS string to reverse-convert into a coordinate.
schema:
type: string
- name: lat
in: query
required: false
schema:
type: number
description: Latitude in degrees; supply together with lon when point and mgrs are absent.
- name: lon
in: query
required: false
schema:
type: number
description: Longitude in degrees; supply together with lat when point and mgrs are absent.
responses:
'200':
description: Successful response
content:
application/json:
examples:
success:
summary: Illustrative abbreviated response; values vary with input and map data.
value:
point:
lat: 40.3755
lng: 49.8516
mgrs: 39TVE0251070068
utm:
zone: 39
band: T
easting: 402511
northing: 4470068
hemisphere: N
reverse:
summary: MGRS cell centre for mgrs=39TVE0251070068; no point input required.
value:
mgrs: 39TVE0251070068
point:
lat: 40.37550134596607
lng: 49.851595067884034
schema:
type: object
required:
- point
- mgrs
properties:
point:
type: object
required:
- lat
- lng
properties:
lat:
type: number
lng:
type: number
mgrs:
type: string
utm:
type: object
description: Present only for forward coordinate conversion.
required:
- zone
- band
- easting
- northing
- hemisphere
properties:
zone:
type: integer
band:
type: string
easting:
type: integer
description: Metres, rounded to the nearest integer.
northing:
type: integer
description: Metres, rounded to the nearest integer.
hemisphere:
type: string
enum:
- N
- S
'400':
description: Error Codes (HTTP 400)
content:
application/json:
examples:
invalid:
value:
error: Provide point=lat,lng (or lat= & lon=), or mgrs= to reverse-convert.
'401':
description: Error Codes (HTTP 401)
content:
application/json:
examples:
auth:
value:
error: Invalid API Key
'402':
description: Error Codes (HTTP 402)
content:
application/json:
examples:
balance:
value:
error: 'Insufficient balance: this request costs 1 credit and your balance is 0 credits. Top up your account to continue.'
'403':
description: Error Codes (HTTP 403)
content:
application/json:
examples:
plan:
value:
error: This API Key is disabled
'429':
description: Error Codes (HTTP 429)
content:
application/json:
examples:
rate:
value:
error: 'Rate limit exceeded: more than 60 requests per minute. Please slow down.'
'500':
description: Error Codes (HTTP 500)
content:
application/json:
examples:
upstream:
value:
error: Internal Server Error
x-credit-cost: 1 credit
x-request-limits:
- point=lat,lng OR (lat=... AND lon=...) OR mgrs=...
components:
securitySchemes:
apiKeyQuery:
type: apiKey
in: query
name: key
bearerAuth:
type: http
scheme: bearer