Race sports
Series
GET/v2/seriesAll plans
The race sports’ directory: the series of one category — Nascar → NASCAR Cup Series, Truck Series, Xfinity; Formula 1 → Formula 1; cycling’s International → Cycling Men, Cycling Women.
A category without series (motorsport’s International, any fixture-sport category) is an empty list. Pass a series id to /v2/series/{id}/seasons, /races, /standings.
Parameters
category
a category id from /v2/categories?sport=motorsport or ?sport=cycling
Response
- data
SeriesRef[]- meta
- category, count
- errors
- 400 bad_request — missing or invalid category404 not_found — a category id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/series?category=…"
Example
{ "data": [ { "id": 696772, "name": "NASCAR Cup Series", "slug": "nascar-cup-series", "sport": "motorsport" }, { "id": 812301, "name": "NASCAR Craftsman Truck Series", "slug": "nascar-camping-world", "sport": "motorsport" }, … ], "meta": { "category": 696300, "count": 3 } }