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
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
+ 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
SendAccept: application/json to get JSON. A read returns the page in data:
Response
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
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 amessage 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.