Logo Http Headers

Logo Http Headers

Get Headers

API doc (version 0.9.2)

Description
- Tool to get list of response headers including redirect chain of a http connection.
- Limit : 5 requests per second. Once reached subsequent requests will result in error 429 (too many requests) until your quota is cleared.
Endpoint - Get list of response headers
This endpoint retrieves list of response headers including redirect chain of a Http connection in JSON format
http Request : GET https://api.codetabs.com/v1/headers?domain=domain.tld
examples :
https://api.codetabs.com/v1/headers?domain=https://codetabs.com
https://api.codetabs.com/v1/headers?domain=www.codetabs.com

response :
[{
  "HTTP/1.1": "301",
  "Server": "nginx",
  "Date": "Thu, 25 Jan 2018 17:54:21 GMT",
  "Content-Type": "text/html",
  "Content-Length": "178",
  "Connection": "keep-alive",
  "Location": "https://codetabs.com/"
},
{
  "HTTP/2": "200",
  "server": "nginx",
  "date": "Thu, 25 Jan 2018 17:54:21 GMT",
  "content-type": "text/html",
  "vary": "Accept-Encoding",
  "expires": "Thu, 01 Jan 1970 00:00:01 GMT",
  "cache-control": "no-cache",
  "strict-transport-security": "max-age=15768000,
  "x-frame-options": "DENY",
  "x-content-type-options": "nosniff",
  "x-xss-protection": "1; mode=block"
}]