{"uid":"cap_IXpgR4FE9A2amahFJOG27","slug":"delx-commerce-redirect-chain-check-08f04744","name":"Delx Commerce — Redirect Chain Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/redirect-chain-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Urls supplied to Redirect Chain Check; used only for this bounded calculation and processed in memory without retention."},"max_hops":{"type":"integer","description":"Max Hops supplied to Redirect Chain Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"hops":1,"loop":false,"urls":["https://example.com/","https://www.example.com/home"],"within_budget":true,"https_downgrade":false},"schema":"delx/util-redirect-chain-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3453eef3c3df8628e97f753e043dfdda28418550e0e206ceea93554d8b86c83f","external_calls":0},"operation":"web_reliability:redirect_chain_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vz6VA3MjRwCHUSvI6guNT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Traces the full redirect chain for one or more URLs, detecting hops, loops, HTTPS downgrades, and budget overruns","exampleAgentPrompt":"Can you trace the full redirect chain for https://bit.ly/example-link and let me know how many hops it takes, whether there are any redirect loops, and if it ever downgrades from HTTPS to HTTP — limit it to 10 hops max?","exampleUseCases":[{"title":"Short link destination audit","prompt":"Check the redirect chain for https://t.co/abc123 and tell me exactly where it ends up, how many redirects it takes, and whether any step drops down from HTTPS to plain HTTP — cap it at 15 hops."},{"title":"Redirect loop detection before publishing","prompt":"Before I add this affiliate link https://shop.example.com/go?ref=abc to our newsletter, can you verify it doesn't have any redirect loops and resolves cleanly within 5 hops?"},{"title":"Bulk URL reliability check for scraped links","prompt":"I have these three URLs — https://example1.com/r, https://example2.net/track, https://example3.io/click — can you check all of them for redirect loops, HTTPS downgrades, and whether they each resolve within 8 hops?"}],"resultDescription":"Returns a JSON object containing the total hop count, the ordered list of URLs in the redirect chain, a boolean indicating whether a redirect loop was detected, a boolean for HTTPS-to-HTTP downgrade, and whether the chain stayed within the specified hop budget. Also includes an evidence block with the input SHA-256 hash, number of external calls made, and a flag confirming no data was retained.","failureModes":["URL is unreachable or returns a non-redirect response — chain terminates early","Hop limit exceeded before chain resolves — within_budget returns false","Circular redirect loop detected — loop flag set to true","Malformed or excessively long URL in input array — validation error","Network timeout on one of the intermediate hops — partial chain returned","Input array exceeds 256 URLs — request rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, no-signup solution to verify redirect behavior of URLs before using them in automation, publishing, or ingestion pipelines. It is ideal for agents that need to audit affiliate links, short URLs, or scraped links for safety and reliability without standing up infrastructure. Prefer this over general HTTP clients when you need structured output (loop detection, HTTPS downgrade flags, hop counts) rather than raw redirect headers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:39.730Z","isFirstParty":false,"canonicalSlug":"delx-commerce-redirect-chain-check-08f04744"}