# Gravity API API

> 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

- Category: [Geocoding](https://www.openparable.com/apis/category/geocoding)
- Provider: amentum.space
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Documentation: https://amentum.space/
- OpenAPI description: https://api.apis.guru/v2/specs/amentum.space/gravity/1.1.1/openapi.json
- Version: 1.1.1
- Specification updated: 2021-07-05

## Endpoints

- `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

- [Bing Maps](https://www.openparable.com/apis/bing-maps): Create/customize digital maps based on Bing Maps data
- [ip-api](https://www.openparable.com/apis/ip): Find location with IP address or domain
- [OpenStreetMap](https://www.openparable.com/apis/openstreetmap): Navigation, geolocation and geographical data
- [GeographQL](https://www.openparable.com/apis/geographql): A Country, State, and City GraphQL API
- [IP Address Details](https://www.openparable.com/apis/ip-address-details): Find geolocation with ip address
- [ipapi.co](https://www.openparable.com/apis/ipapi-co): Find IP address location information
- [Mapbox](https://www.openparable.com/apis/mapbox): Create/customize beautiful digital maps
- [HERE Maps](https://www.openparable.com/apis/here-maps): Create/customize digital maps based on HERE Maps data
- [Kakao Maps](https://www.openparable.com/apis/kakao-maps): Kakao Maps provide multiple APIs for Korean maps
- [MapQuest](https://www.openparable.com/apis/mapquest): To access tools and resources to map the world
- [IP2Location](https://www.openparable.com/apis/ip2location): IP geolocation web service to get more than 55 parameters
- [Google Earth Engine](https://www.openparable.com/apis/google-earth-engine): A cloud-based platform for planetary-scale environmental data analysis

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/gravity (OpenParable). Cite the canonical URL above.
