Running it
Limits
Every limit of the API in one place, in four groups. GET /v1/account shows the account and key limits in force for the key you send.
In short
- A key may send 120 requests a minute.
- An account has one solve at the solver at a time. The other solves wait.
- One request may use 20,000 calls and hold 2,000 boards.
- A spot takes at most 3 bet sizes and 2 raise sizes for each player.
- A result can be read for 6 days after its solve finished.
We can raise the limits of an account: contact us.
Every limit, in four tables
Account and keys
requests a minute, solves at one time, calls, keys
| Limit | Value | When you reach it |
|---|---|---|
Requests a minute for one key (rpm) | 120 | 429 rate_limited with Retry-After. See the RateLimit- headers. |
Solves at the solver at one time, for one account (max_concurrent) | 1 | The other solves wait as pending. |
Calls a day and a month for one key (daily_credits, monthly_credits) | None, until you set one | No more solves start: credit_limit. |
Calls a month for the account (monthly_credits) | None | No more solves start: credit_limit. |
| Keys of an account | 20 | The console refuses a new key. Delete a disabled key. |
One request
calls, boards, later streets, the body, locks, pages
| Limit | Value | When you reach it |
|---|---|---|
Calls for one request (max_credits_per_request) | 20,000 | 422 max_credits_exceeded, or a stop with allow_partial. |
All lines with all or distinct cards in expand (expand_all) | Allowed | 403 expand_not_allowed, when we switched it off for an account. |
Boards in one request (boards) | 2,000 | 422 invalid_request |
Later streets in one request (then steps, expand levels) | 2 | 422 invalid_request |
| Request body | 2 MiB; a spot with its ranges written out: 900,000 characters | 413 request_too_large |
Prefer: wait | 30 seconds | A larger value counts as 30. |
Idempotency-Key | 8 to 128 characters; remembered 24 hours | 422 invalid_request for the length. |
metadata | 4,000 characters as compact JSON: no spaces after : and , | 422 invalid_request |
Page size (limit) | Children 500 (default 100); ledger 500 (default 100); requests 200 (default 50) | 422 invalid_request |
One spot
sizes, raises, the tree, pot, stack, rake
| Limit | Value | When you reach it |
|---|---|---|
| Bet sizes, raise sizes (for each player) | 3 and 2; each above 0 and at most 5 | 422 invalid_request |
Raises on a street (max_raises) | 0 to 2 | 422 invalid_request |
| Betting tree of one street | 512 nodes | You do not reach it with bet and raise sizes: the largest such tree of today has 189 nodes. |
pot, stack, min_bet | 1 to 1,000,000; 1 to 10,000,000; 1 to 1,000,000 | 422 invalid_request |
Rake (rate, cap) | At most 0.1; at most 100 chips | 422 invalid_request |
| Accurate mode: stack | At most 4 pots, turn only | 422 invalid_request |
locks; hands in all locks | 32; 16,000 | The solver refuses the spot. |
node_actions; targets in one | 16; 5 | The solver refuses the spot. |
Results and time
the size and the life of a result, solver time
| Limit | Value | When you reach it |
|---|---|---|
| Result | 16 MiB | The solve fails and is not charged. Use fewer sizes. |
| Life of a result | 6 days after the solve finished | 410 expired; as a parent 410 parent_expired. |
| A solve at the solver | 30 minutes | It fails with solver_timeout and is not charged. |