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:

The credits and billing docs have the full rules and the header reference.

Credits per request, by endpoint

EndpointCreditsNotes
/v1/status, /v1/usage0Health and balance. Free.
/v1/leagues, /v1/sportsbooks, /v1/markets0Reference data. Free.
/v1/teams, /v1/players1Stable ids for teams and players.
/v1/events, /v1/events/{id}, /v1/scores1Schedules, status, scores and clock.
/v1/odds, /v1/events/{id}/odds2Current prices grouped by source.
/v1/futures2Requires a plan with futures.
/v1/props3Requires a plan with props.
/v1/best-lines3Best price per outcome across books.
/v1/history3Requires a plan with line history.
/v1/stream (WebSocket)1 per connection-minuteOne 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

PlanPriceCreditsRate limitStream connectionsGated features included
SandboxFree50, one-time20 / minNoneProps (futures and history need Edge); credits also work in the dashboard chat
Edge$49.99 / month100,000 / month300 / minNoneProps, futures, history
Sharp$199.99 / monthUnlimited1,200 / minNoneProps, futures, history
Syndicate$249.99 / monthUnlimited3,000 / min10Props, 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:

  1. Free endpoints still count. A /v1/leagues call costs no credits but does use one request from your per-minute allowance.
  2. Keys don't add capacity. Every key on the account draws from the same window.
  3. A 429 is not charged, but it is not instant either. The response carries Retry-After with 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:

ApproachCredits / minuteCredits / dayCredits / 30 days
Poll every 10 s1217,280518,400
Poll every 30 s45,760172,800
Poll every 60 s22,88086,400
Poll every 120 s11,44043,200
Poll every 300 s0.457617,280
One stream connection, 24/711,44043,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

UseCountCredits
Questions in the Sandbox chat, or /v1/odds calls with the free key2550
Total50

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

CallCadenceCredits / dayCredits / 30 days
/v1/events?league=nba,nflHourly24720
/v1/odds?league=nba,nflEvery 5 min, 18 h/day43212,960
/v1/props?league=nbaEvery 15 min, 10 h/day1203,600
/v1/scoresEvery 2 min, 6 h/day1805,400
/v1/futures?league=nba,nflTwice daily4120
Total76022,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

CallCadenceCredits / dayCredits / 30 days
/v1/oddsEvery 30 s, 16 h/day3,840115,200
/v1/propsEvery 2 min, 12 h/day1,08032,400
/v1/history200 calls/day60018,000
/v1/scoresEvery 30 s, 6 h/day72021,600
/v1/eventsHourly24720
Total6,264187,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

WorkloadCredits / dayCredits / 30 days
2 stream connections, 24/7 (main lines)2,88086,400
1 stream connection for props, 12 h/day72021,600
/v1/best-lines every 30 s, 16 h/day5,760172,800
/v1/history, 2,000 calls/day6,000180,000
/v1/events and /v1/scores, 1,000 calls/day1,00030,000
300 alert deliveries/day3009,000
Total16,660499,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.

Keep reading