v1
latestOpenAPI 3.1.02026-07-26180242448.0 KBScrape URL
Scrape a webpage and return its content as HTML, Markdown, or plain text.
Request body
The URL to scrape. Must be a valid HTTP or HTTPS URL.
Scraping engine tier to use.
Output format for the scraped content.
Force JavaScript rendering.
CSS selector or XPath to wait for before extracting.
Max wait time in ms for wait_for selector.
Additional ms to wait after page load.
Browser actions to perform before extracting.
Persist cookies and state across requests.
Max retry attempts on blocking detection.
Auto-retry on blocking page detection.
ISO 3166-1 alpha-2 country code for proxy geo-targeting.
Additional HTTP headers for the target request.
Capture a full-page PNG screenshot.
Record browser session as animated GIF (+3 credits).
Attempt anti-bot bypass when blocking detected.
Allow auto-escalation to stronger engines.
Maximum credits budget for this request.
Run AI extraction on scraped content.
Natural language instruction for AI extraction.
Response
Successful scrape