Skip to main content
GET
/
browser
Fetch with JavaScript rendering
curl --request GET \
  --url https://scraping-api.55-tech.com/browser \
  --header 'X-API-Key: <api-key>'
{
  "meta": {
    "status": 200,
    "final_url": "https://example.com/",
    "http_version": "",
    "elapsed_ms": 3200,
    "blocked": false,
    "headers": {
      "content-type": "text/html; charset=utf-8"
    },
    "agent": {
      "id": "scraping-de5"
    },
    "bytes": 45210
  },
  "raw": "<!DOCTYPE html><html>...</html>",
  "raw_json": null,
  "cookies": [
    {
      "name": "session_id",
      "value": "a1b2c3...",
      "domain": ".example.com",
      "path": "/",
      "secure": true,
      "httpOnly": true,
      "sameSite": "Lax",
      "expires": 1735689600
    }
  ],
  "screenshot": null,
  "js_result": null
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Headers

X-Target-URL
string

Target URL (no encoding needed). Recommended for URLs with query parameters.

X-Wait-Strategy
enum<string>
default:load

When the page is ready: load (DOMContentLoaded), networkidle (no pending requests), or selector (wait for CSS selector).

Available options:
load,
networkidle,
selector
X-Wait-Selector
string

CSS selector to wait for (only with X-Wait-Strategy: selector).

X-Screenshot
string

Capture a full-page PNG screenshot. Set to 1 or true.

X-JS-Expression
string

JavaScript to evaluate after the page is ready. Result returned in js_result.

X-Expect-Selector
string

CSS selector that must exist in the rendered page. Retries on a different node if missing.

X-Expect-Contains
string

Substring that must exist in the page body. Retries on a different node if missing.

X-Proxy
string

Route through a proxy (http:// or socks5://).

X-Block-Resources
string

Comma-separated resource types to block: image, font, stylesheet, media.

Cookies to inject before navigation (standard format: name=value; name2=value2).

X-Cookies
string

Cookies as JSON array for full control: [{"name":"s","value":"v","domain":".example.com"}].

X-Geo
string

Target countries as comma-separated ISO codes (e.g. US,DE,AT). Aliases: X-Geo-CC, X-CC, X-Country, X-Geo-Strict.

X-Agent
string

Route through specific agent(s) by slug (e.g. de1) or comma-separated list for random pick (e.g. de1,at5,us3).

X-Timeout
string

Override request timeout in seconds (default: 30).

Response

Rendered page with metadata, cookies, and optional screenshot.

meta
object
raw
string | null

Rendered page body as text (when not JSON).

raw_json
any | null

Parsed JSON body (when response is valid JSON, otherwise null).

cookies
object[]

All cookies captured during rendering, including httpOnly cookies.

screenshot
string | null

Base64-encoded full-page PNG screenshot (null if not requested).

js_result
any | null

Return value of jsExpression evaluation (null if not provided).