curl --request GET \
--url https://api.apinn.io/api/fixtures \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.apinn.io/api/fixtures"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.apinn.io/api/fixtures', 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.apinn.io/api/fixtures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.apinn.io/api/fixtures"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.apinn.io/api/fixtures")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apinn.io/api/fixtures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"timestamp": "2026-07-16T14:00:00",
"sport_id": 29,
"sport_name": "Soccer",
"league_id": 1835,
"league_name": "Brazil - Serie B",
"event_id": 1632003656,
"starts": "2026-08-22T18:45:00",
"runner_home": "Genoa",
"runner_away": "Napoli",
"live_status": 0,
"resulting_unit": "Regular",
"parent_id": null,
"version": 674
}
]Lister les fixtures
Événements (prématch, live, variantes). Filtrable ; parent_id renvoie les enfants d’un match.
curl --request GET \
--url https://api.apinn.io/api/fixtures \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.apinn.io/api/fixtures"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.apinn.io/api/fixtures', 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.apinn.io/api/fixtures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.apinn.io/api/fixtures"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.apinn.io/api/fixtures")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apinn.io/api/fixtures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"timestamp": "2026-07-16T14:00:00",
"sport_id": 29,
"sport_name": "Soccer",
"league_id": 1835,
"league_name": "Brazil - Serie B",
"event_id": 1632003656,
"starts": "2026-08-22T18:45:00",
"runner_home": "Genoa",
"runner_away": "Napoli",
"live_status": 0,
"resulting_unit": "Regular",
"parent_id": null,
"version": 674
}
]Autorisations
Paramètres de requête
Identifiant Pinnacle de l'événement. Look up a specific event
Ne renvoie que les enfants de cet événement (corners, cartons, mi-temps…). Find child fixtures of a prematch event: combine with live=1 for the live/in-play counterpart, or live=0 (default) for prematch children like Corners/Bookings
Identifiant du sport.
Identifiant de la ligue.
Début de la fenêtre de coup d envoi (UTC).
YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (UTC). T separator and trailing Z accepted.
Fin de la fenêtre de coup d envoi (UTC). YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (UTC). Date-only includes the entire day.
Ne renvoie que ce qui a changé après cet horodatage UTC. Only fixtures added/updated after this timestamp (ISO 8601)
0 = à venir, 1 = en direct, 2 = terminé. true/false acceptés (= 1/0). Toute autre valeur → 422.
0 = prematch only (default), 1 = live/in-play only
1 = uniquement les events ayant une cote de clôture enregistrée. true/false acceptés. Toute autre valeur → 422.
1 = only fixtures with closing data
1 = uniquement les events ayant une cote d'ouverture enregistrée. true/false acceptés. Toute autre valeur → 422.
1 = only fixtures with opening data
Nombre maximum de lignes renvoyées.
Max rows returned (default 100, hard cap 1000). When the result is truncated, the response carries an X-Truncated: true header. Only raise this if you really need more rows in a single call — and combine it with league_id, since, or a starts_from/starts_to window so the response stays small and fast.
x <= 1000Réponse
Liste des fixtures
Coup d'envoi (ISO).
0 = prématch, 1 = live, 2 = terminé.
"Regular" = match principal ; sinon variante (Corners, Bookings…).
Event parent (pour les enfants live / variantes).