API/API

Rate limits

The API applies a small set of fixed limits. Each is counted on the server, in a fixed window that resets on its boundary.

LimitValueCounted byOver the limit
Sign-in challenges10 per minuteClient IP429 TRY_LATER
Agent transactions built40 per dayYour address429 DAILY_TX_LIMIT
Borrow transactions built40 per day, counted separatelyYour address429 DAILY_TX_LIMIT
Network fees the operator pays on borrow transactions1 SUI per dayAll users together429 SPONSOR_BUDGET_SPENT; build again with "gas": "own"
Network fees the operator pays on agent transactions0.5 SUI per day by defaultAll owners together429 SPONSOR_BUDGET_SPENT; the last quarter is kept for revoke, withdraw, claim-default, repay, claim and add-collateral
Agents3, revoked ones not countedYour address429 AGENT_LIMIT
Request body64 KiBRequest400

A day is a UTC calendar day. Only a build counts toward the daily limits, and only when it passes its checks: a refused build costs nothing.

On a hosted server the client IP is the edge's X-Real-IP; locally it is the socket address.

Hosted agents#

LimitValue
TurnsOne every 30 seconds per agent.
Actions per hour240 per agent, counted two per turn; over it, the agent shows limited until the next hour.
Gas-paid transactions200 per agent per day.
Re-posting an offerAt most once a minute by default.