Skip to main content
The API reference for this endpoint is not yet available in OpenAPI format. Use the examples below to make requests.

Overview

The Web Scraping service allows you to extract content from any web page with rich customization options. Use this endpoint to scrape content, take screenshots, and process web pages.

Base URL

Request Format

Parameters

string
default:"scrape"
required
Model identifier (must be set to scrape)
object
required

Advanced Options

array
Array of HTML tags to include in output
array
Array of HTML tags to exclude from output
array
Actions to perform before scraping
integer
default:"0"
Delay in milliseconds before scraping
object
Custom headers for the request
integer
default:"30000"
Request timeout in milliseconds

Response Format

string
Unique identifier for the request
string
Object type (e.g., “scrape.completion”)
integer
Unix timestamp when the request was created
string
Model used for the request (scrape)
object

Example Response

Example: Screenshot Capture

Example: Advanced Page Interaction