Gravity API
The gravitational field of the earth is non-uniform. The geoid is the shape the ocean surface would take if only gravity and the rotation of the Earth were…
Maps & location#openapi#location#open-data
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The gravitational field of the earth is non-uniform. The geoid 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.
The geoid height is the difference between an ideal reference ellipsoid and the geoid.
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.
The official Earth Gravitational Model EGM2008 was developed and released to the public by the National Geospatial-Intelligence Agency (NGA).
Our EGM2008 API provides on-demand access to the EGM2008 model, as implemented by the open-source GeographicLib Gravity library.
API requests must contain a key "API-Key" in the header (see code samples). Obtain a key from here .
Amentum Pty Ltd is not responsible nor liable for any loss or damage of any sort incurred as a result of using the API.
Copyright Amentum Pty Ltd 2021.
Endpoints 2
egm2008
- GETCalculate the geoid height
/egm2008/geoid_height?latitude=-45&longitude=45for a given latitude / longitude. - GETCalculate gravity anomaly values
/egm2008/gravity_anomaly?latitude=-45&longitude=45for a given latitude / longitude.
API details
- Authentication
- None declared in the description
- Operations
- 2 operations on 2 pathsGET 2
- Main resources
- egm2008 2
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.1.1 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Gravity API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Gravity API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Calculate the geoid height ” (GET /egm2008/geoid_height?latitude=-45&longitude=45), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Gravity API?
The gravitational field of the earth is non-uniform. The geoid is the shape the ocean surface would take if only gravity and the rotation of the Earth were… It is listed under Maps & location and has 2 endpoints.
Who publishes the Gravity API?
It is listed from Amentum's public API description (an OpenAPI document), not published by Amentum on Swastik Codes. Anyone who controls amentum.space can claim the profile by adding a DNS TXT record.
How do I authenticate with the Gravity API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Gravity API have?
2 operations on 2 paths (2 GET). The largest groups are egm2008.
Is forking the Gravity API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.