Featurefetch_mode: http
HTTP Fetch Mode
Load a static document without JavaScript — cheaper when you do not need a full browser render.
When HTTP mode is enough
fetch_mode=http loads the document without JavaScript. Cheaper and faster when content is already in the first HTML — not for client-rendered apps.
- JavaScript off, waitUntil=commit
- Extract/inspect 2 credits instead of 3
- Same field schema as browser mode
- No client render, no XHR that only fire after JS
Endpoints & parameters
Choose an endpoint — below you'll see an example request and explanations for all relevant parameters.
POST /v1/extract
Evaluate static HTML without JS.
Example request
json
{
"url": "https://example.com",
"fetch_mode": "http",
"fields": [
{
"name": "title",
"selector": "h1",
"type": "text"
}
]
}Parameters
urlstring requiredTarget URL.
fetch_mode'browser'|'http' requiredhttp disables JavaScript.
fieldsarray requiredDOM fields.