Rate Limiting
Saturday meters requests with a token bucket per account, not per key. Several keys on one account draw from the same bucket. Two ceilings apply:
A key that comes with a Saturday plan runs at 2 requests/second with a burst of 5, and 200 calls/day. Platform partner limits are set per agreement, and the platform default daily ceiling applies until one is agreed.
GET https://api.saturday.fit/v1/ states those numbers without authenticating; GET /v1/partner reports the limits enforced on your account.
Rate limit headers
Every authenticated response carries the current bucket state:X-RateLimit-Reset is a delta in seconds, not a Unix timestamp. Adding it to the current time gives the moment the next request will be admitted.
When you’re rate limited
Exceeding a limit returns429 Too Many Requests:
429 carries a Retry-After header, in seconds, and a code that says which limit you reached. Branch on the code:
Retry
rate_limit_exceeded, and catalog_paced when the wait is short. Never sleep on the daily codes: their Retry-After runs to midnight UTC, so stop that work and resume after the reset.
Both SDKs do this for you. They wait out a throttle, and a pacing wait of 30 seconds or less, and retry. Everything else is raised as a rate-limit error that carries the code, the wait (retryAfter in TypeScript, retry_after in Python) and, for the daily codes, the reset time (resetsAt, resets_at).
Retry-After. See OAuth2.
Daily call limits
Alongside the token bucket, every account carries daily call ceilings:
Intelligence endpoints (nutrition calculations, prescriptions and prep, product fit and compare, calculations asked for at import, inference, knowledge, AI) also carry a separate daily ceiling, apart from the total. Data endpoints (your athletes, activities, organizations, webhooks) are not counted against it, so hitting the intelligence ceiling never blocks syncing your data.
Each request to the MCP endpoint counts once toward the daily ceiling, a tool call included; a tool that calculates, sizes products or infers also counts once toward the intelligence ceiling.
Without an agreed intelligence ceiling, your budget grows with your day: a base allowance plus a per-athlete allowance for every athlete you compute for that day. Integrations serving real athletes scale automatically; if your traffic pattern needs more than the budget provides, contact api@saturday.fit.
Two daily budgets bound a few surfaces. Distinct product lookups and distinct search queries are capped (
distinct_lookup_daily_limit_reached), and repeats always serve, so a real workload (your athletes’ usual products, revisited) never feels it; enumeration does. Calculations that carry no athlete_id have their own budget, 50 a day by default (athlete_free_daily_limit_reached), and every one counts, repeats included; calculations for your athletes are unaffected.
Reaching any daily ceiling or budget returns 429 with the code from the table above and a Retry-After of the seconds until midnight UTC, when the counters reset; the message names the limit. GET /v1/partner reports the ceilings that apply to your account (rate_limits.requests_per_day and rate_limits.ip_requests_per_day, null when none applies). To raise yours, contact api@saturday.fit.
Staying under the ceilings
Spread requests out
The burst allowance covers a short spike, then refills at the sustained rate. Pacing requests across the window keeps the bucket from emptying; draining the burst up front means every subsequent request waits.Cache prescriptions
A prescription for the same inputs is stable. Cache the result and recalculate when:- The athlete’s profile settings change
- Activity parameters change, such as an updated duration or a new weather forecast
- You want a fresh calculation for race day
Use the batch endpoint
Watch your usage
GET /v1/partner/usage/daily breaks the same counters down by day.