Authentication
Send your key in the Authorization header as a bearer token. The X-Api-Key header works too.
curl https://realtimebets.com/api/v1/me \
-H "Authorization: Bearer rtb_sk_your_production_key"
Key types
| Prefix | Environment | Feed | Created |
|---|---|---|---|
rtb_sb_ |
Sandbox | 60 seconds behind, one sport | Once per organisation, in the console |
rtb_sk_ |
Production | Real time, the sports of your plan | In the console, after the licence record and a plan |
Keys are shown once and stored as a SHA-256 hash. Revoke a key in the console at any time; requests with it stop at once. Revoking a key does not give back requests already counted this month.
The me endpoint
GET /api/v1/me returns the environment, the sports the key covers, the expiry of a sandbox key and your plan.
{
"data": {
"key": "rtb_sb_Ab12Cd...",
"environment": "sandbox",
"sports": ["soccer"],
"expires_at": "2026-10-21T19:12:03Z",
"plan": null
},
"meta": { "sandbox": true, "delay_seconds": 60, "requests_used": 12, "requests_quota": 1000 }
}