Get historical weather

Returns weather data for a past date.

get/api/v1/weather/historical

Request

  • Base URL: https://api.virga.dev
  • URL: https://api.virga.dev/api/v1/weather/historical
  • Auth: API key in header X-API-Key

Query parameters

latnumber required

Latitude (-90 to 90)

lonnumber required

Longitude (-180 to 180)

datestring required

Date as ISO string or Unix timestamp

Response

Historical weather data

timestampstring date-time

Example response

{
  "meta": {
    "source": "virga"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.