跳转到主要内容
GET
/
fixtures
/
settlement
赛事结算
curl --request GET \
  --url 'https://v5.oddspapi.io/zh/fixtures/settlement?apiKey='
import requests

url = "https://v5.oddspapi.io/zh/fixtures/settlement?apiKey="

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://v5.oddspapi.io/zh/fixtures/settlement?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/settlement?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/settlement?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/settlement?apiKey=")
.asString();
require 'uri'
require 'net/http'

url = URI("https://v5.oddspapi.io/zh/fixtures/settlement?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": "id1400003160574219",
  "status": {
    "live": false,
    "statusId": 2,
    "statusName": "Finished"
  },
  "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": 1766685600,
  "trueStartTime": "2025-12-25T18:00:17.744256+00:00",
  "trueEndTime": "2025-12-25T21:09:09.345372+00:00",
  "participants": {
    "participant1Id": 4423,
    "participant1RotNr": null,
    "participant1Name": "Minnesota Vikings",
    "participant1ShortName": "Vikings",
    "participant1Abbr": null,
    "participant2Id": 4419,
    "participant2RotNr": null,
    "participant2Name": "Detroit Lions",
    "participant2ShortName": "Lions",
    "participant2Abbr": null
  },
  "scores": {
    "result": {
      "period": "result",
      "participant1Score": 23,
      "participant2Score": 30,
      "updatedAt": "2025-12-25T20:59:04.218194+00:00"
    }
  },
  "clock": {
    "currentPeriod": null,
    "currentTime": null,
    "remainingTime": null,
    "remainingTimeInPeriod": null,
    "stopped": null
  },
  "expectedPeriods": 4,
  "periodLength": 15,
  "externalProviders": {
    "betgeniusId": 12281950,
    "betradarId": 60574219,
    "flashscoreId": "lWoCl15F",
    "mollybetId": "2025-12-25,10050390,21622",
    "opticoddsId": "20251225B0C134B3",
    "pinnacleId": 1621042823,
    "sofascoreId": 13897686
  },
  "settlements": [
    {
      "marketId": 101,
      "marketType": "1x2",
      "outcomeId": 142,
      "playerId": 0,
      "status": "won",
      "team1Score": 23,
      "team2Score": 30,
      "periods": [
        "fulltime"
      ],
      "margin": 7
    },
    {
      "marketId": 101,
      "marketType": "1x2",
      "outcomeId": 141,
      "playerId": 0,
      "status": "lost",
      "team1Score": 23,
      "team2Score": 30,
      "periods": [
        "fulltime"
      ],
      "margin": -7,
      "reason": "result"
    }
  ]
}

授权

apiKey
string
query
必填

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

查询参数

fixtureId
string
必填

Single fixture ID (e.g. id1400003160574219).

outcomeId
integer | null

Optional: restrict settlements to a single outcomeId.

playerId
integer | null

Optional: restrict settlements to a single playerId.

响应

Returns FixtureSettlementResponse (fixture meta + settlements[])

fixtureId
string
必填
status
object
必填
sport
object
必填
tournament
object
必填
season
object
必填
venue
object
必填
startTime
integer
必填
participants
object
必填
scores
object
必填
clock
object | null
必填
externalProviders
object
必填
bookmakers
object
必填
settlements
object[]
必填
trueStartTime
string | null
trueEndTime
string | null
expectedPeriods
integer | null
periodLength
integer | null