v3

OpenAPI 3.1.2Apache 2.02026-07-31231237972.0 KB
Tools

Get browser info

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length.

This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized.

get/v2/browser-info

Query parameters

skipHeadersboolean

If true or 1, the response omits the headers field.

rawHeadersboolean

If true or 1, the response includes the rawHeaders field with the raw request headers.

Response

methodstring required

HTTP method of the request.

clientIpstring nullable required

IP address of the client.

countryCodestring nullable required

Two-letter country code resolved from the client IP address.

bodyLengthinteger required

Length of the request body in bytes.

headersobject

Request headers. Omitted when skipHeaders=true.

rawHeadersstring[]

Raw request headers as a flat list of alternating name/value strings. Included only when rawHeaders=true.

Example response

{
  "method": "GET",
  "clientIp": "1.2.3.4",
  "countryCode": "US"
}