API reference
Extract Url
POST /extract · Read
POSThttps://api.clawifi.dev/extract
- Send your key as
Authorization: Bearer $CLAWIFI_API_KEY; see Authentication. - Add
"dry_run": true(or?dry_run=true) to see what the call would cost; nothing runs and nothing is charged. - Hosted MCP tool:
extract_urlonhttps://api.clawifi.dev/mcp. - Credits: see Pricing and credits.
Request#
curl -X POST https://api.clawifi.dev/extract \
-H "Authorization: Bearer $CLAWIFI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
from clawifi import Clawifi
client = Clawifi() # reads CLAWIFI_API_KEY
result = client.extract("https://example.com")
extract_url(url="https://example.com")
Body
| Field | Type | Default | Required |
|---|---|---|---|
browser_profile | string (optional) | no | |
force_browser | boolean | false | no |
preset | "article" | "product" | "person" | "company" (optional) | no | |
proxy_config | string or object (optional) | no | |
requires_auth | boolean | false | no |
schema | object | no | |
screenshot | boolean (optional) | no | |
skip_archive | boolean | false | no |
source | SourceId (optional) | no | |
timeout_seconds | integer (optional) | no | |
url | string | yes | |
wait_until | "commit" | "domcontentloaded" | "load" | "networkidle" | "domcontentloaded" | no |
Response#
200 with a ExtractResponse object: confidence, data, diagnostics, errors, evidence, fetch, mode_used, preset, source, success, url, validation.
Errors use the shared shape; see Errors. Try public operations without a key in the playground.
Was this page helpful? Tell us · Last updated 2026-10-22