Zum Inhalt springen
GET /v1/meta

Venue metadata & endpoint guide

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sxbet-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/sxbet-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sxbet-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sxbet-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "chain": "SX Network",
        "venue": "SX Bet",
        "source": "SX Bet public REST (api.sx.bet), keyless",
        "examples": {
            "sports": "/v1/sports",
            "leagues": "/v1/leagues?sportId=1",
            "markets": "/v1/markets?sportId=5",
            "fixtures": "/v1/fixtures"
        },
        "endpoints": {
            "/v1/sports": "supported sports",
            "/v1/leagues": "active leagues with event counts (filter sportId)",
            "/v1/markets": "active sports-betting markets with named outcomes, teams, league & game time (filter sportId, leagueId)",
            "/v1/fixtures": "active fixtures for a league (leagueId optional — defaults to the top active league)"
        },
        "instrument": "on-chain sports prediction & betting markets",
        "cache_ttl_ms": 10000
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:48.415Z",
        "request_id": "e24b13a8-afdc-4a8e-9ba7-868c7ab9149e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}