Skip to main content
r.context.dev reads a page and s.context.dev searches the web. Put what you want in the URL and send a GET request. Both return plain text you can paste into a prompt, or JSON when you ask for it. They are the shortest way to give an agent, a shell script, or a browser tab live web content.

Read a page

cURL
Response
Put the full URL, including its query string, after r.context.dev/. A URL without a scheme gets https://, and a percent-encoded URL is decoded. You can also POST {"url": "https://example.com"} to https://r.context.dev/.

Reader options

Set options as request headers.

Search the web

cURL
Response
Put the query in the path with + or %20 between words, or send it as ?q=. You can also POST {"q": "latest Next.js release"} to https://s.context.dev/. Each result has a title, URL, and description. To read each result’s content, use Search with page content through the API.

Search options

JSON responses

Send Accept: application/json to get JSON. A read returns the page in data:
Response
The page is in content for markdown, text for text, and html for html. A search returns data as an array of results, each with title, url, and description.

Use an API key

Both URLs work without a key, under the same limits as keyless requests. Send an API key to lift the limits and use the options that need one:
cURL
Send the key in the Authorization header. The reader and search URLs don’t read an X-API-Key header or an api_key parameter, so a key sent that way is ignored and the request runs keyless. With a key, a read costs the same as a Scrape and a search the same as a Search; Credits and pricing lists the prices.

Errors

Errors return JSON with a message and an error_code, whatever the Accept header. Quote the X-Request-Id response header when you report a problem. Requests without a key are also refused when they reach the keyless limits, the same way as other keyless requests.

When to use the API instead

The reader and search URLs cover reading one page and listing search results. Use Scrape and Search through the API or the SDKs for screenshots, structured JSON, the content of each search result, browser actions, country targeting, and the other options.