Skip to main content
POST
Scrape a URL (synchronous)

Authorizations

Authorization
string
header
required

Your API key as a Bearer token: Authorization: Bearer <api-key>.

Body

application/json
url
string<uri>
required

The URL to scrape.

forceFresh
boolean

Bypass the cache and fetch a fresh copy.

timeoutMs
integer

Per-request timeout in milliseconds.

Required range: 1000 <= x <= 120000
waitForSelector
string

Wait for this CSS selector before extracting dynamic content.

extraWaitMs
integer

Additional settle time for dynamic content, in milliseconds.

Required range: 0 <= x <= 10000

Response

The scraped page.

url
string
required
finalUrl
string
required

The URL after redirects.

markdown
string
required

The readable page content as markdown.

contentLength
integer
required
fetchedAt
string<date-time>
required
cached
boolean
required

True if served from cache.

title
string | null
html
string