Get Odds
curl --request POST \
--url https://api.aisa.one/apis/v1/api-sports/get-odds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bet": 1,
"bookmaker": 6,
"date": "2020-05-15",
"fixture": 326090,
"league": 39,
"page": 1,
"season": 2019,
"timezone": "Europe/London"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-sports/get-odds"
payload = {
"bet": 1,
"bookmaker": 6,
"date": "2020-05-15",
"fixture": 326090,
"league": 39,
"page": 1,
"season": 2019,
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
bet: 1,
bookmaker: 6,
date: '2020-05-15',
fixture: 326090,
league: 39,
page: 1,
season: 2019,
timezone: 'Europe/London'
})
};
fetch('https://api.aisa.one/apis/v1/api-sports/get-odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-sports/get-odds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bet' => 1,
'bookmaker' => 6,
'date' => '2020-05-15',
'fixture' => 326090,
'league' => 39,
'page' => 1,
'season' => 2019,
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-sports/get-odds"
payload := strings.NewReader("{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-sports/get-odds")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-sports/get-odds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_body{
"errors": [
"<string>"
],
"get": "<string>",
"paging": {
"current": 123,
"total": 123
},
"parameters": {
"bet": "<string>",
"bookmaker": "<string>",
"date": "<string>",
"fixture": "<string>",
"league": "<string>",
"page": "<string>",
"season": "<string>",
"timezone": "<string>"
},
"response": [
{
"bookmakers": [
{
"bets": [
{
"id": 123,
"name": "<string>",
"values": [
{
"odd": "<string>",
"value": "<string>",
"handicap": "<string>",
"main": true,
"suspended": true
}
]
}
],
"id": 123,
"name": "<string>"
}
],
"fixture": {
"date": "<string>",
"id": 123,
"timestamp": 123,
"timezone": "<string>"
},
"league": {
"country": "<string>",
"id": 123,
"name": "<string>",
"season": 123,
"flag": "<string>",
"logo": "<string>"
},
"update": "<string>"
}
],
"results": 123
}API-Sports
Get Odds
Get Odds
POST
https://api.aisa.one
/
apis
/
v1
/
api-sports
/
get-odds
Get Odds
curl --request POST \
--url https://api.aisa.one/apis/v1/api-sports/get-odds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bet": 1,
"bookmaker": 6,
"date": "2020-05-15",
"fixture": 326090,
"league": 39,
"page": 1,
"season": 2019,
"timezone": "Europe/London"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-sports/get-odds"
payload = {
"bet": 1,
"bookmaker": 6,
"date": "2020-05-15",
"fixture": 326090,
"league": 39,
"page": 1,
"season": 2019,
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
bet: 1,
bookmaker: 6,
date: '2020-05-15',
fixture: 326090,
league: 39,
page: 1,
season: 2019,
timezone: 'Europe/London'
})
};
fetch('https://api.aisa.one/apis/v1/api-sports/get-odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-sports/get-odds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bet' => 1,
'bookmaker' => 6,
'date' => '2020-05-15',
'fixture' => 326090,
'league' => 39,
'page' => 1,
'season' => 2019,
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-sports/get-odds"
payload := strings.NewReader("{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-sports/get-odds")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-sports/get-odds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bet\": 1,\n \"bookmaker\": 6,\n \"date\": \"2020-05-15\",\n \"fixture\": 326090,\n \"league\": 39,\n \"page\": 1,\n \"season\": 2019,\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_body{
"errors": [
"<string>"
],
"get": "<string>",
"paging": {
"current": 123,
"total": 123
},
"parameters": {
"bet": "<string>",
"bookmaker": "<string>",
"date": "<string>",
"fixture": "<string>",
"league": "<string>",
"page": "<string>",
"season": "<string>",
"timezone": "<string>"
},
"response": [
{
"bookmakers": [
{
"bets": [
{
"id": 123,
"name": "<string>",
"values": [
{
"odd": "<string>",
"value": "<string>",
"handicap": "<string>",
"main": true,
"suspended": true
}
]
}
],
"id": 123,
"name": "<string>"
}
],
"fixture": {
"date": "<string>",
"id": 123,
"timestamp": 123,
"timezone": "<string>"
},
"league": {
"country": "<string>",
"id": 123,
"name": "<string>",
"season": 123,
"flag": "<string>",
"logo": "<string>"
},
"update": "<string>"
}
],
"results": 123
}Request contract
- Method and path: POST /apis/v1/api-sports/get-odds
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/api-sports/get-odds
{
"operationId": "api-sports.get-odds",
"method": "POST",
"path": "/apis/v1/api-sports/get-odds",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"bet": {
"description": "Filter odds by bet ID",
"examples": [
1
],
"type": "integer"
},
"bookmaker": {
"description": "Filter odds by bookmaker ID",
"examples": [
6
],
"type": "integer"
},
"date": {
"description": "Filter odds by date (YYYY-MM-DD)",
"examples": [
"2020-05-15"
],
"type": "string"
},
"fixture": {
"description": "Filter odds by fixture ID",
"examples": [
326090
],
"type": "integer"
},
"league": {
"description": "Filter odds by league ID",
"examples": [
39
],
"type": "integer"
},
"page": {
"default": 1,
"description": "Page number for pagination (10 results per page)",
"examples": [
1
],
"minimum": 1,
"type": "integer"
},
"season": {
"description": "Filter odds by season (4-digit year)",
"examples": [
2019
],
"type": "integer"
},
"timezone": {
"description": "IANA timezone for date conversion, e.g., 'Europe/London'",
"examples": [
"Europe/London"
],
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.000384 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json