{"uid":"cap_Pia_eGSsAokGztf5Cu5qw","slug":"halowerk-pfad-redirect-chain-length-check-anchor-b57831bd","name":"HALOWERK pfad – Redirect Chain Length Check (Anchor)","description":"Prüft am Objekt anker den Befund Länge der Weiterleitungskette.","url":"https://pfad.halowerk.com/v1/pruef/pfad/kette/anker?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ziel":{"oneOf":[{"type":"string","maxLength":2048,"minLength":1,"description":"Öffentliche HTTP(S)-Adresse; bei DNS-Befunden Domain oder öffentliche IP."},{"type":"object","required":["adresse"],"properties":{"adresse":{"type":"string","maxLength":2048,"minLength":1},"selektor":{"type":"string","maxLength":240,"minLength":1,"description":"CSS-Selektor: genau ein Objekt, sonst erster Treffer des Objektfilters."},"vergleich":{"type":"string","maxLength":2048,"description":"Öffentliche Vergleichsadresse für Link-, Sitemap- oder Sprachbefunde."},"user_agent":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,80}$"},"dkim_selektor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,63}$"}},"additionalProperties":false}]}}},"responseSchema":null,"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_a5YDd8r2ytKwUqWvd4ioq","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":"Checks the redirect chain length for an anchor (link) object at a given URL, returning a finding about how many hops the redirect chain contains.","exampleAgentPrompt":"Can you check how long the redirect chain is for the anchor links on https://example.com/page — I need to know if any of them are going through more hops than they should?","exampleUseCases":[{"title":"SEO redirect chain audit","prompt":"Check the redirect chain length for the anchor at https://shop.mysite.com/products — I want to make sure none of my internal links are going through more than 2 redirects before reaching the final destination."},{"title":"Broken redirect detection on landing page","prompt":"Can you inspect the redirect chain on the anchor links at https://campaigns.mybrand.com/summer-sale and tell me how many hops each one has? I'm worried some old campaign links might have stacked up too many redirects."},{"title":"Third-party link redirect depth check","prompt":"I need you to check how long the redirect chain is for a specific anchor on https://partner.example.org/referral — use the CSS selector '#cta-button' to target just that link and report back the chain length."}],"resultDescription":"Returns a structured finding indicating the length (number of hops) of the redirect chain encountered when following the target anchor/link at the specified URL. Includes the chain depth count and status of the anchor object, allowing the caller to determine whether the redirect chain is within acceptable bounds.","failureModes":["Target URL is unreachable or returns a non-2xx status — endpoint returns an error finding","CSS selector matches no elements or is ambiguous — first match is used or error returned","URL exceeds maximum length of 2048 characters — validation error","Redirect chain forms an infinite loop — may return a loop-detected error or truncated chain","Private/internal IP addresses or non-public URLs are rejected","Invalid user_agent pattern causes input validation failure"],"whenToPreferThis":"Use this endpoint when you specifically need to measure the redirect chain length for anchor elements on a webpage — particularly for SEO audits, link hygiene checks, or technical quality assurance workflows. Prefer this over generic HTTP redirect checkers when you need to target a specific anchor element via CSS selector on a page, or when you need a structured finding suitable for automated quality pipelines. This is distinct from sibling endpoints that check redirect loops, unreachable targets, or anchor text length.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:38:40.580Z","isFirstParty":false,"canonicalSlug":"halowerk-pfad-redirect-chain-length-check-anchor-b57831bd"}