Skip to main content
Web Search and Web Scrape work without an API key. You don’t need an account, a signup, or a key: send the request with no Authorization header. Keyless requests are the fastest way for you or your agent to try Context.dev. They are rate limited and never billed. For production code, other APIs, more options, or higher volume, create a free account and use an API key. Agents can get one for their user with the agent quickstart.

Search without a key

cURL
Each item in results has a url, title, and description. Search covers the request options.

Scrape without a key

cURL
The page is in markdown.data. Request "html": true in formats for rendered HTML. Scrape covers the request options.

What works without a key

Keyless requests cover the basic options. Everything else needs an API key. Zero Data Retention and access policies belong to an organization, so they need a key too. The SDKs always send a key; make keyless requests over plain HTTP, such as cURL or fetch, or through the MCP server.

Through the MCP server

In clients you connect directly, such as Claude Code, Cursor, Codex, VS Code, and Windsurf, the web-search and web-scrape tools work as soon as you add https://mcp.context.dev/mcp, before you sign in. They have the same basic options as keyless REST requests. Other tools ask you to sign in with OAuth, and after sign-in every tool uses your account. The Claude connector and the ChatGPT plugin always sign in first. Connect your agent has the setup for each client.

Limits and billing

Keyless requests are rate limited and never billed. The limits can change, and keyless access isn’t available for every request. Keyless responses carry no key_metadata because no account is involved.

When a request is refused

A refused keyless request returns an error whose message says why: an option needs a key, the keyless limit was reached, or keyless access isn’t available for this request.
Don’t retry a refused request unchanged. Create a free API key and send it as Authorization: Bearer <API_KEY>. Through the MCP server, sign in instead. Troubleshooting covers the status codes.

When to switch to a key

Use an API key when you:
  • Write application code that ships. Keyless requests are for trying the API and for an agent’s own session, not for production traffic.
  • Need any API other than Search and Scrape, or an option from the table above.
  • Need more volume than keyless allows, or a keyless request was refused.
Humans can sign up and copy a key from the API keys page. Agents can register a key for their user with agent registration, as described in the agent quickstart. Every organization starts on the Free plan; Credits and pricing lists the monthly allowance.