Skip to the content

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#

WhoRequestsCounted per
Signed in on the site, or before a key checks out600 a minuteNetwork address
With an API key, during the beta60 a minute, and 30 changes an hourAccount (all its keys together)
The app itself, signed in600 a minuteNetwork 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:

RequestCounts as
Most requests: a price, bars as JSON, an alert, an order1
Sparklines (/v1/sparklines)1 for every 10 symbols asked for
Bulk downloads: format=parquet on bars or trades10
Strategy Lab runs: compare, combined, a portfolio run, a report, the builder10
The technical screener’s stock lists10

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:

FreeStarterPlusProMax
API requests a minute601203001,2006,000
Changes by AI apps and API keys an hour30601206002,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#

WhatAt most
Bars in one request5,000 (500 by default); page back with before
Trades in one JSON request20,000 (5,000 by default)
Trades in one Parquet file1,000,000
Time span of a trades requestA week; trades go back 30 days
Symbols in one sparklines request200
Alert log entries in one request500
Alerts keptYour plan’s alerts, and never more than 500
Subscriptions on one WebSocket200
One WebSocket message64 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/tickers returns every symbol’s price in one request, and /v1/sparklines up 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.