API BetTune

BetTune API

Interaktywna dokumentacja zewnętrznego API BetTune: wyszukiwanie meczów, odczyt filtrów prediction i zarządzanie kursami prediction.

Pobierz schemat OpenAPI
Publiczny bazowy URL API
https://ovaccess.com/bet-tune-api/v1
Token API

Token API możesz utworzyć lub wygenerować ponownie na stronie Settings w BetTune.

Otwórz Settings BetTune
Tylko subskrypcja PRO

API BetTune jest dostępne tylko dla użytkowników z aktywną subskrypcją PRO.

Uwierzytelnianie

Authorization: Bearer twoj_bettune_api_token

Endpointy

Otwórz endpoint, aby zobaczyć parametry, body, odpowiedzi, przykłady i schematy.

get/sports

List available sports

Sports

Odpowiedzi

200 Available sports.
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 1
namewymagane
string
przykład: "football"
{
  "count": 1,
  "items": [
    {
      "id": 1,
      "name": "football"
    }
  ]
}
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window
get/matches

List matches for one UTC date

Matches

Parametry

NazwaWWymaganeTypOpis
datequeryTakstring:dateUTC date in `YYYY-MM-DD` format.
sportqueryTakintegerSport id. Currently only football is exposed by `/sports`.

Odpowiedzi

200 Matches for the requested UTC date.
object
datewymagane
string:date
przykład: "2026-06-06"
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 1611243
datewymagane
string:date-time
przykład: "2026-06-06T18:00:00+00:00"
finishedwymagane
boolean
przykład: false
scorewymagane
object
countrywymagane
object
tournamentwymagane
object
seasonwymagane
object
homewymagane
object
awaywymagane
object
400 Invalid query parameters.
object
codewymagane
string
messagewymagane
string
{
  "code": "date_invalid",
  "message": "Invalid or missing date. Expected format: YYYY-MM-DD"
}
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window
get/prediction-filters

List prediction filters

Prediction Filters

Odpowiedzi

200 Prediction-based filters for the current API token user.
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 11583
namewymagane
string
przykład: "Manual football"
sportwymagane
object
betTypewymagane
string
przykład: "Home"
statuswymagane
string
przykład: "approved"
enum: disabled, approved
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window
post/predictions/search

Search existing predictions

Predictions

Request body

object
filterIdwymagane
integer
przykład: 11583
matchIdswymagane
array<integer>
przykład: [1611243,1611244]
{
  "filterId": 11583,
  "matchIds": [
    1611243,
    1611244
  ]
}

Odpowiedzi

200 Existing predictions for requested matches.
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 10
filterIdwymagane
integer
przykład: 11583
matchIdwymagane
integer
przykład: 1611243
oddswymagane
string
przykład: "2.150000"
sourcewymagane
string
przykład: "api"
enum: api, ui
createdAtwymagane
string:date-time
przykład: "2026-06-06T12:00:00+00:00"
updatedAtwymagane
string:date-time
przykład: "2026-06-06T12:05:00+00:00"
400 Validation error.
object
codewymagane
string
messagewymagane
string
{
  "code": "invalid_json_body",
  "message": "Invalid JSON body"
}
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
403 The current user cannot access this resource.
object
codewymagane
string
messagewymagane
string
{
  "code": "pro_subscription_required",
  "message": "Prediction-based filters are available only for PRO subscription"
}
404 Filter or match not found.
object
codewymagane
string
messagewymagane
string
{
  "code": "filter_not_found",
  "message": "Filter not found"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window
put/prediction-filters/{filterId}/matches/{matchId}/prediction

Create or update prediction odds

Predictions

Parametry

NazwaWWymaganeTypOpis
filterIdpathTakinteger-
matchIdpathTakinteger-

Request body

object
oddswymagane
string | number
przykład: "2.15"
{
  "odds": "2.15"
}

Odpowiedzi

200 Created or updated prediction.
object
idwymagane
integer
przykład: 10
filterIdwymagane
integer
przykład: 11583
matchIdwymagane
integer
przykład: 1611243
oddswymagane
string
przykład: "2.150000"
sourcewymagane
string
przykład: "api"
enum: api, ui
createdAtwymagane
string:date-time
przykład: "2026-06-06T12:00:00+00:00"
updatedAtwymagane
string:date-time
przykład: "2026-06-06T12:05:00+00:00"
400 Validation error.
object
codewymagane
string
messagewymagane
string
{
  "code": "invalid_json_body",
  "message": "Invalid JSON body"
}
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
403 The current user cannot access this resource.
object
codewymagane
string
messagewymagane
string
{
  "code": "pro_subscription_required",
  "message": "Prediction-based filters are available only for PRO subscription"
}
404 Filter or match not found.
object
codewymagane
string
messagewymagane
string
{
  "code": "filter_not_found",
  "message": "Filter not found"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window
delete/prediction-filters/{filterId}/matches/{matchId}/prediction

Delete prediction

Predictions

Parametry

NazwaWWymaganeTypOpis
filterIdpathTakinteger-
matchIdpathTakinteger-

Odpowiedzi

204 Prediction deleted. The endpoint is idempotent.
400 Validation error.
object
codewymagane
string
messagewymagane
string
{
  "code": "invalid_json_body",
  "message": "Invalid JSON body"
}
401 Missing or invalid API token.
object
codewymagane
string
messagewymagane
string
{
  "code": "missing_token",
  "message": "No token provided"
}
403 The current user cannot access this resource.
object
codewymagane
string
messagewymagane
string
{
  "code": "pro_subscription_required",
  "message": "Prediction-based filters are available only for PRO subscription"
}
404 Filter or match not found.
object
codewymagane
string
messagewymagane
string
{
  "code": "filter_not_found",
  "message": "Filter not found"
}
429 Rate limit exceeded.
object
codewymagane
string
messagewymagane
string
{
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded"
}
Nagłówki: Retry-After, X-RateLimit-Limit, X-RateLimit-Window

Schematy

ErrorResponse
object
codewymagane
string
messagewymagane
string
SportsResponse
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 1
namewymagane
string
przykład: "football"
Sport
object
idwymagane
integer
przykład: 1
namewymagane
string
przykład: "football"
MatchesResponse
object
datewymagane
string:date
przykład: "2026-06-06"
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 1611243
datewymagane
string:date-time
przykład: "2026-06-06T18:00:00+00:00"
finishedwymagane
boolean
przykład: false
scorewymagane
object
countrywymagane
object
tournamentwymagane
object
seasonwymagane
object
homewymagane
object
awaywymagane
object
Match
object
idwymagane
integer
przykład: 1611243
datewymagane
string:date-time
przykład: "2026-06-06T18:00:00+00:00"
finishedwymagane
boolean
przykład: false
scorewymagane
object
countrywymagane
object
tournamentwymagane
object
seasonwymagane
object
homewymagane
object
awaywymagane
object
Score
object
homewymagane
integer
przykład: null
awaywymagane
integer
przykład: null
IdName
object
idwymagane
integer
namewymagane
string
PredictionFiltersResponse
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 11583
namewymagane
string
przykład: "Manual football"
sportwymagane
object
betTypewymagane
string
przykład: "Home"
statuswymagane
string
przykład: "approved"
enum: disabled, approved
PredictionFilter
object
idwymagane
integer
przykład: 11583
namewymagane
string
przykład: "Manual football"
sportwymagane
object
betTypewymagane
string
przykład: "Home"
statuswymagane
string
przykład: "approved"
enum: disabled, approved
SearchPredictionsRequest
object
filterIdwymagane
integer
przykład: 11583
matchIdswymagane
array<integer>
przykład: [1611243,1611244]
PutPredictionRequest
object
oddswymagane
string | number
przykład: "2.15"
PredictionsResponse
object
countwymagane
integer
itemswymagane
array<object>
object
idwymagane
integer
przykład: 10
filterIdwymagane
integer
przykład: 11583
matchIdwymagane
integer
przykład: 1611243
oddswymagane
string
przykład: "2.150000"
sourcewymagane
string
przykład: "api"
enum: api, ui
createdAtwymagane
string:date-time
przykład: "2026-06-06T12:00:00+00:00"
updatedAtwymagane
string:date-time
przykład: "2026-06-06T12:05:00+00:00"
Prediction
object
idwymagane
integer
przykład: 10
filterIdwymagane
integer
przykład: 11583
matchIdwymagane
integer
przykład: 1611243
oddswymagane
string
przykład: "2.150000"
sourcewymagane
string
przykład: "api"
enum: api, ui
createdAtwymagane
string:date-time
przykład: "2026-06-06T12:00:00+00:00"
updatedAtwymagane
string:date-time
przykład: "2026-06-06T12:05:00+00:00"