{"uid":"cap_YZVa7oFbfyLmEDbi3YRL1","slug":"agentshelf-url-expander-fb9cd4a1","name":"AgentShelf URL Expander","description":"Call when an agent needs to follow redirects (max 5, SSRF-safe HEAD/GET) and receive final_url, status, and redirect_chain. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/url-expand first.","url":"https://agentshelf.syntexa.ch/v1/url-expand?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","examples":["https://example.com/"],"maxLength":2048,"minLength":8,"description":"Public http(s) URL to fetch. Private, localhost, link-local, and metadata hosts are rejected."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oanUJm4zVIBlADvhIoIcj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Follows up to 5 redirects on a given URL (SSRF-safe, HEAD/GET only) and returns the final resolved URL, HTTP status, and the full redirect chain.","exampleAgentPrompt":"Can you follow all the redirects on this link — https://bit.ly/3xQmAbZ — and tell me the final URL it lands on and every hop along the way?","exampleUseCases":[{"title":"Resolving a shortened tracking link","prompt":"I got this link in an email: https://t.co/abc123xyz — can you trace where it actually redirects to and show me each step of the redirect chain?"},{"title":"Verifying affiliate redirect destination","prompt":"Before I click this affiliate link https://go.partnerstack.com/xyz, can you resolve all its redirects and tell me the final URL it lands on?"},{"title":"Auditing suspicious link before sharing","prompt":"Someone sent me this URL https://cutt.ly/Rk9xPwM and I want to know where it actually goes — can you follow all the hops and give me the final destination and status?"}],"resultDescription":"Returns the resolved final_url after following up to 5 redirects, the HTTP status code at the final destination, and a redirect_chain array listing every intermediate URL visited along the way.","failureModes":["URL that triggers more than 5 redirects will be cut off at the limit","SSRF-blocked addresses (private IPs, localhost) will be rejected for security reasons","Malformed or too-short URLs (under 8 chars) will fail input validation","Network timeouts or unreachable hosts will return an error status","URLs returning non-redirect 4xx/5xx responses at any hop will surface that status"],"whenToPreferThis":"Choose this endpoint when you need to safely resolve a URL through its full redirect chain and get the canonical final destination — especially for shortened links, tracking URLs, or affiliate redirects. It is SSRF-safe, making it appropriate for automated agent pipelines where untrusted URLs may be submitted. Prefer the free POST /v1/sandbox/url-expand first if available; use this paid endpoint when the sandbox is unavailable or when you need production reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:23:34.850Z","isFirstParty":false,"canonicalSlug":"agentshelf-url-expander-fb9cd4a1"}