历史赔率
curl --request GET \
--url 'https://v5.oddspapi.io/zh/fixtures/odds/historical?apiKey='import requests
url = "https://v5.oddspapi.io/zh/fixtures/odds/historical?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v5.oddspapi.io/zh/fixtures/odds/historical?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/historical?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/historical?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/historical?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://v5.oddspapi.io/zh/fixtures/odds/historical?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": "id1400003171515924",
"reissuedFixtureId": null,
"previousFixtureId": null,
"status": {
"live": false,
"statusId": 0,
"statusName": "Pre-Game"
},
"sport": {
"sportId": 14,
"sportName": "American Football"
},
"tournament": {
"tournamentId": 31,
"tournamentName": "NFL",
"categoryName": "USA"
},
"season": {
"seasonId": 139396,
"seasonName": "NFL 26/27",
"seasonRound": 6
},
"venue": {
"venueId": 15672,
"venueName": "Levi's Stadium",
"venueLocation": "Santa Clara, CA, USA"
},
"startTime": 1792455300,
"trueStartTime": null,
"trueEndTime": null,
"participants": {
"participant1Id": 4389,
"participant1RotNr": 141,
"participant1Name": "San Francisco 49ers",
"participant1ShortName": "San Francisco",
"participant1Abbr": "SF",
"participant2Id": 4432,
"participant2RotNr": 140,
"participant2Name": "Washington Commanders",
"participant2ShortName": "Washington",
"participant2Abbr": "WAS"
},
"scores": {},
"clock": {
"currentPeriod": null,
"currentTime": null,
"remainingTime": null,
"remainingTimeInPeriod": null,
"stopped": null,
"updatedAt": null
},
"expectedPeriods": 4,
"periodLength": 15,
"externalProviders": {
"betgeniusId": null,
"betradarId": 71515924,
"flashscoreId": "Op9YIhXq",
"mollybetId": "2026-10-20,21640,10050390",
"oddinId": null,
"opticoddsId": "20261020BC02533C",
"pinnacleId": 1637707533,
"sofascoreId": 16183736,
"lsportsId": 19776801,
"txoddsId": null
},
"odds": {
"pinnacle": {
"id1400003171515924:pinnacle:14100:0": {
"1792080445959": {
"bookmaker": "pinnacle",
"outcomeId": 14100,
"playerId": 0,
"price": 2.25,
"active": true,
"changedAt": 1792080445959,
"bookmakerChangedAt": 1792080445547,
"marketActive": true,
"mainLine": false,
"priceFractional": "5/4",
"priceAmerican": 125,
"marketId": 14100,
"limit": 3750
},
"1792089957678": {
"bookmaker": "pinnacle",
"outcomeId": 14100,
"playerId": 0,
"price": 2.24,
"active": true,
"changedAt": 1792089957678,
"bookmakerChangedAt": 1792089957266,
"marketActive": true,
"mainLine": false,
"priceFractional": "31/25",
"priceAmerican": 124,
"marketId": 14100,
"limit": 3750
}
},
"id1400003171515924:pinnacle:14101:0": {
"1792080445959": {
"bookmaker": "pinnacle",
"outcomeId": 14101,
"playerId": 0,
"price": 1.68,
"active": true,
"changedAt": 1792080445959,
"bookmakerChangedAt": 1792080445547,
"marketActive": true,
"mainLine": false,
"priceFractional": "17/25",
"priceAmerican": -147,
"marketId": 14100,
"limit": 5514
},
"1792089957678": {
"bookmaker": "pinnacle",
"outcomeId": 14101,
"playerId": 0,
"price": 1.684,
"active": true,
"changedAt": 1792089957678,
"bookmakerChangedAt": 1792089957266,
"marketActive": true,
"mainLine": false,
"priceFractional": "13/19",
"priceAmerican": -146,
"marketId": 14100,
"limit": 5482
}
}
}
},
"bookmakers": {
"pinnacle": {
"bookmaker": "pinnacle",
"bookmakerFixtureId": "1637707533",
"fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
"hasOdds": true,
"staleOdds": false,
"staleOddsResponseCode": 502,
"suspended": false,
"participantsRotated": false,
"meta": null,
"updatedAt": "2026-10-17T14:00:01.921523+00:00"
}
}
}fixtures/odds
历史赔率
获取赛事的历史赔率时间线。
查询模式:必需 fixtureId + (未提供 oddsIds 时必需 bookmaker)或 oddsIds。
每一行都在 changedAt 旁带有 bookmakerChangedAt(博彩公司自身的变更时间戳,epoch 毫秒);博彩公司未提供时为 null。
GET
/
fixtures
/
odds
/
historical
历史赔率
curl --request GET \
--url 'https://v5.oddspapi.io/zh/fixtures/odds/historical?apiKey='import requests
url = "https://v5.oddspapi.io/zh/fixtures/odds/historical?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v5.oddspapi.io/zh/fixtures/odds/historical?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/historical?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/historical?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/historical?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://v5.oddspapi.io/zh/fixtures/odds/historical?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": "id1400003171515924",
"reissuedFixtureId": null,
"previousFixtureId": null,
"status": {
"live": false,
"statusId": 0,
"statusName": "Pre-Game"
},
"sport": {
"sportId": 14,
"sportName": "American Football"
},
"tournament": {
"tournamentId": 31,
"tournamentName": "NFL",
"categoryName": "USA"
},
"season": {
"seasonId": 139396,
"seasonName": "NFL 26/27",
"seasonRound": 6
},
"venue": {
"venueId": 15672,
"venueName": "Levi's Stadium",
"venueLocation": "Santa Clara, CA, USA"
},
"startTime": 1792455300,
"trueStartTime": null,
"trueEndTime": null,
"participants": {
"participant1Id": 4389,
"participant1RotNr": 141,
"participant1Name": "San Francisco 49ers",
"participant1ShortName": "San Francisco",
"participant1Abbr": "SF",
"participant2Id": 4432,
"participant2RotNr": 140,
"participant2Name": "Washington Commanders",
"participant2ShortName": "Washington",
"participant2Abbr": "WAS"
},
"scores": {},
"clock": {
"currentPeriod": null,
"currentTime": null,
"remainingTime": null,
"remainingTimeInPeriod": null,
"stopped": null,
"updatedAt": null
},
"expectedPeriods": 4,
"periodLength": 15,
"externalProviders": {
"betgeniusId": null,
"betradarId": 71515924,
"flashscoreId": "Op9YIhXq",
"mollybetId": "2026-10-20,21640,10050390",
"oddinId": null,
"opticoddsId": "20261020BC02533C",
"pinnacleId": 1637707533,
"sofascoreId": 16183736,
"lsportsId": 19776801,
"txoddsId": null
},
"odds": {
"pinnacle": {
"id1400003171515924:pinnacle:14100:0": {
"1792080445959": {
"bookmaker": "pinnacle",
"outcomeId": 14100,
"playerId": 0,
"price": 2.25,
"active": true,
"changedAt": 1792080445959,
"bookmakerChangedAt": 1792080445547,
"marketActive": true,
"mainLine": false,
"priceFractional": "5/4",
"priceAmerican": 125,
"marketId": 14100,
"limit": 3750
},
"1792089957678": {
"bookmaker": "pinnacle",
"outcomeId": 14100,
"playerId": 0,
"price": 2.24,
"active": true,
"changedAt": 1792089957678,
"bookmakerChangedAt": 1792089957266,
"marketActive": true,
"mainLine": false,
"priceFractional": "31/25",
"priceAmerican": 124,
"marketId": 14100,
"limit": 3750
}
},
"id1400003171515924:pinnacle:14101:0": {
"1792080445959": {
"bookmaker": "pinnacle",
"outcomeId": 14101,
"playerId": 0,
"price": 1.68,
"active": true,
"changedAt": 1792080445959,
"bookmakerChangedAt": 1792080445547,
"marketActive": true,
"mainLine": false,
"priceFractional": "17/25",
"priceAmerican": -147,
"marketId": 14100,
"limit": 5514
},
"1792089957678": {
"bookmaker": "pinnacle",
"outcomeId": 14101,
"playerId": 0,
"price": 1.684,
"active": true,
"changedAt": 1792089957678,
"bookmakerChangedAt": 1792089957266,
"marketActive": true,
"mainLine": false,
"priceFractional": "13/19",
"priceAmerican": -146,
"marketId": 14100,
"limit": 5482
}
}
}
},
"bookmakers": {
"pinnacle": {
"bookmaker": "pinnacle",
"bookmakerFixtureId": "1637707533",
"fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
"hasOdds": true,
"staleOdds": false,
"staleOddsResponseCode": 502,
"suspended": false,
"participantsRotated": false,
"meta": null,
"updatedAt": "2026-10-17T14:00:01.921523+00:00"
}
}
}查询参数
响应
Returns FixtureHistoricalOddsResponse (fixture meta + time-series odds)