Fast JSON API for OddsPortal betting odds comparison - matches by date and live matches with odds, odds from every bookmaker for each betting type with opening odds and odds movement, head to head, tournament results with historical odds, standings, outrights, teams and bookmakers.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns every betting type (1X2, Over/Under, Asian Handicap, Both Teams to Score…) with its outcomes, and every scope (Full Time, 1st Half, 1st Set…) odds can be requested for.
Request schema
{
"type": "object",
"properties": {}
}Response schema
Returns the bookmakers offered in a country, with their ids, names, logos, average payout and ratings. The ids are the ones the odds endpoints refer to.
Request schema
Two-letter country code of the bookmakers to return (e.g. gb, us, de, br). Each country has its own set of bookmakers. Without it the international bookmakers are returned.
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"logo": {
"type": "string"
},
"is_crypto": {
"type": "boolean"
},
"average_payout": {
"type": [
"number",
"null"
]
},
"average_payout_live": {
"type": [
"number",
"null"
]
},
"rating": {
"type": "object",
"properties": {
"odds_quality": {
"type": "integer"
},
"bookmakers_review": {
"type": "integer"
},
"users": {
"type": "integer"
},
"overall": {
"type": "integer"
}
}
}
}
}
}Returns the countries and regions that have tournaments with upcoming matches in a given sport, with their ids, slugs and names.
Request schema
Sport id as returned by the sports list (e.g. 1 for football)
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}Returns the list of all sports with their ids, slugs and names.
Request schema
{
"type": "object",
"properties": {}
}Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}Returns the tournaments of a country that have upcoming matches in a given sport, with their ids, slugs, names and number of upcoming matches.
Request schema
Sport id as returned by the sports list (e.g. 1 for football)
Country slug as returned by the countries list (e.g. england)
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"matches_count": {
"type": "integer"
}
}
}
}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/oddsportal/v1/general/betting-types"Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/oddsportal/v1/general/betting-types \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for OddsPortal.