Install
openclaw skills install @dataify-server/dataify-ai-web-extractopenclaw skills install @dataify-server/dataify-ai-web-extractCall the AI Web API /extract endpoint directly with the fixed unique_id=extract.
The production origin is built in. Set AI_WEB_API_BASE_URL only for another environment.
$env:AI_WEB_API_BASE_URL = "https://aiwebapi.dataify.com"
$env:DATAIFY_API_TOKEN = "your_token_here"
python3 scripts/extract.py --url "https://example.com/article" --format markdown --dry-run
python3 scripts/extract.py --url "https://example.com/article" --format markdown --format links
| Option | Required | Notes |
|---|---|---|
--url | Yes | Public HTTP(S) page address. |
--format | No | Repeat markdown, raw_html, clean_html, or links; default markdown. |
--only-main-content | No | Enable or disable with --no-only-main-content; default true. |
--include-tag / --exclude-tag | No | Repeatable selectors, up to 50 each. |
--header | No | Target header using Name: Value; Host and hop-by-hop headers are rejected. |
--max-age-ms | No | 0 to 172800000; default 172800000. |
--timeout-ms | No | 1000 to 120000; default 60000. |
--wait-for-ms | No | 0 to 30000, no more than half of timeout. |
--country | No | Two-letter uppercase code; default US. |
--advanced-mode | No | Enable or disable with --no-advanced-mode; default true. |
The API returns the outputs value, normally an object keyed by the requested formats. A successful uncached extraction is billed once at the gateway tool unit price.
export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.references/extract-api.mdscripts/extract.pyscripts/ai_web_client.py