Skip to content
GET /v1/markets

Active sports-betting markets

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sxbet-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/sxbet-api/v1/markets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sxbet-api/v1/markets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sxbet-api/v1/markets");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/sxbet-api/v1/markets",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 100,
        "venue": "sxbet",
        "markets": [
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "status": "ACTIVE",
                "sport_id": 5,
                "team_one": "France",
                "team_two": "The Field",
                "game_time": 1784721600,
                "league_id": 10048,
                "market_hash": "0xaa552a6ad0ade2aec5a98e182902c2974973bd6c4df9f965bed556fd1532d480",
                "outcome_one": "France",
                "outcome_two": "The Field"
            },
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "status": "ACTIVE",
                "sport_id": 5,
                "team_one": "England",
                "team_two": "The Field",
                "game_time": 1784721600,
                "league_id": 10048,
                "market_hash": "0xccdf34391cef4a531bad900ee30938d81bc45c051968d5653f870b1d6e4ac7fd",
                "outcome_one": "England",
                "outcome_two": "The Field"
            },
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "status": "ACTIVE",
                "sport_id": 5,
                "team_one": "Brazil",
                "team_two": "The Field",
                "game_time": 1784721600,
                "league_id": 10048,
                "market_hash": "0x9fe1daa511ab93bcded3419b8492b0ea750db95b991e0e676042494b11b1b4f8",
                "outcome_one": "Brazil",
                "outcome_two": "The Field"
            },
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "status": "ACTIVE",
                "sport_id": 5,
                "team_one": "Spain",
                "team_two": "The Field",
                "game_time": 1784721600,
                "league_id": 10048,
                "market_hash": "0xd3fa7bceaaccd813858b5b7ff33a2fba93cc7f05a583883719b9367cc94c10f4",
                "outcome_one": "Spain",
                "outcome_two": "The Field"
            },
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "status": "ACTIVE",
                "sport_id": 5,
                "team_one": "Portugal",
                "team_two": "The Field",
                "game_time": 1784721600,
                "league_id": 10048,
                "market_hash": "0x74125591319925f4356ac9f32bb617b919aa72a3f8809570726a80469739650a",
                "outcome_one": "Portugal",
                "outcome_two": "The Field"
            },
            {
                "type": 274,
                "sport": "Soccer",
                "league": "Outrights - World Cup",
                "statu
…