{"uid":"cap_FpFAvc4yB5F2LYAPlRTop","slug":"agentshelf-profile-rel-prev-link-extractor-fea02169","name":"AgentShelf Profile Rel-Prev Link Extractor","description":"Call when an agent needs link rel=prev hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-prev first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-prev?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BIHotsRN7NY3_9lO6aVHv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts link rel=prev href values from a public webpage URL or raw HTML in an SSRF-safe manner.","exampleAgentPrompt":"Can you extract the rel=prev link from this page — https://example.com/blog?page=3 — so I know which page comes before it in the pagination?","exampleUseCases":[{"title":"Crawl paginated blog archives","prompt":"I'm traversing a blog archive and need to walk backwards through all pages. Can you extract the rel=prev href from https://myblog.com/posts?page=5 so I can follow the pagination chain?"},{"title":"Parse prev link from raw HTML","prompt":"I've got some HTML from a news site's article listing page and I need to pull out the link rel=prev href value — here's the HTML: <html><head><link rel='prev' href='/articles?page=2'/></head><body>...</body></html>"},{"title":"SEO pagination audit","prompt":"I'm auditing pagination signals on a site. Can you fetch the rel=prev link from https://shop.example.com/products?page=4 so I can verify the previous-page relationship is correctly declared?"}],"resultDescription":"Returns the extracted href value(s) from any link elements with rel=prev found in the provided URL's page or the supplied raw HTML. If no rel=prev link is present, the response will indicate absence. The result enables agents to navigate paginated content backwards or verify SEO pagination signals.","failureModes":["URL is unreachable or returns a non-200 status — fetch fails with an error","No rel=prev link found in the page or HTML — returns empty or null result","HTML input exceeds 200,000 character limit — request rejected","URL blocked due to SSRF safety restrictions (private IPs, localhost) — returns SSRF guard error","Malformed URL input below minimum length — validation error"],"whenToPreferThis":"Choose this endpoint when you need to reliably extract rel=prev pagination links from either a live public URL or raw HTML content, especially in SSRF-safe contexts. Prefer the unpaid sandbox at POST /v1/sandbox/profile-rel-prev for testing before committing the $0.004 USDC per-call cost. Use this over general-purpose scraping tools when you specifically need link relation extraction without storing data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:55.718Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-rel-prev-link-extractor-fea02169"}