Set formats to an array of outputs. One scrape can return several formats from the same fetch.
| Value | Output field | What it contains |
|---|---|---|
markdown |
markdown |
Page content as Markdown. |
html |
html |
Cleaned HTML. |
rawHtml |
raw_html |
Fetched HTML before cleaning. |
links |
links |
Links with URL, text, type, and internal status. |
screenshot |
screenshot |
Public URL for a viewport image. |
screenshot@fullPage |
screenshot |
Public URL for a full-page image. |
shopify |
shopify |
Structured product, collection, or catalog data where available. |
assets |
assets |
Images and videos referenced by the page. |
branding |
branding |
Colors, fonts, typography, components, and logo candidates. |
json extraction and summary are not available. Requests for them return 400.
Content options
only_main_content defaults to true. Use include_tags or exclude_tags to narrow the document before rendering. They cannot be used together.
Fetch options
| Field | Default | Meaning |
|---|---|---|
mobile |
false |
Use a mobile browser profile when supported. |
location |
Unset | A two-letter country and optional languages list. |
headers |
Unset | Request headers sent to the source. Do not send secrets to a site you do not trust. |
block_ads |
true |
Block known ad requests in browser rendering. |
wait_for |
0 |
Extra wait after load, in milliseconds, up to 60000. |
Screenshots and branding need browser capture. Page output may differ across locations, viewports, cookies, source changes, and cache age. See Scrape API for request and response details.