POST /api/v1/convert
The primary endpoint for programmatically converting coordinates between WGS84, UTM, MGRS, and DMS.
POST
https://www.coordinate-converter.com/api/v1/convert
Request Body
The request must be a JSON object with the following fields:
| Field | Type | Description |
|---|---|---|
from | String | Source format (latlong, utm, mgrs, dms) |
to | String | Target format |
coords | Array/String | The coordinate value(s) to convert |
Success Response (200 OK)
{
"status": "success",
"result": "40.7128 N, 74.0060 W",
"metadata": {
"datum": "WGS84",
"precision": "0.0000001"
}
}
Interactive Tester
Edit the payload below and click "Send Request".