Skip to main content
Context.dev turns websites into data for AI agents and applications. Scrape a page into Markdown, HTML, a screenshot, images, or CSS-selected fields in one request. Map a website’s URLs, crawl linked pages, or search the web. 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. mainContentOnly keeps only the main content of the page. This request costs 1 credit.
Read page text from markdown.data. The page title, description, and other tags are in metadata. The scrape guide covers content controls, freshness, and dynamic pages.Pass a YouTube video URL to get its metadata, description, and timestamped transcript as Markdown. Follow the YouTube transcript guide.
The quickstart covers SDK installation, run commands, and how to check each result.

Explore the APIs

Web data APIs

Scrape

Fetch a page once and return Markdown, rendered HTML, a screenshot, page images, original bytes, and CSS-selected fields in any combination.

Map URLs

Map all URLs a website has using our index, with available titles, descriptions, keywords, and languages.

Crawl

Follow website links and return each page as Markdown.

Web search

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

Answers

Research the live web and return JSON with source URLs in Fast or Ultra mode.

YouTube transcripts

Get video metadata, a description, and a timestamped transcript as Markdown.

Document parsing

Convert uploaded PDFs, Office documents, images, and other supported files into Markdown.
Format guides cover screenshots, page images, original bytes, and browser actions for pages that need a click or scroll before capture. Use Answers when your input is a research question rather than a URL.

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.

Styleguide

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

Logo Link

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

Company and people data

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.

Automation and utilities

Batches

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

Monitors

Track changes to pages, URL inventories, 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. Scrape outputs can come from a cache. Each output has its own cache entry, and maxAgeMs defaults to one day (86400000 milliseconds). Set maxAgeMs to 0 when you need a fresh fetch. Custom headers, browser actions, and zero data retention bypass the cache. Other endpoints have their own freshness rules. Each guide explains its costs, limits, and failure cases. Set timeouts and partial-result behavior, choose API-key permissions, and review your organization’s Free credits or refills.

API reference

Check the request parameters and response fields for each endpoint.

Production checklist

Plan retries, data handling, and deployment behavior.