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 | lat and lon | ip: Location parameters.
  • X-token or key: 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:

  • slug
  • lat + lon
  • ip

Authentication is required for all methods: use X-token header or key query parameter.

Request Format

GET /v2/geomagnetic/by-days/?{location_query}
X-token: TOKEN
or
GET /v2/geomagnetic/by-days/?{location_query}&key=TOKEN
Query optionRequired paramsExample query string
By slugslug?slug=russia-moscow
By coordslat, lon?lat=55.7558&lon=37.6173
By IPip?ip=8.8.8.8

Minimal Examples

curl --location 'https://api.meteoflow.com/v2/geomagnetic/by-days/?slug=russia-moscow' \
--header 'X-token: TOKEN'
curl --location 'https://api.meteoflow.com/v2/geomagnetic/by-days/?lat=55.7558&lon=37.6173&key=TOKEN'
curl --location 'https://api.meteoflow.com/v2/geomagnetic/by-days/?ip=8.8.8.8' \
--header 'X-token: TOKEN'

Description of the Response Structure

FieldDescriptionFormat
timeForecast date and time in UTC (ISO 8601).String
value_maxMaximum geomagnetic index value for the day.Number