Skip to main content
Context.dev turns websites into data for AI agents and applications. Scrape a page into Markdown, crawl linked pages, or extract fields into JSON shaped by your schema. When your workflow needs company context, retrieve brand profiles with logos, colors, descriptions, and social links through the same API.

Quickstart

Get an API key and make your first request with cURL or your preferred SDK.
Working with a coding agent? Follow the agent quickstart.

Try a request

Create an account, then copy your key from the dashboard. Set it in the shell where you’ll run the example:
Choose an API, then your language.
Turn a webpage into Markdown. This request costs 1 credit.
Read page text from markdown. The Markdown guide covers content filters and freshness.
The quickstart covers SDK installation, run commands, and how to check each result.

Explore the APIs

Web data APIs

Scrape Markdown

Turn a webpage into Markdown for agents, search, and retrieval.

Scrape HTML

Retrieve page HTML to parse and process yourself.

Structured extraction

Combine fields from relevant pages into one object matching your JSON Schema.

Crawl

Follow website links and return each page as Markdown.

Web search

Search the web and optionally scrape result pages in the same call.

Sitemap

Discover URLs in public sitemaps before fetching page content.

Images

Extract image assets from a webpage, with optional metadata enrichment.

Screenshots

Capture a webpage as an image.

Document parsing

Convert PDFs, Office documents, images, and other supported files into Markdown.

Brand data APIs

Brand lookup

Retrieve company logos, colors, descriptions, social links, and industry tags where available.

Brand search

Find indexed brands by name or domain prefix for autocomplete.

Simplified brand data

Get a smaller brand response with a domain, title, colors, logos, and backdrops.

Styleguide

Extract a website’s colors, typography, spacing, and component styles.

Fonts

Identify a website’s font families, fallbacks, and usage.

Logo Link

Embed a company logo directly using a separate public client ID.

NAICS classification

Classify a company using 2022 NAICS industry codes.

SIC classification

Classify a company using original SIC codes or the SEC’s current list.

Company and product data

Product extraction

Extract pricing, images, descriptions, and other details from one product page.

Product discovery

Discover and extract up to 12 products from a website. Available in beta.

People enrichment

Match identity clues to a person profile with a match score. Beta, paid plans.

Company news

Find current and historical company news by name, domain, ticker, or ISIN.

Company funding

Retrieve known funding rounds, dates, and amounts by company domain.

Automation and utilities

Batches

Process URL lists or website crawls asynchronously and retrieve the results.

Monitors

Track changes to pages, sitemaps, or structured data and receive signed webhooks.

Prefetch

Warm brand or styleguide caches before you need the data. Paid subscription required.

Before you ship

Context.dev is a hosted API, with SDKs for TypeScript, Python, Ruby, Go, and PHP. There is no self-hosted edition. Scraping can render JavaScript, but a login wall or bot challenge can still prevent access. Markdown results may come from a cache up to one day old by default; set maxAgeMs=0 when you need a new fetch. Other endpoints have their own freshness rules. Each guide explains its costs, limits, and failure cases.

API reference

Check the request parameters and response fields for each endpoint.

Production checklist

Plan retries, data handling, and deployment behavior.