Help / Developers
Limits and rate limits
Limits keep the service quick for everyone and stop a runaway script, or an AI app talked into something, from doing much harm. There are two kinds: how many requests you make a minute, and how many changes a key makes an hour.
At a glance#
| Who | Requests | Counted per |
|---|---|---|
| Signed in on the site, or before a key checks out | 600 a minute | Network address |
| With an API key, during the beta | 60 a minute, and 30 changes an hour | Account (all its keys together) |
| The app itself, signed in | 600 a minute | Network address |
A busy browser tab makes about 100 requests a minute, so 600 leaves room for a few tabs, or a few people sharing one connection.
Requests a minute#
Every request needs a key (or the site’s own sign-in). Without a valid key, each network address may make 600 requests a minute, whatever they are. With a valid key, the address limit doesn’t apply; your plan’s requests a minute do, counted for your account across all its keys. A made-up or deleted key counts against its address like a request without one.
Most requests count as 1. A few do far more work, and count for more:
| Request | Counts as |
|---|---|
| Most requests: a price, bars as JSON, an alert, an order | 1 |
Sparklines (/v1/sparklines) | 1 for every 10 symbols asked for |
Bulk downloads: format=parquet on bars or trades | 10 |
| Strategy Lab runs: compare, combined, a portfolio run, a report, the builder | 10 |
| The technical screener’s stock lists | 10 |
So in the beta’s 60 a minute you can make, for example, 60 price checks, or six Parquet downloads.
Changes an hour#
Every request that changes something (creating an alert, placing a paper order, saving a script) made with an API key counts against your changes an hour. That covers your own scripts and AI apps connected over MCP alike, and each change is listed on the Account page. Reading never counts. Using the app yourself, signed in, never counts either.
By plan#
During the beta every account has the same API limits, the ones above, whatever its plan. When plans open, they’re set to grow like this:
| Free | Starter | Plus | Pro | Max | |
|---|---|---|---|---|---|
| API requests a minute | 60 | 120 | 300 | 1,200 | 6,000 |
| Changes by AI apps and API keys an hour | 30 | 60 | 120 | 600 | 2,000 |
Max has the most for heavy automation. Paid plans aren’t open yet, and the numbers may change before they are. See Plans and limits for everything else each plan includes.
When you hit a limit#
The answer is 429 Too Many Requests with a Retry-After header: the seconds until you may try again. Wait that long, then carry on.
# Python: wait as long as the server asks, then try again
import time, requests
def get(url, **kw):
while True:
r = requests.get(url, **kw)
if r.status_code != 429:
r.raise_for_status()
return r.json()
time.sleep(int(r.headers.get("Retry-After", "5")))
bars = get("https://<server>/v1/bars", params={"instrumentId": "hyperliquid:BTC", "resolution": "1h"})Sizes#
| What | At most |
|---|---|
| Bars in one request | 5,000 (500 by default); page back with before |
| Trades in one JSON request | 20,000 (5,000 by default) |
| Trades in one Parquet file | 1,000,000 |
| Time span of a trades request | A week; trades go back 30 days |
| Symbols in one sparklines request | 200 |
| Alert log entries in one request | 500 |
| Alerts kept | Your plan’s alerts, and never more than 500 |
| Subscriptions on one WebSocket | 200 |
| One WebSocket message | 64 KB |
Staying under the limits#
- Stream instead of polling. One WebSocket with a subscription per symbol costs nothing per update; asking for a price every second costs 60 requests a minute. See Live data.
- Ask for many at once.
/v1/tickersreturns every symbol’s price in one request, and/v1/sparklinesup to 200 symbols’ lines. - Download history once. A Parquet file of a week of trades is one request (counted as 10); keep it, and fetch only what’s new after that.
- Honour Retry-After rather than retrying straight away: retries made while limited are refused too.
Other limits you may meet#
- AI apps over MCP: the MCP server allows 300 requests a minute from one address, and 20 refused ones (a wrong or expired key) before it stops answering that address for the rest of the minute.
- Sign-in: ten wrong passwords for one account within 15 minutes pause its password sign-in for 15 minutes, even with the right one. The pause runs out on its own.
- New accounts: at most three accounts can be made from one network.
- WebSockets: a client that doesn’t read what it’s sent fast enough is disconnected (close code 1013); reconnect and subscribe again.
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.