Context.dev Web Extraction API

The Web Extraction API from Context.dev — 9 operation(s) for web extraction.

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /web/extract Extract structured data from a site using a schema · Extract Structured Website Data #
Ask an LLM
“Can I crawl a website and get back data shaped to my own JSON Schema?”
“Is there a fact-check option so extracted values must be stated on the page?”
Tell an agent
Extract data matching schema {schema} from the site at {url}.
Crawl {url} up to {maxPages} pages and fill schema {schema} following {instructions}.
GET /web/competitors Find a company's direct competitors · Find website competitors #
Ask an LLM
“Who are the direct competitors of a company, based on its website?”
“Can I choose exactly how many competitors come back for a domain?”
Tell an agent
Find direct competitors for {domain}.
List {numCompetitors} competitors of the company at {domain}.
GET /web/styleguide Extract a website's design system · Scrape Styleguide #
Ask an LLM
“Can I pull a site's full design system — colors, typography, spacing, shadows and components?”
“Does the styleguide extraction work against a site's dark mode?”
Tell an agent
Extract the styleguide from {domain}.
Get the design system of the page {directUrl} in the {colorScheme} color scheme.
GET /web/fonts Find which fonts a website uses · Scrape Fonts #
Ask an LLM
“What font families does a website use, and how often is each one used?”
“Can I see the fallback fonts declared on a specific page?”
Tell an agent
List the fonts used on {domain}.
Scrape font families and usage counts from the page {directUrl}.
GET /web/naics Classify a brand into NAICS industry codes · Classify NAICS industries #
Ask an LLM
“What NAICS industry code fits a company, given its domain or name?”
“Can I get up to ten 2022 NAICS codes ranked for a business?”
Tell an agent
Classify {input} into NAICS industry codes.
Return up to {maxResults} NAICS codes for the brand {input}.
GET /web/sic Classify a brand into SIC industry codes · Classify SIC industries #
Ask an LLM
“Which SIC code does a company fall under, from its domain or name?”
“Can I classify against the SEC's current SIC list instead of the 1987 system?”
Tell an agent
Get SIC codes for {input}.
Classify {input} using the {type} SIC dataset.
POST /brand/ai/query Ask AI to pull specific data points from a brand's site · Query website data using AI #
Ask an LLM
“Can AI read a company's website and answer specific data points I list, like pricing or HQ address?”
“Is it possible to point the AI query at only certain pages of a brand's site?”
Tell an agent
Use AI to extract {data_to_extract} from {domain}'s website.
Query {domain} for {data_to_extract}, looking only at pages {specific_pages}.
POST /brand/ai/product Extract product details from one product page · Extract a single product from a URL #
Ask an LLM
“Given a single URL, can it tell me whether it's a product page and pull the product info?”
“What product details can I get from one specific product link?”
Tell an agent
Extract the product from the page {url}.
Check whether {url} is a product page and return its product data.
POST /brand/ai/products List the products a brand sells on its website · Extract products from a brand's website #
Ask an LLM
“Can I get a catalog of everything a brand sells, with pricing and features, from its website?”
“What details come back for each product when extracting a brand's whole product list?”
Tell an agent
Extract the full product list from the brand's website in the request.
Build a catalog of the brand's products with names, images and pricing.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/contextdev:contextdev-web-extraction-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

contextdev-web-extraction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Context Web Extraction API
  description: API for retrieving context data from any website
  version: 1.0.0
servers:
- url: https://api.context.dev/v1
tags:


# --- truncated at 32 KB (138 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/contextdev/refs/heads/main/openapi/contextdev-web-extraction-api-openapi.yml