跳转到主要内容
GET
/
seasons
获取赛季
curl --request GET \
  --url 'https://v5.oddspapi.io/zh/seasons?apiKey='
[ { "seasonId": 119257, "tournamentId": 132, "sportId": 11, "seasonSlug": "nba-24-25", "seasonName": "NBA 24/25" }, { "seasonId": 131631, "tournamentId": 132, "sportId": 11, "seasonSlug": "nba-25-26", "seasonName": "NBA 25/26" } ]

Documentation Index

Fetch the complete documentation index at: https://docs.oddspapi.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

apiKey
string
query
必填

Your API key (query-based auth for v5).

查询参数

seasonIds
string | null

Comma- or space-separated season IDs.

tournamentId
integer | null

Tournament ID.

响应

Returns Season[]

seasonId
integer
必填
tournamentId
integer
必填
seasonName
string
必填
sportId
integer | null
seasonSlug
string | null