Browsers

Make an HTTP request through the browser's network stack

Sends an HTTP request through Chrome's HTTP request stack, inheriting the browser's TLS fingerprint, cookies, proxy configuration, and headers. Returns a structured JSON response with status, headers, body, and timing.

post/browsers/{id_or_name}/curl

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/browsers/{id_or_name}/curl
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Browser session ID or name

Request body

bodystring

Request body (for POST/PUT/PATCH).

headersobject

Custom headers merged with browser defaults.

method'GET' | 'HEAD' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS'

HTTP method.

response_encoding'utf8' | 'base64'

Encoding for the response body. Use base64 for binary content.

timeout_msinteger

Request timeout in milliseconds.

urlstring required

Target URL (must be http or https).

Response

Response from target URL

bodystring required

Response body (UTF-8 string or base64 depending on request).

duration_msinteger required

Total request duration in milliseconds.

headersobject required

Response headers (multi-value).

statusinteger required

HTTP status code from target.

Changes

No recorded changes to this operation across all 123 revisions of this API.