HTTP Headers Inspector

Inspect HTTP response headers and redirect chain for any URL.

1 endpoint5 calls1/1 passing
Get API key

Fetch HTTP response headers and redirect chain.

GET/v1/…http-headers/inspect
passing · 0.0s5m cache

Try it

Checking your keys…

Parameters

url

string · query · required

URL target (harus full URL termasuk protokol).

method

enum · query · optional

HTTP method. Default: HEAD (lebih cepat). Pakai GET kalau server reject HEAD.

Example response

{"project":"dev-tools:http-headers",  "data": {"ok":true,"url":"https://example.com","method":"HEAD","status":200,    "headers": {"age":"1939","date":"Wed, 27 May 2026 13:44:44 GMT","allow":"GET, HEAD","cf-ray":"a02574beabfcf8d6-SIN","server":"cloudflare","connection":"keep-alive","content-type":"text/html","last-modified":"Fri, 22 May 2026 08:22:30 GMT","cf-cache-status":"HIT","content-encoding":"br"    },"finalUrl":"https://example.com","redirectChain":[]  },"timestamp":"2026-06-13T02:24:53Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "dev-tools:http-headers",  "inspect",  { url: "https://example.com", method: "HEAD" });