Odds API Credits and Rate Limits: How to Budget Your Requests
What every PreciseAPI endpoint costs in credits, how plan allowances and rate limits interact, when streaming beats polling, and worked monthly budgets for each plan.
Every odds integration runs into two budgets: how many odds API credits it spends in a month, and how many requests it makes in a minute. They are separate limits and they fail in different ways. This post sets out how PreciseAPI meters usage, what each endpoint costs, how the plans differ, and how to set a monthly request budget so you neither run dry on the 20th nor pay for headroom you never use.
All numbers here come from the plan definitions the API uses for enforcement. If this page and the odds API pricing page ever disagree, the pricing page wins.
How odds API credits work
Credits are charged per successful request, at a fixed cost per endpoint. A few rules follow from that and are worth internalizing early:
- Cost does not scale with response size. A
/v1/oddscall costs 2 credits whether it returns one event from one book or 200 events from every book. Narrowingbooksormarketsmakes responses smaller and faster, but not cheaper. - Errors are free. Any 4xx or 5xx response is not charged, including
429 rate_limitedand402 insufficient_credits. If your balance is below the cost of a request, the request fails and nothing is deducted. - Every response reports its own cost. The
X-Credits-UsedandX-Credits-Remainingheaders, andcredits_used/credits_remainingin themetaobject, tell you exactly what happened. - All keys on an account share one balance and one rate limit. Splitting work across keys does not create extra capacity.
- Paid plans refill to their monthly allowance on each billing date. Allowances do not roll over.
- Top-up credits (sold on Edge) never expire, and they are spent only after the plan's monthly allowance is used up.
The credits and billing docs have the full rules and the header reference.
Credits per request, by endpoint
| Endpoint | Credits | Notes |
|---|---|---|
/v1/status, /v1/usage | 0 | Health and balance. Free. |
/v1/leagues, /v1/sportsbooks, /v1/markets | 0 | Reference data. Free. |
/v1/teams, /v1/players | 1 | Stable ids for teams and players. |
/v1/events, /v1/events/{id}, /v1/scores | 1 | Schedules, status, scores and clock. |
/v1/odds, /v1/events/{id}/odds | 2 | Current prices grouped by source. |
/v1/futures | 2 | Requires a plan with futures. |
/v1/props | 3 | Requires a plan with props. |
/v1/best-lines | 3 | Best price per outcome across books. |
/v1/history | 3 | Requires a plan with line history. |
/v1/stream (WebSocket) | 1 per connection-minute | One credit on connect, then one per minute while open. |
Alert deliveries to a webhook or email cost 1 credit each. Endpoints that a plan doesn't include return 403 plan_feature_unavailable, and like every error they cost nothing.
Plans: credits, rate limits and features
| Plan | Price | Credits | Rate limit | Stream connections | Gated features included |
|---|---|---|---|---|---|
| Sandbox | Free | 50, one-time | 20 / min | None | Props (futures and history need Edge); credits also work in the dashboard chat |
| Edge | $49.99 / month | 100,000 / month | 300 / min | None | Props, futures, history |
| Sharp | $199.99 / month | Unlimited | 1,200 / min | None | Props, futures, history |
| Syndicate | $249.99 / month | Unlimited | 3,000 / min | 10 | Props, futures, history, in-play odds, stream |
Sandbox comes with a free API key. Its 50 one-time credits are spent at the costs above on the API, or at 2 credits per question in the Sandbox chat in your dashboard, and both cover pre-game lines. Every paid plan covers all 36 sources and all 17 leagues; what differs is volume, which gated endpoints you can call, and in-play access: Edge and Sharp serve pre-game odds only.
If you run short mid-cycle on Edge, one-time credit packs top up the balance: 100,000 credits for $29, 500,000 for $119, or 2,000,000 for $399.
Odds API rate limits
Rate limits are applied per account over a rolling 60-second window. Three details catch people out:
- Free endpoints still count. A
/v1/leaguescall costs no credits but does use one request from your per-minute allowance. - Keys don't add capacity. Every key on the account draws from the same window.
- A
429is not charged, but it is not instant either. The response carriesRetry-Afterwith the number of seconds to wait.
Each response also includes X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, so a client can back off before it hits the wall:
async function call(path, attempt = 0) {
const res = await fetch(`https://api.preciseapi.com${path}`, {
headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` },
});
if (res.status === 429 && attempt < 3) {
const wait = Number(res.headers.get('retry-after')) || 2 ** attempt;
await new Promise((r) => setTimeout(r, wait * 1000));
return call(path, attempt + 1);
}
return res;
}
The rate limits docs cover the headers in detail.
Which limit binds first
On Edge, odds API credits run out long before the rate limit matters. Running Edge flat out at 300 /v1/odds calls a minute would spend 600 credits a minute and exhaust 100,000 credits in under three hours. The rate limit is a burst ceiling; the credit allowance is the monthly budget. On Sharp and Syndicate credits are unlimited, so the rate limit is the only ceiling.
Streaming vs polling
Polling has a simple cost formula. A request costing c credits made every T seconds spends c × 60 / T credits per minute. The WebSocket stream costs 1 credit per minute per connection, regardless of how many leagues, events or books the subscription covers.
For /v1/odds at 2 credits, that gives:
| Approach | Credits / minute | Credits / day | Credits / 30 days |
|---|---|---|---|
| Poll every 10 s | 12 | 17,280 | 518,400 |
| Poll every 30 s | 4 | 5,760 | 172,800 |
| Poll every 60 s | 2 | 2,880 | 86,400 |
| Poll every 120 s | 1 | 1,440 | 43,200 |
| Poll every 300 s | 0.4 | 576 | 17,280 |
| One stream connection, 24/7 | 1 | 1,440 | 43,200 |
The break-even point is a 2-minute polling interval for a single odds request. Anything faster costs more than a stream, and the stream is also quicker: deltas arrive in 250 ms batches. If each refresh needs several REST calls, the break-even interval is longer still.
Streaming is available on Syndicate (10 concurrent connections), where credits are unlimited, so the stream never draws down a budget. On Edge and Sharp, which serve pre-game odds only, polling with a shared cache is the right design: on Edge, one odds request every 60 seconds around the clock fits the 100,000-credit allowance, while every 30 seconds does not. The next section is how to make polling efficient. The streaming docs and the Node.js WebSocket tutorial cover the stream protocol.
Caching strategies that actually save credits
The API marks responses Cache-Control: no-store, because prices go stale quickly and an HTTP intermediary has no way to know how stale is acceptable for you. Caching is therefore an application decision. These are the patterns that matter.
Cache reference data aggressively
Leagues, sources and market keys rarely change. They cost no credits but still count toward the rate limit, so load them at startup and refresh every few hours. Teams and players change slowly; daily is plenty. Event ids never change, including when a game goes live, which makes them safe cache keys.
One shared cache, many viewers
Never let browser traffic map one-to-one onto API calls. Your backend should fetch once per refresh interval and serve every visitor from memory, so credit spend depends on your refresh schedule, not your traffic. It also keeps your key off the client.
Coalesce concurrent misses
When a cache entry expires under load, many requests can miss at once and each trigger an upstream call. A single-flight wrapper makes them share one:
const cache = new Map(); // key -> { value, expires }
const inflight = new Map(); // key -> Promise
export async function cached(key, ttlMs, load) {
const hit = cache.get(key);
if (hit && hit.expires > Date.now()) return hit.value;
if (inflight.has(key)) return inflight.get(key);
const p = load()
.then((value) => {
cache.set(key, { value, expires: Date.now() + ttlMs });
return value;
})
.catch((err) => {
if (hit) return hit.value; // serve the last good copy on upstream errors
throw err;
})
.finally(() => inflight.delete(key));
inflight.set(key, p);
return p;
}
// Usage: one upstream call per 60 s, however many callers.
const board = await cached('odds:nba,nfl', 60_000, async () => {
const res = await call('/v1/odds?league=nba,nfl&markets=moneyline,spread,total');
return (await res.json()).data;
});
Batch, don't fan out
Because cost is per request, one call that covers more ground is strictly cheaper than several narrow ones. league accepts a comma-separated list (league=nba,nfl). /v1/odds and /v1/best-lines return up to 200 events per call (25 when the request includes props) and /v1/props up to 25, so split only when you would exceed those limits.
Match TTLs to event state
A minute-old pre-game moneyline is usually still useful; a minute-old live price usually isn't. Cache status=scheduled and status=live separately with different TTLs, and stop polling events that are final.
Don't pay twice for the same data
If you already pull /v1/odds for a full grid, compute best prices from it instead of also calling /v1/best-lines (the odds comparison API). The odds screen guide shows both approaches.
Worked monthly budgets
The examples below assume a 30-day month. They are illustrative workloads, not recommendations about what you should build.
Sandbox: checking the data with 50 credits
| Use | Count | Credits |
|---|---|---|
Questions in the Sandbox chat, or /v1/odds calls with the free key | 25 | 50 |
| Total | 50 |
That is enough to check that the books, leagues and pre-game markets you need are covered before you pay for a plan. The quickstart walks through the first API calls, and they work on the free key.
Edge: a content site with scheduled refreshes
| Call | Cadence | Credits / day | Credits / 30 days |
|---|---|---|---|
/v1/events?league=nba,nfl | Hourly | 24 | 720 |
/v1/odds?league=nba,nfl | Every 5 min, 18 h/day | 432 | 12,960 |
/v1/props?league=nba | Every 15 min, 10 h/day | 120 | 3,600 |
/v1/scores | Every 2 min, 6 h/day | 180 | 5,400 |
/v1/futures?league=nba,nfl | Twice daily | 4 | 120 |
| Total | 760 | 22,800 |
That leaves about 127,000 credits of headroom, and peak traffic stays far below 300 requests a minute.
Sharp: an odds screen without streaming
| Call | Cadence | Credits / day | Credits / 30 days |
|---|---|---|---|
/v1/odds | Every 30 s, 16 h/day | 3,840 | 115,200 |
/v1/props | Every 2 min, 12 h/day | 1,080 | 32,400 |
/v1/history | 200 calls/day | 600 | 18,000 |
/v1/scores | Every 30 s, 6 h/day | 720 | 21,600 |
/v1/events | Hourly | 24 | 720 |
| Total | 6,264 | 187,920 |
That is more than Edge's 100,000 credits, which is why this workload sits on Sharp, where credits are unlimited and the ceiling is 1,200 requests a minute. Halving the odds interval to 15 seconds would add another 115,200 credits and cost nothing extra. What Sharp doesn't give you is in-play prices or the stream; once those matter, the screen belongs on Syndicate.
Syndicate: streaming in production
| Workload | Credits / day | Credits / 30 days |
|---|---|---|
| 2 stream connections, 24/7 (main lines) | 2,880 | 86,400 |
| 1 stream connection for props, 12 h/day | 720 | 21,600 |
/v1/best-lines every 30 s, 16 h/day | 5,760 | 172,800 |
/v1/history, 2,000 calls/day | 6,000 | 180,000 |
/v1/events and /v1/scores, 1,000 calls/day | 1,000 | 30,000 |
| 300 alert deliveries/day | 300 | 9,000 |
| Total | 16,660 | 499,800 |
Three of ten connections are in use, and REST calls, not streaming, account for most of the metered credits. Syndicate's credits are unlimited, so none of this draws down a balance. The constraints that matter are 3,000 requests per minute and 10 concurrent stream connections, so capacity planning becomes a throughput exercise rather than a budget one.
Monitoring spend
/v1/usage is free and reports your odds API credits: credits_remaining, credits_reset_at, credits_used_24h and credits_used_30d. A daily job that projects month-end spend from credits_used_24h catches runaway loops early. For staging and third-party integrations, set a monthly credit cap on the key itself.
Frequently asked questions
Do failed requests cost credits?
No. Any 4xx or 5xx response is free, including 429 and 402 responses.
Does asking for more books or markets cost more?
No. Each endpoint has a fixed cost per request. Filters change the size of the response, not the price.
What happens to unused credits at the end of the month?
Plan allowances refill on each billing date and do not roll over. Top-up credits never expire and are spent after the monthly allowance.
Do free endpoints count toward the rate limit?
Yes. Reference endpoints such as /v1/leagues and /v1/usage cost no credits but each call still counts toward your per-minute limit.
Can I use the WebSocket stream on Edge or Sharp?
No. Streaming is included on Syndicate only, with 10 concurrent connections, along with in-play odds. On Edge and Sharp, poll REST endpoints for pre-game odds through a shared server-side cache.
How do I keep a staging key from spending the whole balance?
Set a monthly credit cap on that key. When it reaches the cap it returns 402 key_credit_cap, and the account's other keys are unaffected. See pricing for plan details and the live odds API page for streaming coverage.