Get the raw HTTP response headers of any URL, with status code, final URL after redirects and response time

$0.001 per call20 free calls/day via MCP

Get the raw HTTP response headers of any URL, with status code, final URL after redirects and response time. Fast (under 2 s).

httpheadersdebugcachecdnapinetwork

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool headers:

{
  "name": "headers",
  "arguments": {
    "url": "https://stripe.com"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/headers \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://stripe.com"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.001 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "url": "https://example.com/",
  "status": 200,
  "ms": 120,
  "headers": {
    "content-type": "text/html",
    "server": "cloudflare"
  }
}

Related tools

Grade a website's HTTP security headers (A-F) ($0.002) · DNS lookup for a website's domain ($0.002) · Page performance basics without a browser ($0.002)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402