Lookio Docs
Lookio websiteOpen Lookio
DevelopersRate limits

Rate limits

The request limits of the Lookio API per credential and per address, the headers that report them and how to back off when you reach one.

Lookio limits requests to protect the service. The limits are the same for the REST API and the MCP server.

Limits

LimitValueApplies to
Sustained240 requests per minuteEach credential
Burst40 requests per 10 secondsEach credential
Address ceiling1,200 requests per minuteEach IP address, across all credentials
Failed authentication30 failures per minuteEach IP address

The credential limits apply to normal use. The address ceiling stops traffic without credentials. It is far above the credential limits, so several credentials on one network do not reach it. The failed-authentication limit stops key guessing. A client with a valid credential never meets it.

Each workspace has its own limits.

Accesses

An access has its own limits, not the ones above, because its callers are outside your workspace.

LimitValueApplies to
Per caller60 requests per minuteEach access key, or each IP address on a public access
Whole access600 requests per minuteAll callers of one access together
Failed keys30 failures per minuteEach IP address, as above

Its responses send RateLimit-Policy: 60;w=60. The credit ceilings of an access and its keys are separate. At a ceiling, the call fails with rate_limited and a message that names the ceiling.

Widgets

A widget is public, so it has the strictest limits. They count questions, not requests.

LimitValueWho sets it
Questions per IP address20 per minute, on one widgetFixed
Chat openings per IP address30 per minute, on one widgetFixed
Answers, all visitors together60 per minute by default, 10 to 1,000You, per widget (limits.questions_per_minute)
Questions per visitor40 per hour and 150 per day by defaultYou, per widget

The fixed limits stop one machine from flooding a widget. Your limits, and the monthly credit ceiling, set how much the widget can spend. See Access and limits.

When you hit a limit

The API returns 429, the code rate_limited, and a Retry-After header in seconds: 10 after the burst limit, 60 after the others.

HTTP
HTTP/1.1 429 Too Many Requests
Retry-After: 10

Wait for Retry-After, then retry. If many workers share a credential, add random jitter so they do not retry together. The CLI does this for you.

Headers

Every JSON response has the policy:

HTTP
RateLimit-Policy: 240;w=60, 40;w=10

It lists the limits and their windows in seconds. Lookio does not give a remaining count, because its limiter cannot calculate an exact one. Count your own requests against the policy.

Notes

  • Each Cloudflare location counts on its own, so the counts are approximate. A client on several continents can go a little over the limit. Your balance controls credit spending separately, so a burst cannot spend more credits than you have.
  • In Code Mode, each request() in a script counts against the credential’s limit. A script makes at most 100 requests.
  • OAuth client registration: 5 per minute per address.
  • Imports are limited by these limits and by your plan’s word allowance and pages read each month.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Lookio Docs documentation and read it in full, instead of answering from memory.

https://lookio.app/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://lookio.app/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.