Reference
List collection windows
List completed historical collection windows and source editions by source, newest first. Empty windows are included. A date range gives the observed bounds and can contain gaps.
GET
/v1/competitions/{id}/history1 creditParameters
| Name | Location | Type | Description |
|---|---|---|---|
id * | path | string | Competition slug or ID, such as nba or cmp_nba. |
source | query | string | Restrict windows to one source, such as nba or wikipedia. |
limit | query | integer | Maximum number of records in a page. |
offset | query | integer | Number of records to skip. Use next_offset from the previous page. |
Example response
JSON · illustrative fixture
{
"data": [
{
"source": "nba",
"first_day": "2026-01-01",
"last_day": "2026-01-31",
"state": "collected",
"event_count": 214,
"kind": "window",
"edition": null,
"source_url": null,
"updated_at": "2026-02-01T04:10:00Z"
},
{
"source": "nba",
"first_day": "2025-12-01",
"last_day": "2025-12-31",
"state": "collected",
"event_count": 221,
"kind": "window",
"edition": null,
"source_url": null,
"updated_at": "2026-01-02T04:12:00Z"
}
],
"meta": {
"limit": 50,
"offset": 0,
"has_more": false,
"next_offset": null
}
}Try this endpoint
curl --request GET "https://api.precisedata.io/v1/competitions/nba/history" \
--header "Authorization: Bearer $PRECISEDATA_KEY"Error responses
400Invalid request parameters401Missing, unknown or disabled API key402Credit limit reached404Record unavailable409Identifier matches more than one record429Request limit reached500Service error