Skip to documentation
Browse documentation

Capture pages (batch)

Capture up to 20 public URLs in one request, returning each page's result or its own error.

Capability ID web.pages.capture
Maximum runtime 600 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

accept_statuses array<integer> optional
allow_browser_fallback boolean optional

Default: `true`.

allow_truncated boolean optional

Default: `false`.

concurrency integer optional

Maximum URLs captured at once. From 1 to 8. Default: `4`.

Example 4
detail string optional

Per-page detail, identical to web.page.capture. Allowed values: `summary`, `standard`, `full`. Default: `standard`.

Available values summarystandardfull
document object optional

Document options applied to every URL; ignored for ordinary HTML.

exclude_selectors array<string> optional
headers object optional

Extra request headers for every URL. Host cannot be set.

include_selectors array<string> optional
main_content_only boolean optional

Keep per-page Markdown to the main content. Default: `true`.

max_body_bytes integer optional

From 1 to 104857600.

max_total_bytes integer optional

From 1 to 104857600.

urls array<string> required

Public http(s) URLs to capture in one bounded batch.

Example ["https://example.com/","https://www.iana.org/help/example-domains"]

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
results array 2 items
results array 2 items
stats object 3 fields
stats.failed integer 1
stats.requested integer 2
stats.succeeded integer 1
warnings array 1 items
warnings array 1 items

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.