API reference
Health check
Whether the service can read its data. No key needed.
GET
/odds/v1/_health- Cost
- 0 tokens
- Authentication
- No key needed
Request
curl -s "https://api.b337.ai/odds/v1/_health"import requests
print(requests.get("https://api.b337.ai/odds/v1/_health", timeout=10).json())// Node 18+, saved as an .mjs file
const res = await fetch("https://api.b337.ai/odds/v1/_health");
console.log(await res.json());Response
200 OK
{"status": "ok"}Fields
status is ok when the service can read its data. Other fields may appear; ignore them.