Overview
The gravitational field of the earth is non-uniform. The <a href='https://en.wikipedia.org/wiki/Geoid'>geoid</a> is the shape the ocean surface would take if only gravity and the rotation of the Earth were considered. The geoid is the surface that defines zero elevation.<br><br> The geoid height is the difference between an ideal reference ellipsoid and the geoid.<br><br> The gravity anomaly is the difference between the acceleration due to gravity on the Earth's surface and the value calculated assuming the reference ellipsoid.<br><br> The official Earth Gravitational Model <a href=https://en.wikipedia.org/wiki/Earth_Gravitational_Model#EGM2008/>EGM2008</a> was developed and released to the public by the National Geospatial-Intelligence Agency (NGA).<br><br> Our EGM2008 API provides on-demand access to the EGM2008 model, as implemented by the open-source GeographicLib <a href=https://geographiclib.sourceforge.io/html/gravity.html>Gravity</a> library.<br><br> API requests must contain a key "API-Key" in the header (see code samples). Obtain a key from <a href='https://developer.amentum.io'>here</a>. <br><br> Amentum Pty Ltd is not responsible nor liable for any loss or damage of any sort incurred as a result of using the API. <br><br> Copyright <a href='https://amentum.space'>Amentum Pty Ltd</a> 2021.
Gravity API is a geocoding API from amentum.space. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 2 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Geocoding
- Version
- 1.1.1
- Endpoints
- 2
- OpenAPI
- Specification ↗
- Spec updated
- 2021-07-05
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /egm2008/geoid_height | Calculate the geoid height |
| GET | /egm2008/gravity_anomaly | Calculate gravity anomaly values |
Questions
Does the Gravity API API need an API key?
No. The Gravity API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Gravity API API support HTTPS?
Yes, the Gravity API API is served over HTTPS.
How many endpoints does the Gravity API API have?
Its OpenAPI description lists 2 endpoints in version 1.1.1. All of them are shown on this page.
What are alternatives to the Gravity API API?
Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.
Similar geocoding APIs
Compare alternatives →Bing Maps
GeocodingCreate/customize digital maps based on Bing Maps data
ip-api
GeocodingFind location with IP address or domain
OpenStreetMap
GeocodingNavigation, geolocation and geographical data
GeographQL
GeocodingA Country, State, and City GraphQL API
IP Address Details
GeocodingFind geolocation with ip address
ipapi.co
GeocodingFind IP address location information
Listed from APIs.guru (CC0).