/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/baseball-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/baseball-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/baseball-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/baseball-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": "Counting stats in, rate stats out. Innings pitched is a true decimal; pass 'outs' to express the 6.1/6.2 box-score convention exactly. For live scores and standings use a sports-data API.",
"service": "baseball-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/batting": "Batting rate stats from AB, H, 2B, 3B, HR, BB, HBP, SF (+K for BABIP).",
"GET /v1/pitching": "Pitching rate stats from IP (or outs), ER, H, BB, K, HR, HBP."
},
"description": "Baseball sabermetrics: batting (AVG, OBP, SLG, OPS, ISO, BABIP) and pitching (ERA, WHIP, K/9, FIP) rate stats from counting numbers."
},
"meta": {
"timestamp": "2026-06-05T19:50:09.851Z",
"request_id": "3afc4caf-d350-4f82-bc0d-94964e001d76"
},
"status": "ok",
"message": "Meta",
"success": true
}