HTTP Headers API - Inspect Response Headers for Any URL
Fetches a URL and returns all HTTP response headers. Useful for debugging proxies, CDNs, caching layers, and middleware configurations.
Code examples
curl -X POST https://api.botoi.com/v1/headers \
-H "Content-Type: application/json" \
-d '{}'When to use this API
Debug CDN caching behavior
Inspect the Cache-Control, Age, and X-Cache headers returned by your CDN to verify that content is being cached as expected. Compare headers from different edge locations to confirm consistent caching rules.
Verify rate limit headers from third-party APIs
Before building retry logic for a third-party API integration, inspect their response headers to find rate limit fields (X-RateLimit-Limit, X-RateLimit-Remaining, Retry-After). Use these values to calibrate your client-side throttling.
Audit CORS headers for cross-origin requests
Check Access-Control-Allow-Origin, Access-Control-Allow-Methods, and Access-Control-Allow-Headers to debug why a browser is blocking cross-origin requests from your frontend to a third-party API.
Frequently asked questions
Does this follow redirects?
What does the count field represent?
Can I use this to check my own API headers?
Are response bodies included?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.