v1
latestOpenAPI 3.0.02026-07-14106.0 KBCalculate magnetic declination, inclination, total field intensity, and grid variation
at specified conditions.
get/magnetic_field
Query parameters
altitudenumber required
Example:10
Geodetic Altitude 0 km to 600 km.
latitudenumber required
Example:80
Geodetic Latitude. -90 deg (S) to 90 deg (N).
longitudenumber required
Example:100
Geodetic Longitude. -180 deg (W) to 180 deg (E).
yearnumber required
Example:2020.5
Year as a decimal in the range 2015-2025 (2017.5 would be half way through 2017).
Response
Successful magnetic field intensity calculation
Example response
{
"declination": {
"units": "Deg",
"value": 34.144142150878906
},
"grid_variation": {
"units": -65.8558578491211,
"value": "Deg"
},
"inclination": {
"units": "Deg",
"value": 87.98262786865234
},
"total_intensity": {
"units": "nT",
"value": 58421.87109375
}
}