Paste one line into your coding agent — it requests a key, then follows the docs to integrate CtxAPI.
Sign up via ctxapi.bar/contact.html, then follow ctxapi.bar docs to integrate into the codebase.
For AI native products
The {APIs} powering your next feature
Scrape any URL, crawl an entire website, and extract structured data: markdown, HTML, sitemaps, screenshots, and brand intelligence.
Extract
Crawl any site and extract structured data into a JSON Schema you define.
Scrape
Scrape any URL, or crawl an entire site, for clean markdown, rendered HTML, or images.
Sitemap
Crawl and discover all page URLs from any domain via sitemap.
Brand data
Resolve a full brand profile by company identifier, or extract details from one URL.
Styleguide
Get the complete visual identity: colors, elements, and fonts from any website.
Products
Extract product listings or individual product details with a schema.
Screenshots
Generate viewport or full-page screenshots of any website.
Transactions
Match transaction strings to brands with optional location hints.
Schema in
Extract, then ship.
Define the shape. CtxAPI fills it from the live page.
extract.tsPOST /v1/web/extract
import CtxAPI from"ctxapi";
const client = new CtxAPI({ apiKey: process.env["CTXAPI_KEY"] });
// Define the exact shape CtxAPI should extract from the page.const result = await client.web.extract({
url: "https://www.example.com",
schema: {
company_name: "string",
pricing_tiers: [{ tier_name: "string", tier_price: "number" }]
}
});
console.log(result.data.pricing_tiers);
Connect your agent to the web
From web scraping to brand extraction in one API.
Read the web, live
Give an agent real-time access to any page. Scrape to markdown, render JS, extract images — so the agent reasons over the current web, not a frozen snapshot.
GET /v1/web/scrape/markdown
{ url: "example.com/pricing" }
# Pricing · Free $0/mo · Studio on request
Ground RAG in fresh content
Keep your retrieval index current. Crawl a sitemap, convert every page to clean markdown, and pipe it into embeddings — no brittle parsers in between.
Answer “tell me about this company” with actual sources. Resolve a domain to a typed profile, then expand with schema-based extraction from the live site.
Yes. A work-email signup can start without a card. Credits and rate limits are confirmed when we issue the key.
How do API credits work?
Simple calls like scraping a page cost 1 credit. Brand retrieval, styleguide, structured extraction, or industry identification cost more. Logo-link image requests are counted separately.
Are there extra fees for JS rendering or proxies?
No hidden surcharges for stealth requests. JS rendering, anti-bot bypass, and premium proxies are included at the standard per-page credit.
Am I billed for failed requests?
No. Credits are only consumed on successful responses. Blocked fetches are not billed.
What SDKs are available?
TypeScript, Python, Ruby, Go, and PHP. Agents can also follow the docs at ctxapi.bar.
Ship
Ship an agent that actually knows things.
Free desk, short integration, same API for scrape, extract, brand, and RAG. No credit card to start.