---
title: "Get browser info"
method: PUT
path: "/v2/browser-info"
tags: ["Tools"]
---

# Get browser info

`PUT /v2/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.

## Query parameters

- `skipHeaders` boolean
- `rawHeaders` boolean

## Response `200`

- BrowserInfoResponse
  - `method` string, required — HTTP method of the request.
  - `clientIp` string, nullable, required — IP address of the client.
  - `countryCode` string, nullable, required — Two-letter country code resolved from the client IP address.
  - `bodyLength` integer, required — Length of the request body in bytes.
  - `headers` object — Request headers. Omitted when `skipHeaders=true`.
  - `rawHeaders` string[] — Raw request headers as a flat list of alternating name/value strings. Included only when `rawHeaders=true`.

## Other responses

- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
