主要赔率
curl --request GET \
--url 'https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey='import requests
url = "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"fixtureId": "id1400003160574217",
"status": {
"live": false,
"statusId": 0,
"statusName": "Pre-Game"
},
"sport": {
"sportId": 14,
"sportName": "American Football"
},
"tournament": {
"tournamentId": 31,
"tournamentName": "NFL",
"categoryName": "USA"
},
"season": {
"seasonId": null,
"seasonName": null,
"seasonRound": null
},
"venue": {
"venueId": null,
"venueName": null,
"venueLocation": null
},
"startTime": 1766698200,
"trueStartTime": null,
"trueEndTime": null,
"participants": {
"participant1Id": 4423,
"participant1RotNr": null,
"participant1Name": "Minnesota Vikings",
"participant1ShortName": "Vikings",
"participant1Abbr": null,
"participant2Id": 4419,
"participant2RotNr": null,
"participant2Name": "Detroit Lions",
"participant2ShortName": "Lions",
"participant2Abbr": null
},
"scores": {},
"clock": {
"currentPeriod": null,
"currentTime": null,
"remainingTime": null,
"remainingTimeInPeriod": null,
"stopped": null
},
"expectedPeriods": 4,
"periodLength": 15,
"externalProviders": {
"betgeniusId": null,
"betradarId": 67432516,
"flashscoreId": "hzkPCh9e",
"mollybetId": "2026-01-10,21618,79446",
"oddinId": null,
"opticoddsId": "2026011039A14E46",
"pinnacleId": 1621898317,
"sofascoreId": null,
"lsportsId": null,
"txoddsId": null
},
"odds": {},
"bookmakers": {
"stake": {
"bookmaker": "stake",
"bookmakerFixtureId": "46173997-xx-yy",
"fixturePath": null,
"hasOdds": false,
"staleOdds": false,
"staleOddsResponseCode": null,
"suspended": false,
"participantsRotated": false,
"meta": null,
"updatedAt": "2026-01-05T05:16:44.746812+00:00"
}
}
}
]fixtures/odds
主要赔率
获取多个赛事的当前主要赔率。
查询模式:必须提供以下其一:
tournamentId(推荐)fixtureIds(快速路径)
如果提供 since,返回 changedAt >= since 的赔率更新。
GET
/
fixtures
/
odds
/
main
主要赔率
curl --request GET \
--url 'https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey='import requests
url = "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://v5.oddspapi.io/zh/fixtures/odds/main?apiKey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"fixtureId": "id1400003160574217",
"status": {
"live": false,
"statusId": 0,
"statusName": "Pre-Game"
},
"sport": {
"sportId": 14,
"sportName": "American Football"
},
"tournament": {
"tournamentId": 31,
"tournamentName": "NFL",
"categoryName": "USA"
},
"season": {
"seasonId": null,
"seasonName": null,
"seasonRound": null
},
"venue": {
"venueId": null,
"venueName": null,
"venueLocation": null
},
"startTime": 1766698200,
"trueStartTime": null,
"trueEndTime": null,
"participants": {
"participant1Id": 4423,
"participant1RotNr": null,
"participant1Name": "Minnesota Vikings",
"participant1ShortName": "Vikings",
"participant1Abbr": null,
"participant2Id": 4419,
"participant2RotNr": null,
"participant2Name": "Detroit Lions",
"participant2ShortName": "Lions",
"participant2Abbr": null
},
"scores": {},
"clock": {
"currentPeriod": null,
"currentTime": null,
"remainingTime": null,
"remainingTimeInPeriod": null,
"stopped": null
},
"expectedPeriods": 4,
"periodLength": 15,
"externalProviders": {
"betgeniusId": null,
"betradarId": 67432516,
"flashscoreId": "hzkPCh9e",
"mollybetId": "2026-01-10,21618,79446",
"oddinId": null,
"opticoddsId": "2026011039A14E46",
"pinnacleId": 1621898317,
"sofascoreId": null,
"lsportsId": null,
"txoddsId": null
},
"odds": {},
"bookmakers": {
"stake": {
"bookmaker": "stake",
"bookmakerFixtureId": "46173997-xx-yy",
"fixturePath": null,
"hasOdds": false,
"staleOdds": false,
"staleOddsResponseCode": null,
"suspended": false,
"participantsRotated": false,
"meta": null,
"updatedAt": "2026-01-05T05:16:44.746812+00:00"
}
}
}
]授权
Your API key (query-based auth for v5).
查询参数
Single tournamentId. Required if fixtureIds is not provided.
Comma/space-separated fixtureIds (fast path). Required if tournamentId is not provided.
Comma/space-separated bookmaker slugs (default: all).
changedAt >= since (ms). If provided, returns also inactive odds.
响应
Returns an array of fixtures (fixture meta + odds + bookmaker meta).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I