Geomag API
The World Magnetic Model calculates the intensity and direction of the Earth's magnetic field on a specific date-time, geodetic altitude, latitude, and…
Maps & location#openapi#location
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 World Magnetic Model calculates the intensity and direction of the Earth's magnetic field on a specific date-time, geodetic altitude, latitude, and longitude. It is relied upon throughout the world for navigation, mineral exploration, atmospheric and space science, and is installed on billions of devices.
A comprehensive description of the World Magnetic Model, including its limitations, can be found here .
We provide a RESTful API to access the out-of-cycle World Magnetic Model (WMM2015v2) valid for years 2015.0 - 2020.0 and WMM2020 valid for years 2020.0 - 2025.0
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.
Help us improve the quality of our web APIs by completing our 2 minute survey here .
Copyright Amentum Pty Ltd 2021.
Endpoints 1
- GETCalculate magnetic declination, inclination, total field intensity, and grid variation
/magnetic_field?altitude=10&latitude=80&longitude=100&year=2020.5at specified conditions.
API details
- Authentication
- None declared in the description
- Operations
- 1 operation on 1 pathGET 1
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.3.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Geomag 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 Geomag 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 magnetic declination, inclination, total field intensity, and grid variation ” (GET /magnetic_field?altitude=10&latitude=80&longitude=100&year=2020.5), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Geomag API?
The World Magnetic Model calculates the intensity and direction of the Earth's magnetic field on a specific date-time, geodetic altitude, latitude, and… It is listed under Maps & location and has 1 endpoint.
Who publishes the Geomag 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 Geomag 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 Geomag API have?
1 operation on 1 path (1 GET).
Is forking the Geomag API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.