Skip to main content
POST

Autorizações

X-API-Key
string
header
obrigatório

Corpo

application/json
url
string<uri>
obrigatório
Required string length: 1 - 2083
fact_check
boolean
padrão:false
follow_subdomains
boolean
padrão:false
formats
enum<string>[]
Opções disponíveis:
markdown,
json,
raw
include_frames
boolean
padrão:false
json_prompt
string | null
json_schema
Json Schema · object | null
max_age_ms
integer | null
Intervalo obrigatório: 0 <= x <= 2592000000
max_depth
integer | null
Intervalo obrigatório: x >= 0
max_pages
integer
padrão:1
Intervalo obrigatório: 1 <= x <= 50
only_main_content
boolean
padrão:false
parse_pdf
boolean
padrão:true
render_js
boolean
padrão:false
tags
string[] | null
timeout
integer | null
padrão:60
Intervalo obrigatório: 1 <= x <= 180
wait_for
integer | null
Intervalo obrigatório: x >= 0

Resposta

Scrape concluído

credits_used
integer
obrigatório
remaining_credits
integer
obrigatório
scrape_status
enum<string>
obrigatório
Opções disponíveis:
success,
blocked_antibot,
timeout,
extraction_failed
success
boolean
obrigatório
error
string | null
json
Json · object | null
json_extraction_error_code
string | null

Presente apenas quando formats inclui json e a extração falhou por completo. json permanece com todas as properties do schema em None — o motivo da falha fica fora do namespace do schema.

Allowed value: "extraction_failed"
markdown
string | null
metadata
ScrapeMetadata · object | null
rawHtml
string | null