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.
| Limit | Value | Counted by | Over the limit |
|---|---|---|---|
| Sign-in challenges | 10 per minute | Client IP | 429 TRY_LATER |
| Agent transactions built | 40 per day | Your address | 429 DAILY_TX_LIMIT |
| Borrow transactions built | 40 per day, counted separately | Your address | 429 DAILY_TX_LIMIT |
| Network fees the operator pays on borrow transactions | 1 SUI per day | All users together | 429 SPONSOR_BUDGET_SPENT; build again with "gas": "own" |
| Network fees the operator pays on agent transactions | 0.5 SUI per day by default | All owners together | 429 SPONSOR_BUDGET_SPENT; the last quarter is kept for revoke, withdraw, claim-default, repay, claim and add-collateral |
| Agents | 3, revoked ones not counted | Your address | 429 AGENT_LIMIT |
| Request body | 64 KiB | Request | 400 |
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#
| Limit | Value |
|---|---|
| Turns | One every 30 seconds per agent. |
| Actions per hour | 240 per agent, counted two per turn; over it, the agent shows limited until the next hour. |
| Gas-paid transactions | 200 per agent per day. |
| Re-posting an offer | At most once a minute by default. |