Extract Structured Data
/web/extractCrawl a website and return JSON matching a caller-supplied JSON Schema. 10 credits ($0.02) per call.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- UrlNeededStarting website URL to crawl and extract from.
- SchemaNeededJSON Schema describing the object to return. Generate it from a Zod or Pydantic model, or hand-write it — Context.dev fills exactly this shape.
- InstructionsOptionalExtraction guidance: which facts to prioritize, how to interpret ambiguous fields.
- Fact checkOptionalWhen true, every returned value must be grounded in text stated on the page and unsupported fields come back null/empty. When false (default), reasonable infer…
- Follow subdomainsOptionalFollow links on subdomains of the starting URL's domain. Default false.
- Max pagesOptionalMaximum number of pages to analyze. Default 5, hard cap 50. Does NOT change the price — extraction is billed per call.
- Max depthOptionalMaximum link depth from the starting URL (0 = only the starting page). Unlimited when omitted.
- Include framesOptionalInclude iframe contents in the Markdown handed to the extractor. Default false.
- Max age msOptionalReuse a cached result younger than this many milliseconds. Default 86400000 (1 day), max 2592000000 (30 days). Set 0 to always fetch fresh.
- Wait for msOptionalExtra browser wait in milliseconds after page load before the content is captured (0-30000). Useful for JavaScript-heavy pages.
- Settle animationsOptionalWait briefly for animations to settle before each page is read. Default false.
- Stop after msOptionalSoft time budget for the crawl phase in milliseconds (10000-110000, default 80000).
- Timeout msOptionalUpstream timeout in milliseconds (max 300000). Context.dev aborts the call with a 408 when exceeded. Keep it below the endpoint's requestTimeoutMs so the provi…
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@context.dev:/web/extractTopics
Content ExtractionMore from Context.dev
All 25Scrape AnythingScrape one URL into any mix of Markdown, HTML, screenshot, images, JSON, product data, or a prebuilt parser.From 0.34 creditsRetrieve BrandResolve a company by domain, name, ticker, work email, or page URL into a full brand profile. 10 credits ($0.02) per call.From 0.34 creditsIdentify TransactionMap a noisy card or bank descriptor to the real merchant and its brand data. 10 credits ($0.02) per call.From 0.34 creditsScrape ImagesExtract every image asset from a page with metadata.From 0.34 creditsMap Site URLsList a website's URLs with page titles and descriptions, optionally ranked by a topic.From 0.34 creditsPrefetch Brand DataWarm the brand or styleguide cache for a domain before a lookup.No charge