Basketball API Documentation
Base URL: https://api.superwin365.tech/api/v1 · Real Matches Only (Virtual Filtered) · CORS & Mobile Ready
Server IP Whitelisting is Required for API Keys
Check your server's outbound IP via GET /api/v1/my-ip and add it when generating your API key in Dashboard.
Basketball All Matches
Cost: 1 · Limit: 60/min · Cache: 10s
GET https://api.superwin365.tech/api/v1/basketball/matches
Returns all real live and upcoming Basketball matches merged across all 3 exchange APIs.
curl -X GET "https://api.superwin365.tech/api/v1/basketball/matches" \
-H "X-API-Key: sk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.superwin365.tech/api/v1/basketball/matches');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['X-API-Key: sk_live_YOUR_KEY', 'Accept: application/json', 'User-Agent: SportPulseClient/1.0'],
]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($data);
const res = await fetch('https://api.superwin365.tech/api/v1/basketball/matches', {
method: 'GET',
headers: { 'X-API-Key': 'sk_live_YOUR_KEY', 'Content-Type': 'application/json' }
});
const data = await res.json();
console.log(data);
import axios from 'axios';
const { data } = await axios({
method: 'GET',
url: 'https://api.superwin365.tech/api/v1/basketball/matches',
headers: { 'X-API-Key': process.env.SPORTPULSE_API_KEY }
});
console.log(data);
import requests
resp = requests.get(
'https://api.superwin365.tech/api/v1/basketball/matches',
headers={'X-API-Key': 'sk_live_YOUR_KEY'}
)
print(resp.json())
{
"success": true,
"message": "SUCCESS",
"data": []
}
Basketball Live Matches
Cost: 1 · Limit: 60/min · Cache: 5s
GET https://api.superwin365.tech/api/v1/basketball/live
Returns currently live in-play Basketball matches.
curl -X GET "https://api.superwin365.tech/api/v1/basketball/live" \
-H "X-API-Key: sk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.superwin365.tech/api/v1/basketball/live');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['X-API-Key: sk_live_YOUR_KEY', 'Accept: application/json', 'User-Agent: SportPulseClient/1.0'],
]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($data);
const res = await fetch('https://api.superwin365.tech/api/v1/basketball/live', {
method: 'GET',
headers: { 'X-API-Key': 'sk_live_YOUR_KEY', 'Content-Type': 'application/json' }
});
const data = await res.json();
console.log(data);
import axios from 'axios';
const { data } = await axios({
method: 'GET',
url: 'https://api.superwin365.tech/api/v1/basketball/live',
headers: { 'X-API-Key': process.env.SPORTPULSE_API_KEY }
});
console.log(data);
import requests
resp = requests.get(
'https://api.superwin365.tech/api/v1/basketball/live',
headers={'X-API-Key': 'sk_live_YOUR_KEY'}
)
print(resp.json())
{
"success": true,
"message": "SUCCESS",
"data": []
}
Basketball Match Details & Odds
Cost: 1 · Limit: 120/min · Cache: 3s
GET https://api.superwin365.tech/api/v1/basketball/match/{id}
Returns live Basketball match details and Back/Lay odds.
| Parameter | Type | Requirement | Description |
| id | string | Required | Basketball event_id |
curl -X GET "https://api.superwin365.tech/api/v1/basketball/match/3318278" \
-H "X-API-Key: sk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.superwin365.tech/api/v1/basketball/match/3318278');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['X-API-Key: sk_live_YOUR_KEY', 'Accept: application/json', 'User-Agent: SportPulseClient/1.0'],
]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($data);
const res = await fetch('https://api.superwin365.tech/api/v1/basketball/match/3318278', {
method: 'GET',
headers: { 'X-API-Key': 'sk_live_YOUR_KEY', 'Content-Type': 'application/json' }
});
const data = await res.json();
console.log(data);
import axios from 'axios';
const { data } = await axios({
method: 'GET',
url: 'https://api.superwin365.tech/api/v1/basketball/match/3318278',
headers: { 'X-API-Key': process.env.SPORTPULSE_API_KEY }
});
console.log(data);
import requests
resp = requests.get(
'https://api.superwin365.tech/api/v1/basketball/match/3318278',
headers={'X-API-Key': 'sk_live_YOUR_KEY'}
)
print(resp.json())
{
"success": true,
"data": {
"match": []
}
}