跳转到主要内容
GET
/
futures
/
odds
/
clv
期货赔率CLV
curl --request GET \
  --url 'https://v5.oddspapi.io/zh/futures/odds/clv?apiKey='
import requests

url = "https://v5.oddspapi.io/zh/futures/odds/clv?apiKey="

response = requests.get(url)

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

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

url = URI("https://v5.oddspapi.io/zh/futures/odds/clv?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
{
  "futureId": "pm6980037088158379224",
  "odds": {
    "polymarket": {
      "pm6980037088158379224:polymarket:5432": {
        "olv": {
          "bookmaker": "polymarket",
          "participantId": 5432,
          "price": 3.2,
          "active": true,
          "changedAt": 1776000000000
        },
        "clv": {
          "bookmaker": "polymarket",
          "participantId": 5432,
          "price": 3.8,
          "active": true,
          "changedAt": 1776667000000
        }
      }
    }
  },
  "bookmakers": {
    "polymarket": {
      "bookmaker": "polymarket",
      "bookmakerFutureId": "16263",
      "participantsRotated": false
    }
  }
}

授权

apiKey
string
query
必填

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

查询参数

futureId
string
必填

Single future ID (e.g. id11000132131631).

bookmakers
string | null

Comma/space-separated bookmaker slugs (default: all)

oddsIds
string | null

Optional: comma/space-separated oddsIds to restrict the response.

响应

Returns FutureOddsClvResponse

The response is of type object.