Documentation
WebExtract API
Turn any website into structured data with a single API call. Permanent storage, clean Markdown, HTML output, and AI-extracted JSON — all accessible via REST.
Base URL
https://webextract.mabai.tech/apiAll requests require an Authorization: Bearer cai_… header.
Quickstart
Make your first crawl in under 5 minutes. Get an API key, submit a URL, get structured data back.
Submit a Crawl
Full reference for the POST /api/crawl endpoint — all parameters, formats, and response shapes.
Markdown Output
How WebExtract strips boilerplate and returns clean, LLM-ready Markdown from every page.
JSON Extraction
Use natural language prompts to extract structured objects — prices, titles, authors — from any page.
Webhooks
Receive a POST to your endpoint the moment a crawl finishes. No polling loop required.
API Keys
Create and manage API keys. Use Bearer token authentication on all endpoints.
Authentication
All API requests must include your API key in the Authorization header as a Bearer token. You can create and manage API keys from your dashboard.
Authorization: Bearer cai_sk_••••••••••••••••