Scrape a URL (paid)
scrape_urlPAID, from $0.001 USDC. Use when you need the current content of one specific web page. Fetches the URL live and returns clean Markdown, JSON-LD, HTML tables and links as JSON. Tiers: cached_intel $0.001 (recent cached copy), static_scrape $0.005 (live fetch, default for normal pages), stealth_browser $0.025 (headless browser for JavaScript or Cloudflare-protected pages). Call without payment to get the exact x402 price, then retry with payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page to scrape. | |
| tier | No | auto | |
| api_key | No | Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']. | |
| css_selector | No | Optional CSS selector to scope extraction. |