NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Account and billing

What is the request limit per API key?

Six hundred requests per minute per API key, counting every call, with no cap on how many tasks can run at the same time.

The numbers

Every API key may make up to 600 requests per minute. That includes createTask, getTaskResult and getBalance, and the in.php and res.php calls as well. Separately, there is no limit on concurrent tasks: you can have hundreds of tasks solving at once, as long as the calls you make to create and poll them stay under 600 a minute. A request over the limit gets ERROR_RATE_LIMIT, is not charged, and can be retried after a short pause.

Polling is usually what hits the limit

Creating a task is one request. Polling it is many. A token task polled every 3 seconds that takes 12 seconds to solve uses about four getTaskResult calls; an image task polled every second uses one to three. Multiply by the number of tasks you run in parallel:

def calls_per_minute(parallel_tasks, poll_every_s, avg_solve_s):
    polls_per_task = max(1, round(avg_solve_s / poll_every_s))
    tasks_per_minute = parallel_tasks * 60 / avg_solve_s
    return round(tasks_per_minute * (1 + polls_per_task))   # one create plus its polls

print(calls_per_minute(parallel_tasks=40, poll_every_s=3, avg_solve_s=12))   # 1000: too many
print(calls_per_minute(parallel_tasks=20, poll_every_s=3, avg_solve_s=12))   # 500: fits

The figures are illustrative; plug in your own solve times, which appear as createTime and endTime in each result.

Ways to fit more work under the limit

  • Wait before the first poll. Token tasks rarely finish in the first few seconds; starting to poll after about 5 seconds saves calls.
  • Poll at the recommended pace, every 3 seconds for tokens and every second for images, not faster.
  • Share one poller. Instead of each worker polling its own task, one loop checks all open tasks in turn and hands answers back. This makes the total rate easy to control.
  • Drop unnecessary balance checks. Call getBalance once per job or every few minutes, not before each task.
  • Throttle on your side. A small token bucket in front of the HTTP client keeps the whole process under the limit by design.

Handling ERROR_RATE_LIMIT

Treat it like an HTTP 429: pause, then retry with backoff. The tasks you already created keep solving in the meantime, so a short pause in polling does not lose anything, as long as you resume within the token's useful life. If you see the error regularly, lower your poll frequency or parallelism rather than retrying harder. The general advice on avoiding 429 applies here too.

One key, one shared budget

An account has one API key, so every system using that account shares the same 600 requests per minute: your scrapers, a workflow tool, a teammate's test script. If one noisy job eats the budget, the others see ERROR_RATE_LIMIT. Coordinate through a shared poller, or give clearly separate workloads their own accounts, each with its own key and balance.

What 600 a minute means in practice

With sensible polling, 600 calls a minute supports a steady stream of many thousands of solved tasks an hour, which is more than most scraping and QA jobs need. Because concurrent tasks are not capped, short bursts are handled by having many tasks open at once while keeping the polling rate flat. The glossary pages on rate limiting and task polling go deeper into both ideas.

Common questions

Does polling count toward the 600 per minute?

Yes. Every API call counts, including getTaskResult and getBalance.

Is there a limit on tasks running at once?

No. You can have as many concurrent tasks as you like within the request limit.

Is a rate limited request charged?

No. ERROR_RATE_LIMIT responses are free; pause and retry.

Can I get a second key for more throughput?

An account has one key at a time; separate workloads can use separate accounts.

How do I reduce my request count?

Wait a few seconds before the first poll, poll at the recommended pace, and use one shared poller.

Keep reading