← Back to marketplace

SportyBet

Fast JSON API for SportyBet betting odds - sports, categories, tournaments, upcoming and live matches with odds, the full market board of a match and the results of past days.

other
by Mark87 endpoints100% uptime92ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Requests (30d)

205

Avg latency

1093ms

Uptime

100.0%

Endpoints

GET/v1/general/category/tournaments
$0.0010/req

Returns a list of tournaments with live or upcoming events for a given category of a sport, with their ids, names and number of events.

Request schema

sport_idstringrequired

Sport id as returned by the sports list (e.g. sr:sport:1)

category_idstringrequired

Category id as returned by the sport categories list (e.g. sr:category:1)

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "eventSize": {
        "type": "integer"
      }
    }
  }
}
GET/v1/general/sport/categories
$0.0010/req

Returns a list of categories (countries/regions) with live or upcoming events for a given sport, with their ids, names and number of events.

Request schema

sport_idstringrequired

Sport id as returned by the sports list (e.g. sr:sport:1)

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "eventSize": {
        "type": "integer"
      }
    }
  }
}
GET/v1/general/sports
$0.0010/req

Returns a list of all sports with live or upcoming events, with their ids, names and number of events.

Request schema

{
  "type": "object",
  "properties": {}
}

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "eventSize": {
        "type": "integer"
      }
    }
  }
}
GET/v1/match/details
$0.0010/req

Returns the details of a match: teams, sport, category, tournament, start time, status, score and every market with odds. Before kick-off the markets are the prematch ones, once the match is live they are the live ones.

Request schema

match_idstringrequired

Match id as returned by the match lists (e.g. sr:match:72221406)

Response schema

idstring
gameIdstring
startTimestampinteger
match_statusobject
homeTeamobject
awayTeamobject
scoresobject
totalMarketSizeinteger
marketsarray
sportobject
categoryobject
tournamentobject
GET/v1/match/live
$0.0010/req

Returns every live match of a sport with its score, period, played time and live markets with odds, grouped by tournament.

Request schema

sport_idstringrequired

Sport id as returned by the sports list (e.g. sr:sport:1)

Response schema

totalEventsinteger
tournamentsarray
GET/v1/match/results
$0.0010/req

Returns the results of the matches of a sport played on a given day, grouped by tournament, with their final status and scores. Optionally limited to one category or one tournament. The day follows West Africa Time (UTC+1).

Request schema

sport_idstringrequired

Sport id as returned by the sports list (e.g. sr:sport:1)

datestringrequired

Day of the results in Y-m-d format. A past day, up to yesterday.

category_idstring

Category id to limit the results to (e.g. sr:category:1)

tournament_idstring

Tournament id to limit the results to (e.g. sr:tournament:17)

pageinteger

Page number, starting at 1.

page_sizeinteger

Number of matches per page, between 1 and 100.

Response schema

pageinteger
pageSizeinteger
totalEventsinteger
totalPagesinteger
tournamentsarray
GET/v1/match/upcoming
$0.0010/req

Returns upcoming matches of a sport with their main markets and odds, grouped by tournament. Without "tournament_ids" the list covers the whole sport and is paginated. With "today" it covers only the matches starting today. With "tournament_ids" it returns every match of the chosen tournaments at once, and "page", "page_size" and "today" are ignored.

Request schema

sport_idstringrequired

Sport id as returned by the sports list (e.g. sr:sport:1)

tournament_idsstring

Comma-separated tournament ids to limit the list to (e.g. sr:tournament:17,sr:tournament:8), as returned by the category tournaments list. At most 50.

todayboolean

Only the matches starting today. Used only without "tournament_ids".

pageinteger

Page number, starting at 1. Used only without "tournament_ids".

page_sizeinteger

Number of matches per page, between 1 and 100. Used only without "tournament_ids".

Response schema

pageinteger
pageSizeinteger
totalEventsinteger
totalPagesinteger
tournamentsarray

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/sportybet/v1/general/category/tournaments" \
  -d '{"sport_id":"sr:sport:1","category_id":"sr:category:1"}'

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/sportybet/v1/general/category/tournaments \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for SportyBet.

GET /v1/general/category/tournaments$0.0010/req
-
GET /v1/general/sport/categories$0.0010/req
-
GET /v1/general/sports$0.0010/req
-
GET /v1/match/details$0.0010/req
-
GET /v1/match/live$0.0010/req
-
GET /v1/match/results$0.0010/req
-
GET /v1/match/upcoming$0.0010/req
-