Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header. Note: A payment method is required to use the API.

Body

application/json

Request body for the Extract API.

urls
string[]
required

List of URLs to extract content from. Maximum URLs per request: 20. Maximum length per URL: 2048. Failed URLs are not billed.

Example:
query
string

Intent-focused keywords. When provided, returns query-relevant highlights per URL; otherwise returns the complete page content.

Maximum string length: 500
max_age_seconds
integer
default:86400

Maximum age (in seconds) of cached content. URLs whose cached version exceeds this threshold will be re-fetched. Values outside the allowed range are adjusted to the nearest bound.

Required range: 300 <= x <= 31536000
format
enum<string>
default:markdown

Format of the returned content.

Available options:
markdown,
text
timeout
integer
default:30

Per-URL extraction timeout in seconds. Values outside the allowed range are adjusted to the nearest bound.

Required range: 1 <= x <= 60
include_images
boolean
default:false

Whether to return image URLs detected on the page.

include_videos
boolean
default:false

Whether to return video URLs detected on the page.

include_audio
boolean
default:false

Whether to return audio URLs detected on the page.

Response

Successful extraction response

code
integer

Business status code. 0 indicates success.

msg
string

A message describing the result.

request_id
string

The unique identifier for this request.

data
object

The main extract response payload.

meta
object

Additional metadata for the extract request.