# HTTP Headers Inspector — Zapi reference > Inspect HTTP response headers and redirect chain for any URL. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/dev-tools/http-headers - Endpoint catalog: https://zpi.web.id/category/dev-tools - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## HTTP Headers Inspector **Category:** dev-tools · **Slug:** `http-headers` **Detail page:** https://zpi.web.id/api/dev-tools/http-headers Inspect HTTP response headers and redirect chain for any URL. **Tags:** utility, http, headers, inspector ### Inspect Headers Fetch HTTP response headers and redirect chain. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/dev-tools:http-headers/inspect` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `url` | string | query | yes | URL target (harus full URL termasuk protokol) | | `method` | enum(HEAD|GET) | query | no | HTTP method. Default: HEAD (lebih cepat). Pakai GET kalau server reject HEAD | **cURL:** ```bash curl "https://api.zpi.web.id/v1/dev-tools:http-headers/inspect?url=https%3A%2F%2Fexample.com&method=HEAD" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/dev-tools:http-headers/inspect?url=https%3A%2F%2Fexample.com&method=HEAD", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/dev-tools:http-headers/inspect?url=https%3A%2F%2Fexample.com&method=HEAD", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "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": [] } ``` --- _Generated: 2026-08-02T14:20:14.613Z_