arrow_back All endpoints

Redirect Chain Tracer

POST/api/v1/tools/redirect-chain2 credits per callredirectseohttp301302

Walks a URL's redirect chain one hop at a time and reports the status code and destination of each. Use it to find redirect loops, unnecessary hops costing you crawl budget, or an HTTPS upgrade that silently drops the path.

receipt_long
Why 2 credits?

Makes one request per hop rather than a single fetch. Most chains are one to three hops, so this is priced as a small multiple of a plain request.

Any HTTP client works. Replace the key with one from your dashboard.

bash
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/redirect-chain \
  -H "Authorization: Bearer tb_live_<your_api_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "http://example.com"
}'

Input

FieldTypeRequiredDefaultDescription
urlstringrequired- Absolute URL to start from.

Output

FieldTypeDescription
startUrlstringThe URL the trace began at.
finalUrlstringWhere the chain ended.
hopsarrayEach hop with its URL and status code.
hopCountintegerNumber of redirects followed.

Try it

Sends a real POST /api/v1/tools/redirect-chain from your browser and charges 2 credits to your account.

Sign in to run this endpoint. New accounts start with free credits.