{"uid":"cap_It8GhNV0tRL5JHj5ghLCR","slug":"redirect-chain-check-e3f9099a","name":"Redirect Chain Check","description":"Redirect Chain Check: Redirect Chain Check checks a caller-supplied redirect chain for loops, downgrade, and hop budget from bounded caller-supplied values without an external provider. Call Redirect Chain Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Redirect Chain Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party,…","url":"https://api.delx.ai/api/v1/x402/redirect-chain-check","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_ibKLXX8Fx6Ney8gEl616Q","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":"Validates a supplied list of URLs as a redirect chain, detecting loops, protocol downgrades, and hop-count budget violations — returning a deterministic pass/advisory verdict.","exampleAgentPrompt":"Check this redirect chain for loops, protocol downgrades, and hop budget with a max of 10 hops: ['https://example.com', 'http://example.com/page', 'https://example.com/final'] — tell me if it passes or has any issues.","exampleUseCases":[{"title":"Detecting redirect loop before caching","prompt":"Before I cache this response, check this redirect chain for loops: ['https://site.com/a', 'https://site.com/b', 'https://site.com/a'] — use a max of 5 hops and tell me if there's a loop."},{"title":"Enforcing hop budget in a crawler","prompt":"I'm crawling a site and got this redirect sequence — can you check it against a max of 8 hops and flag if the budget is exceeded: ['https://shop.com', 'https://shop.com/redirect1', 'https://shop.com/redirect2', 'https://shop.com/redirect3']?"},{"title":"Security check for protocol downgrade","prompt":"This user-supplied redirect chain might be downgrading from HTTPS to HTTP — check it with a max of 6 hops and tell me if there's a downgrade: ['https://secure.com', 'http://insecure.com/page', 'https://secure.com/final']."}],"resultDescription":"Returns versioned deterministic JSON containing normalized web evidence from the chain, individual findings for loop detection, protocol downgrade, and hop budget compliance, plus an explicit overall pass or advisory status verdict.","failureModes":["Malformed or non-URL strings in the urls array may produce parsing errors","Exceeding maxItems of 256 URLs returns a validation error","max_hops not supplied may default to an internal limit or return an error","Payment failure via x402 protocol blocks the call","Very large URL strings (near 8192 char limit) may be truncated or rejected"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, stateless, in-memory validation of a redirect chain without making any live HTTP requests — ideal for pre-flight checks before accepting, caching, or retrying a web response. Prefer it over live redirect-following tools when you already have the chain and need a structured, versioned, auditable verdict with explicit pass/advisory status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:17:15.504Z","isFirstParty":false}