Geomagnetic
The Geomagnetic endpoint provides a daily geomagnetic activity forecast for a selected location. The response contains day-by-day values where each item includes:
time: Day timestamp in UTC.value_max: Maximum forecast geomagnetic index value for that day.
Request Parameters
slug|latandlon|ip: Location parameters.X-tokenorkey: Your API token passed in the request header or query string.days: Not supported for this endpoint. The service returns the predefined forecast range.
Search Methods
Use one location method per request:
sluglat+lonip
Authentication is required for all methods: use X-token header or key query parameter.
Request Format
| Query option | Required params | Example query string |
|---|---|---|
| By slug | slug | ?slug=russia-moscow |
| By coords | lat, lon | ?lat=55.7558&lon=37.6173 |
| By IP | ip | ?ip=8.8.8.8 |
Minimal Examples
Available slug values are listed in the Geography API section.
Description of the Response Structure
| Field | Description | Format |
|---|---|---|
time | Forecast date and time in UTC (ISO 8601). | String |
value_max | Maximum geomagnetic index value for the day. | Number |