/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/basketball-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/basketball-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/basketball-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/basketball-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"notes": "TS% = PTS/(2·(FGA+0.44·FTA))·100; eFG% = (FGM+0.5·3PM)/FGA·100; Game Score = Hollinger formula. For baseball use a baseball API; for cricket a cricket API.",
"service": "basketball-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/game-score": "Hollinger Game Score from a box-score line.",
"GET /v1/effective-fg": "Effective field-goal % from FGM, threes made and FGA.",
"GET /v1/true-shooting": "True shooting % from points, FGA and FTA."
},
"description": "Basketball efficiency stats: true shooting %, effective field-goal %, and Hollinger Game Score."
},
"meta": {
"timestamp": "2026-06-07T08:17:50.959Z",
"request_id": "6e014b2c-4c02-4153-8387-ab2a7a7ad51e"
},
"status": "ok",
"message": "Meta",
"success": true
}