v1

latestOpenAPI 3.1.0MIT2026-07-132176113.0 KB
httpheader

Fetch HTTP headers for a given URL

post/httpheader

Request body

urlstring required

Target URL

followRedirectboolean

Whether to follow redirects when checking site status

proxyCountrystring

Proxy country code to route the request

Example request

{
  "url": "https://example.com",
  "proxyCountry": "us"
}

Response

HTTP headers retrieved successfully

timestampnumber required

Timestamp of the request in milliseconds

apiStatus'success' | 'failure' required

API status message

apiCodenumber required

API status code

datastring[] required

The headers returned by the requested URL

Example response

{
  "timestamp": 1763372588297,
  "apiStatus": "success",
  "apiCode": 200,
  "meta": {
    "url": "https://example.com",
    "proxyCountry": "us",
    "followRedirect": true,
    "redirectedURL": "https://example.com/",
    "test": {
      "id": "mxqx9v9y0742lap6altwdteqd28t23nq"
    }
  }
}