Geomag (WMM2025) & WGS84 Gravity Geodesy API
Published by @mdforge
· Verified
99.98% uptime
~4ms avg
AI Score 94/100
Pure-physics NOAA World Magnetic Model (WMM2025) magnetic declination/inclination/intensity and WGS84 Somigliana & Bouguer local gravity.
Try it live
https://api.indieapis.com/v1/geomag-gravity-geodesy/magnetic
Compute true-to-magnetic declination, inclination, horizontal & total intensity (nT) for any lat/lon/altitude.
Response
Press Run to call the live API
{
"ok": true
}
Overview
Pure-physics NOAA World Magnetic Model (WMM2025) magnetic declination/inclination/intensity and WGS84 Somigliana & Bouguer local gravity.
Self-hosted production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
2 endpoints
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /magnetic |
lat*, lon*, altitude_km
|
Compute true-to-magnetic declination, inclination, horizontal & total intensity (nT) for any lat/lon/altitude. |
| GET | /gravity |
lat*, lon*, elevation_m
|
Calculate local gravitational acceleration (m/s^2 & mGal) with elevation free-air and Bouguer corrections. |