Rate limits
The budgets Unitley counts every request and tool call against, the order they are checked in, and what a refusal looks like over REST and MCP.
Unitley counts requests and tool calls against a few budgets. Each budget counts in fixed windows that start fresh at set times on the clock, not a set time after your first call. The counts are kept in one place, so they hold however many of Unitley's servers handle your requests.
If Unitley cannot check a budget, it refuses the request rather than letting it through uncounted. That comes back as unavailable: try again in a moment.
Budgets
| Budget | Limit | What it counts |
|---|---|---|
| Per address, REST API | 300 a minute | Every request to the REST API from one IP address, counted before the token is checked. |
| Per address, MCP server | 300 a minute | Every request to the MCP server from one IP address with no token or an access token, counted before the token is checked, and every one with an OAuth token that has expired, been disconnected or is unknown. |
| Per connected app, MCP server | 300 a minute | Every request from one app that signed in, such as claude.ai or ChatGPT, counted once its token checks out. A token that has expired or been disconnected is not counted. |
| Per address, app registration | 20 an hour | Every request from one IP address to register an app for OAuth sign-in, counted before the request is read, an IPv6 address by its /48 prefix. claude.ai registers once for each new connection. |
| Per token | 60 a minute | Tool calls made with one access token, so one runaway app cannot spend your whole budget. |
| Per connected app | 60 a minute | Tool calls made by one app that signed in. |
| Per user | 120 a minute | Tool calls across all your tokens, connected apps and the web analyst. A call a token's or app's own budget refuses is not counted here. |
| jev_classify | 30 every 10 minutes | Per user, on top of the budgets above. Each call spends credit on your own TypeSafe key. |
The order they are checked
- Per address. Every request is counted against the budget for the address it comes from, before the token is looked at. Over the REST API, that is every request to either endpoint. Over MCP, it is every HTTP request with no token or an access token, whatever it asks for. An IPv6 address is counted by its /64 prefix, the block a home or mobile connection is given.
- Per connected app. An app that signed in, such as claude.ai or ChatGPT, calls from its operator's servers, which all its users share. So over MCP, a request with an OAuth token that works is counted against its own connection instead of the address. One that has expired, been disconnected or is unknown to Unitley is counted against its address instead, under the same budget as a request with no token, and gets a 401 so the app refreshes it or signs in again.
- Per token. Each tool call is counted against the budget of the token, or the connected app, it was made with.
- Per user. Each tool call is also counted against your account's budget, which every token and connected app you have shares with the web analyst. The web analyst uses no token, so its calls count here only.
The per-token or per-app budget is checked first, and a refusal there stops the check. A call your token's own budget refuses is not counted against your account, so your other apps keep working. A call your account's budget refuses has already been counted against its token.
A tool call is counted once Unitley has found the tool, before the scope and the arguments are checked. A call with bad arguments, or a write tool called with a read-only token, still counts. A call to a name that is not a tool does not.
jev_classify has its own budget, 30 every 10 minutes per user, on top of these. A call with invalid input, or with no TypeSafe key saved, does not spend it.
What only counts per address
These count against the per-address budget, or a connected app's request budget, and nothing else:
- Listing the tools, with
GETon the REST API ortools/listover MCP. - Reading resources and prompts over MCP.
- Any request refused before a tool runs, such as one with no token.
The web analyst also limits how many questions you can ask, and how many bet slips you can import, in a short time. See The web analyst and Bet slips.
Registering an app
An app that signs in with OAuth and has no client metadata document registers itself first. Registrations are counted against their own per-address budget, 20 an hour, before the request is read. Here an IPv6 address is counted by its /48 prefix, not its /64, since one network can hold thousands of /64s. A refusal is HTTP 429 with Retry-After and the OAuth error temporarily_unavailable. claude.ai registers from servers its users share, so if adding Unitley there is refused, wait and try again. See OAuth sign-in.
When a budget is spent
Every refusal says how long to wait, in seconds and in words, such as "Try again in a minute."
Over REST
HTTP 429 with code rate_limited, a Retry-After header in seconds, and the same number in retryAfterSeconds:
- "Too many requests." when the per-address budget is spent.
- "Too many tool calls." when your per-token or per-user budget is spent.
- "jev_classify is limited to" and its budget, when that one is spent.
See Errors.
Over MCP
- The per-address and per-connected-app request budgets refuse the HTTP request itself: a 429 with a
Retry-Afterheader and the JSON-RPC error -32000, "Too many requests." and the wait. - The tool-call budgets and
jev_classify's refuse inside the tool's result. The result is markedisError, and its error hascoderate_limitedandretryAfterSeconds. The HTTP request itself succeeds, so there is noRetry-Afterheader.
Most agents read the message and wait on their own. See The MCP server.
Player props quota
Odds come from The Odds API, which allows Unitley a limited number of requests a month, shared by every Unitley user. Player props are fetched on request: the first request for a game's props in the 24 hours before kickoff fetches them, and a request in the last 3 hours can refresh them once. Everyone then reads the same copy.
As the month's use climbs, Unitley stops refreshing props, then stops fetching them, to keep the main lines updating. When props were not fetched or refreshed, the note in get_player_props says why. Unless the note says another request is fetching them right now, calling again soon gets the same copy. See Data and sources.
Tips
- Reuse what you fetched. Main-line prices update at set times, not on each call, so asking for the same game's odds again soon returns the same prices. See Data and sources.
- Keep what does not change. The tool list changes only when Unitley ships an update. The calculators, apart from
calc_kelly_stake, which reads your bankroll, give the same answer for the same input. - Give each app its own token. One app that loops then spends only its own token's budget, 60 a minute, and leaves room in your account's 120 a minute for the rest. It does not raise the account's budget.
- Wait as long as you are told. After a refusal, wait for
Retry-Afterbefore you try again. A call made sooner is refused again and still counts. - Do not retry a call that cannot work.
invalid_inputandinsufficient_scopecome back the same until you change the call, and each try counts. See Retry or fix.