Capture and extract
fetch_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
API Call
editable
Request bodyJSON
{'{'}
:,
:,
:,
:,
:,
:,
:,
:,
:
{'}'}
Extract: adjust selector and viewport.
p
No result yet — run the API call.
Endpoints & parameters
Pick an endpoint for a sample request and a clear list of parameters.
POST /v1/extract
Evaluate static HTML without JS.
Example request
{
"url": "https://example.com",
"fetch_mode": "http",
"fields": [
{
"name": "title",
"selector": "h1",
"type": "text"
}
]
}Parameters
| Name | Type | Description |
|---|---|---|
urlreq | string | Target URL. |
fetch_modereq | 'browser'|'http' | http disables JavaScript. |
fieldsreq | array | DOM fields. |