Skip to main content
POST

Authorizations

X-Cloud-Api-Token
string
header
required

API token from your dashboard.

Body

application/json
url
string<uri>
required

Page URL to visit.

formats
enum<string>[]

What to return. html is cleaned, raw_html is the full rendered DOM, cookies is the jar after the scrape.

Available options:
html,
raw_html,
markdown,
links,
screenshot,
cookies
only_main_content
boolean
default:true

Strip navigation, footers and sidebars from html and markdown.

screenshot
boolean
default:false

Shorthand for adding screenshot to formats.

screenshot_options
ScreenshotOptions · object
block_resources
enum<string>[]

Resource types not downloaded. Omitted: image, media and font, or nothing when a screenshot is requested. An empty list blocks nothing.

Available options:
image,
media,
font,
stylesheet
cookies

Cookies set before navigation: the JSON shape the cookies format returns, or Netscape text.

wait
number
default:0

Extra wait in seconds after navigation.

Required range: 0 <= x <= 60
wait_until
enum<string>
default:domcontentloaded
Available options:
domcontentloaded,
load,
networkidle,
commit
wait_for
string

CSS or XPath selector to wait for after navigation.

timeout
integer
default:30000

Navigation and selector timeout in milliseconds.

auto_captcha_solve
boolean
default:true

Solve the challenge of a page that answers 403, 405, 429 or 503. A solve adds 10 to 60 seconds and is charged at the plan's CAPTCHA price.

actions
(ClickAction · object | TypeAction · object | PressAction · object | ScrollAction · object | WaitAction · object)[]

Steps run on the loaded page with human emulation, in order. The first failure ends the request with action_failed.

Maximum array length: 10

Move the mouse to the element and click it.

Response

Successful response

success
boolean
required
data
object
required
msg
string