Skip to content
datasportsAPI

FixturesWeather

Documentation

/

Type to filter the docs by title or path.

FixturesEndpoint 27 of 116

Weather

GET

/v2/fixtures/{id}/weather

Plan
All plans
Auth
Bearer dsa_live_…
Parameters
1 required · 0 optional
Returns
WeatherObservation[]

Baseball only: ballpark weather in metric units (°C, %, km/h), with the observed conditions listed before the forecast.

Worth knowing

For any other sport the response is 200 with an empty array. forecast is true on forecast rows and false on observed ones; condition is one of a fixed list (clear, cloudy, fog, rain, snow, storm, other); the source’s own wording stays in description.

01Parameters

  • idpathRequired

    fixture id issued by DataSportsAPI, a positive integer

02Request

The same call from the command line and each SDK. The SDK lines assume a client created with your key; left out, it is read from DATASPORTSAPI_API_KEY. Installing a client: SDKs & CLI.

curl -H "Authorization: Bearer dsa_live_…" \
    "https://api.datasportsapi.com/v2/fixtures/{id}/weather"

03Response

The top-level keys of the JSON body. Each object links to its full shape in the data reference.

data
WeatherObservation[]
meta
count
Example response
{ "data": [ { "at": "2026-10-24T01:02:50.000Z", "forecast": false, "condition": "cloudy", "description": "Overcast",
    "temperatureC": 14.44, "dewPointC": 7.22, "humidityPercent": 60, "cloudCoverPercent": 99,
    "windSpeedKmh": 8.05, "windDirection": "SE" }, { "forecast": true, … } ],
  "meta": { "count": 2 } }

04Errors

  • 403history_not_in_plan

    the fixture predates the history your plan covers

Any key can also meet401unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code