APIHub
Back to Explore

Gravity API

The Gravity API provides programmatic calculations of the Earth's geoid height and gravity anomaly for a given geographic latitude and longitude using the EGM2008 model. Both endpoints accept latitude (‑90 to 90°) and longitude (‑180 to 180°) as query parameters.

Geocoding
none
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

1541ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/egm2008/geoid_height

Calculate the geoid height

  • latitude (query, required) — Geographic latitude (-90 to 90 deg).
  • longitude (query, required) — Geographic longitude (-180 to 180 deg).
GET

/egm2008/gravity_anomaly

Calculate gravity anomaly values

  • latitude (query, required) — Geographic latitude (-90 to 90 deg).
  • longitude (query, required) — Geographic longitude (-180 to 180 deg).

2 endpoints auto-detected

curl -X GET \
  "https://amentum.space/egm2008/geoid_height"

amentum.space · HTTPS only