TapCub is live — analytics, insights and live chat, free on one platform

Website checks API HTTP Header Checker API

Send a URL and get the response headers with a review of the security headers that matter: HSTS, CSP, X-Frame-Options, Referrer-Policy and more.

POSThttps://api.pathclue.com/v1/site/headersBeta
Request

Call it from your code

Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.

terminal
curl -X POST https://api.pathclue.com/v1/site/headers \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
Parameters

Request parameters

Request parameters
ParameterTypeRequiredDefaultDescription
urlurlYes—Page address, http or https only. Private and reserved addresses are refused.
uaenumone of: browser | mobile | googlebot | googlebot-desktop | bingbot | baiduspider | gptbot | oai-searchbot | chatgpt-user | claudebot | perplexitybot | bytespiderNo"browser"User-Agent to send: a desktop or mobile browser, or a crawler (Googlebot, Bingbot, GPTBot, ClaudeBot…). Requests still come from our IP addresses.
followbooleanNotrueFollow redirects and check the final page. With false, the first response is checked.
Response

Example response

Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.

response.json
{
  "url": "https://example.com/",
  "finalUrl": "https://example.com/",
  "status": 200,
  "statusText": "OK",
  "ua": "browser",
  "ms": 182,
  "headers": {
    "content-type": "text/html; charset=utf-8",
    "strict-transport-security": "max-age=31536000",
    "cache-control": "max-age=600",
    "server": "cloudflare"
  },
  "security": {
    "strict-transport-security": "max-age=31536000",
    "content-security-policy": null,
    "x-frame-options": null,
    "x-content-type-options": null,
    "referrer-policy": null
  },
  "hsts": {
    "maxAge": 31536000,
    "sub": false,
    "preload": false
  },
  "cookies": [],
  "cdn": "Cloudflare",
  "issues": [
    {
      "level": "ok",
      "key": "iHstsOk",
      "vars": {
        "days": 365
      }
    },
    {
      "level": "warn",
      "key": "iNoCsp"
    },
    {
      "level": "warn",
      "key": "iNoFrame"
    },
    {
      "level": "info",
      "key": "iCdn",
      "vars": {
        "cdn": "Cloudflare"
      }
    }
  ],
  "redirects": []
}
Price and limits

What it costs

What it costs
Price1 credit per call
In US dollarsabout $0.001 · $1 / 1,000
CreditsFree or paid credits
Rate limitFree 10 / min · Plus 60 / min · Pro 300 / min
Free daily cap1,000 calls a day per key on free accounts
ChargedOnly on success — errors and timeouts are free
Use cases

What people build with it

Security reviews

Check every client site for missing security headers.

Cache debugging

See cache and CDN headers as a visitor gets them.

Release checks

Confirm a deploy didn’t drop a header.

FAQ

Frequently asked questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Which request is sent?

A normal GET from our servers, with a user agent that identifies TapCub. Cookies are not sent.

Is a missing header always a problem?

No. The review explains each header so you can decide; some, like CSP, need care before you turn them on.

How much does the HTTP Header Checker API cost?

Each successful call costs 1 credit per call (about $0.001). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.

Can I try it for free?

Yes. New accounts get 300 credits and every account gets 30 free credits a day, and they work on this endpoint. You can also try the matching free tool on tapcub.com without a key.

What are the rate limits?

Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.

How do I get an API key?

Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.

Get your API key

Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.