{"uid":"cap_sbwUT7_sbVEy4XoBZC-jV","slug":"http-headers-fetcher-0520464a","name":"HTTP Headers Fetcher","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/http/headers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"method":{"enum":["HEAD","GET"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1SjMoKVHolP3LvmeiU6TR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches HTTP response headers from a given URL using a HEAD or GET request, returning the headers as structured data.","exampleAgentPrompt":"Can you fetch the HTTP response headers for https://example.com using a HEAD request so I can see what server software and cache settings it uses?","exampleUseCases":[{"title":"Security header audit for a domain","prompt":"Check the HTTP headers returned by https://mycompany.com — I want to see if they have security headers like Strict-Transport-Security, X-Frame-Options, and Content-Security-Policy set correctly."},{"title":"CDN and caching configuration check","prompt":"Fetch the response headers for https://shop.example.com using HEAD so I can see what CDN they're on and what cache-control directives they're sending."},{"title":"Content-type verification before scraping","prompt":"Before I start processing it, can you do a HEAD request on https://data.example.org/report.pdf and tell me what content-type and content-length headers it returns?"}],"resultDescription":"Returns a JSON object containing the HTTP response headers from the target URL, including fields like Content-Type, Cache-Control, Server, X-Frame-Options, Strict-Transport-Security, CORS headers, and any other headers present in the server's response, along with a status indicator.","failureModes":["Target URL is unreachable or times out — network error returned","URL returns a redirect loop — may fail or return redirect headers only","Invalid URL format provided — schema validation error","Target server blocks automated requests — may return 403 or empty headers","Non-HTTP/HTTPS URLs not supported — schema validation rejects them"],"whenToPreferThis":"Choose this endpoint when you need to inspect the raw HTTP headers of a URL without downloading the full page body, especially for security audits, CDN detection, cache policy inspection, content-type verification, or server fingerprinting. It is more efficient than full page extraction when only metadata about the response is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:45:50.226Z","isFirstParty":false,"canonicalSlug":"http-headers-fetcher-0520464a"}