Anakin icon

Anakin

Scrape websites, search with AI, and extract structured data

Actions108

Web → Scrape URL

AI-generated

Summary

Scrape a website URL to extract its content by submitting a scraping job and polling until completion or failure.

Inputs

  • URL (required) — The URL of the website to scrape.
  • Additional Options — Optional parameters including Max Wait Time (seconds) to wait for scraping completion (default 300), Poll Interval (seconds) between status checks (default 3), Country Code for proxy routing (default 'us'), and Force Fresh to bypass cache and force a fresh scrape (default false).

Output shape

A JSON object with success status, operation name, request ID, scraped URL, and detailed scraping job results.

The operation asynchronously submits a scraping job to the API and polls for its status until the job completes successfully, fails, or times out based on the Max Wait Time parameter. On success, detailed scraped content and metadata are returned. If the job fails or times out, an error is thrown unless continueOnFail() is enabled, in which case an error object is returned per item.

Examples

Example 1: Basic usage

Set 'URL' to the website you want to scrape. Optionally adjust Max Wait Time or Poll Interval in Additional Options to control how long to wait and how frequently to check job status.

Links

Discussion