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
LimitValueWhen you reach it
Requests a minute for one key (rpm)120429 rate_limited with Retry-After. See the RateLimit- headers.
Solves at the solver at one time, for one account (max_concurrent)1The other solves wait as pending.
Calls a day and a month for one key (daily_credits, monthly_credits)None, until you set oneNo more solves start: credit_limit.
Calls a month for the account (monthly_credits)NoneNo more solves start: credit_limit.
Keys of an account20The console refuses a new key. Delete a disabled key.

One request

calls, boards, later streets, the body, locks, pages
LimitValueWhen you reach it
Calls for one request (max_credits_per_request)20,000422 max_credits_exceeded, or a stop with allow_partial.
All lines with all or distinct cards in expand (expand_all)Allowed403 expand_not_allowed, when we switched it off for an account.
Boards in one request (boards)2,000422 invalid_request
Later streets in one request (then steps, expand levels)2422 invalid_request
Request body2 MiB; a spot with its ranges written out: 900,000 characters413 request_too_large
Prefer: wait30 secondsA larger value counts as 30.
Idempotency-Key8 to 128 characters; remembered 24 hours422 invalid_request for the length.
metadata4,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
LimitValueWhen you reach it
Bet sizes, raise sizes (for each player)3 and 2; each above 0 and at most 5422 invalid_request
Raises on a street (max_raises)0 to 2422 invalid_request
Betting tree of one street512 nodesYou do not reach it with bet and raise sizes: the largest such tree of today has 189 nodes.
pot, stack, min_bet1 to 1,000,000; 1 to 10,000,000; 1 to 1,000,000422 invalid_request
Rake (rate, cap)At most 0.1; at most 100 chips422 invalid_request
Accurate mode: stackAt most 4 pots, turn only422 invalid_request
locks; hands in all locks32; 16,000The solver refuses the spot.
node_actions; targets in one16; 5The solver refuses the spot.

Results and time

the size and the life of a result, solver time
LimitValueWhen you reach it
Result16 MiBThe solve fails and is not charged. Use fewer sizes.
Life of a result6 days after the solve finished410 expired; as a parent 410 parent_expired.
A solve at the solver30 minutesIt fails with solver_timeout and is not charged.