Geospatial
ECEF to lat/lon/height API
Converts Earth-Centered Earth-Fixed (ECEF) Cartesian X/Y/Z meters back to geodetic latitude, longitude and ellipsoidal height on WGS-84 using Bowring's closed-form method. Answers 'What lat/lon does this ECEF coordinate map to?', 'How do I invert 3D Cartesian back to GPS coordinates?'.
Price$0.06per request
MethodPOST
Route/v1/geo/ecef-to-geodetic
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
geogisecefgeodeticbowringinversewgs84xyzcoordinate-transform
API URL
Integration docshttps://x402.hexl.dev/v1/geo/ecef-to-geodeticExample request
{
"x": 3978675,
"y": -8875,
"z": 4968703
}Example response
{
"ecef": {
"x": 3978675,
"y": -8875,
"z": 4968703
},
"ellipsoid": "WGS-84",
"latitude": 51.50165,
"longitude": -0.127806,
"heightM": 289.154,
"interpretation": "ECEF -> geodetic: 51.50165, -0.127806 at 289.154 m ellipsoidal height (Bowring's closed-form method)."
}Input schema
{
"type": "object",
"required": [
"x",
"y",
"z"
],
"properties": {
"x": {
"type": "number",
"examples": [
3978675
]
},
"y": {
"type": "number",
"examples": [
-8875
]
},
"z": {
"type": "number",
"examples": [
4968703
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}