SchemaFlow Documentation
Everything you need to integrate web scraping, structured extraction, brand intelligence, and autonomous agents into your software stack.
Quickstart: Scraping your first URL
Install the official SDK and scrape any URL to clean GitHub Flavored Markdown in under 60 seconds.
npm install @schemaflow/sdkimport { SchemaFlow } from '@schemaflow/sdk';
const client = new SchemaFlow({
apiKey: process.env.SCHEMAFLOW_API_KEY,
});
const { markdown, metadata } = await client.web.scrape({
url: 'https://example.com/pricing',
format: 'markdown',
});
console.log('Saved tokens:', metadata.tokenReduction);
console.log(markdown);Agent Auth Guide (/auth.md)
SchemaFlow implements the machine-readable auth discovery specification, enabling coding agents (Cursor, Windsurf, Devin, Cline) to automatically set up their own API keys.
Single-Line Coding Agent Instruction
Your AI assistant parses the Markdown auth instructions, guides you through sandbox verification, and generates ready-to-run code directly in your active branch.
Connect via Claude Desktop, Cursor & MCP Runtimes
SchemaFlow provides an official MCP Server, giving your desktop LLMs live web search, deep page inspection, and brand lookups as native tools.
{
"mcpServers": {
"schemaflow": {
"command": "npx",
"args": ["-y", "@schemaflow/mcp-server"],
"env": {
"SCHEMAFLOW_API_KEY": "YOUR_API_KEY"
}
}
}
}Core REST Endpoints
Scrapes any URL to Markdown, rendered HTML, images, or full text. Handles bot detection and JS execution.
Extracts structured data into custom JSON Schema or Zod definitions with zero manual selectors.
Resolves domain to full corporate profile: logos, primary and accent palettes, typography, socials, and NAICS codes.