API BetTune
BetTune API
Interaktywna dokumentacja zewnętrznego API BetTune: wyszukiwanie meczów, odczyt filtrów prediction i zarządzanie kursami prediction.
Pobierz schemat OpenAPIPubliczny bazowy URL API
https://ovaccess.com/bet-tune-api/v1Token API
Token API możesz utworzyć lub wygenerować ponownie na stronie Settings w BetTune.
Otwórz Settings BetTuneTylko subskrypcja PRO
API BetTune jest dostępne tylko dla użytkowników z aktywną subskrypcją PRO.
Uwierzytelnianie
Authorization: Bearer twoj_bettune_api_tokenEndpointy
Otwórz endpoint, aby zobaczyć parametry, body, odpowiedzi, przykłady i schematy.
get/sportsList available sports
Sports
get
/sportsList available 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/matchesList matches for one UTC date
Matches
get
/matchesList matches for one UTC date
Parametry
| Nazwa | W | Wymagane | Typ | Opis |
|---|---|---|---|---|
| date | query | Tak | string:date | UTC date in `YYYY-MM-DD` format. |
| sport | query | Tak | integer | Sport 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-filtersList prediction filters
Prediction Filters
get
/prediction-filtersList 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/searchSearch existing predictions
Predictions
post
/predictions/searchSearch existing 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}/predictionCreate or update prediction odds
Predictions
put
/prediction-filters/{filterId}/matches/{matchId}/predictionCreate or update prediction odds
Parametry
| Nazwa | W | Wymagane | Typ | Opis |
|---|---|---|---|---|
| filterId | path | Tak | integer | - |
| matchId | path | Tak | integer | - |
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}/predictionDelete prediction
Predictions
delete
/prediction-filters/{filterId}/matches/{matchId}/predictionDelete prediction
Parametry
| Nazwa | W | Wymagane | Typ | Opis |
|---|---|---|---|---|
| filterId | path | Tak | integer | - |
| matchId | path | Tak | integer | - |
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"