Style book
Docs for the live wire
Realtime web context, search, and RAG tokens for agents. One REST key. SDKs in TypeScript, Python, Ruby, Go, and PHP.
Auth
Send the key as a bearer token. Request a key at contact — we reply to hello@ctxapi.bar threads.
Authorization: Bearer $CTXAPI_KEY
Read the live web as markdown
Clean, LLM-ready markdown from any URL, with crawl, sitemap, and image pipelines on the same primitive.
POST /v1/web/scrape/markdown
await client.web.scrapeMd({
url: "https://example.com/pricing"
});
Extract
Crawl a site and fill a JSON Schema you define. Schema in, fields out.
POST /v1/web/extract
Crawl and sitemap
Discover page URLs from any domain, then convert each page to markdown for embeddings.
POST /v1/web/crawl · GET /v1/web/sitemap
Brand intelligence
Resolve a domain, email, or messy merchant string into a typed company: logos, colors, fonts, socials, address.
POST /v1/brand/retrieve
Logo Link is a separate image URL. It does not consume API credits.
<img src="https://logos.ctxapi.bar?domain=example.com" />
How can my agent sign up?
Point the agent at the contact page, then this docs file. You still verify email. Share:
https://ctxapi.bar · hello@ctxapi.bar · docs.html