zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Dev Tools/HTTP Headers Inspector
Logo HTTP Headers Inspector

HTTP Headers Inspector

Inspect HTTP response headers and redirect chain for any URL.

Endpoints
1
Requests
4
Updated
3 months ago
For LLMs
llms.txt
Endpoint health19 hours ago
  • inspectpassing, 0.0s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/dev-tools:http-headers/inspect5m cache2 paramschecking key…
Parameters
urlstringrequired

URL target (harus full URL termasuk protokol)

methodenum

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

·
Response
EXAMPLE
{
  "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": []
}

Code examples

Inspect Headers
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("dev-tools:http-headers", "inspect", {
  "url": "https://example.com",
  "method": "HEAD"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/dev-tools:http-headers/inspect?url=https%3A%2F%2Fexample.com&method=HEAD" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETInspect Headers/v1/dev-tools:http-headers/inspectFetch HTTP response headers and redirect chain.

Parameters

urlstringrequired
URL target (harus full URL termasuk protokol)
methodenumoptional
HTTP method. Default: HEAD (lebih cepat). Pakai GET kalau server reject HEAD Values: HEAD, GET.

Request

curl -X GET "https://api.zpi.web.id/v1/dev-tools:http-headers/inspect?url=https%3A%2F%2Fexample.com&method=HEAD" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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": []
}

Related APIs

More in dev-tools

CF Sitekey Extractor

dev-tools/cf-sitekey

Mengekstrak Cloudflare Turnstile sitekey dari halaman web dengan multiple fetch mode.

35 calls·1h cache

DNS Lookup

dev-tools/dns-lookup

Query DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) via secure DNS-over-HTTPS resolver.

20 calls·5m cache

IP Geolocation

dev-tools/ip-geo

IP geolocation lookup — country, region, city, ISP, ASN, koordinat untuk IPv4 dan IPv6.

10 calls·5m cache

WHOIS Lookup

dev-tools/whois-lookup

WHOIS / RDAP domain lookup — registrar, registration & expiry dates, nameservers, status, registrant contact.

13 calls·5m cache

Meta/OG Preview

dev-tools/meta-preview

Fetch link preview metadata dari URL — Open Graph, Twitter Card, favicon, canonical, theme color (kayak WhatsApp/Slack link preview).

6 calls·5m cache

SSL Labs

dev-tools/ssl-labs

Retrieve SSL/TLS analysis report for a hostname.

6 calls·5m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026