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

Website checks API Redirect Checker API

Send a URL and get every hop of its redirect chain with the status code and location, and the final page.

POSThttps://api.pathclue.com/v1/site/redirectsBeta
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/redirects \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"http://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.
compareenumone of: search | ai | mobileNo—Also follow the same URL as a group of user agents and compare where they end up: search (browser, Googlebot, Bingbot), ai (browser, GPTBot, ClaudeBot, PerplexityBot), mobile (browser, Android, Googlebot).
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": "http://example.com/",
  "finalUrl": "https://www.example.com/",
  "status": 200,
  "hops": 2,
  "error": null,
  "ms": 240,
  "ua": "browser",
  "chain": [
    {
      "url": "http://example.com/",
      "status": 301,
      "statusText": "Moved Permanently",
      "kind": "permanent",
      "location": "https://example.com/",
      "ms": 60
    },
    {
      "url": "https://example.com/",
      "status": 302,
      "statusText": "Found",
      "kind": "temporary",
      "location": "https://www.example.com/",
      "ms": 80
    },
    {
      "url": "https://www.example.com/",
      "status": 200,
      "statusText": "OK",
      "kind": "final",
      "location": null,
      "ms": 100
    }
  ],
  "metaRefresh": null,
  "jsRedirect": null,
  "challenge": null,
  "issues": [
    {
      "level": "warn",
      "key": "iChain",
      "vars": {
        "n": 2
      }
    },
    {
      "level": "warn",
      "key": "iTemporary",
      "vars": {
        "codes": "302"
      }
    }
  ]
}
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

Site migrations

Check that every old URL lands on the right new page in one hop.

Ad and affiliate links

Make sure tracking links still reach the landing page.

Short links

See where a short link really goes before you share it.

FAQ

Frequently asked questions

Still have a question?

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

How many hops are followed?

Up to a fixed limit. A chain that is longer, or that loops, is flagged.

Does it follow JavaScript redirects?

No. It follows HTTP redirects, which are what search engines rely on.

How much does the Redirect 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.