{"uid":"cap_hOv_FenpiEz5QXbts6lcG","slug":"agentshelf-profile-rel-next-link-extractor-d382e666","name":"AgentShelf Profile Rel-Next Link Extractor","description":"Call when an agent needs link rel=next hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-next first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-next?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.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_-N80ri2TbkJzPGarnvrV8","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":"Extracts `link rel=next` href values from a public web page URL or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you extract the rel=next link from this paginated page — https://example.com/results?page=1 — so I know what URL to fetch next?","exampleUseCases":[{"title":"Paginated search results crawler","prompt":"I'm scraping product listings from https://shop.example.com/products and need to follow all the pages — can you pull the rel=next href from that first page so I can keep going?"},{"title":"Next page link from raw HTML","prompt":"I already have the HTML of a news archive page saved locally — here it is: <html>...</html> — can you find the rel=next link inside it so I can fetch the next batch of articles?"},{"title":"Detect end of pagination","prompt":"Check https://blog.example.com/posts?page=5 and tell me whether there's a rel=next link — I want to know if there are more pages to crawl or if this is the last one."}],"resultDescription":"Returns the href value(s) of any `link rel=next` elements found on the page or in the provided HTML. If no rel=next link is present, returns an empty or null result indicating the end of pagination. The response is SSRF-safe when using the URL input mode.","failureModes":["URL is not publicly accessible or returns a non-200 status — extraction fails","HTML exceeds 200,000 character limit — request rejected","URL string is fewer than 8 characters or malformed — validation error","Page has no rel=next link — returns empty/null result","SSRF-blocked URL (private IP range, localhost, etc.) — rejected by safety filter","Neither url nor html provided — missing required input error"],"whenToPreferThis":"Use this endpoint when you need to reliably extract `link rel=next` pagination hrefs from a live public URL or from raw HTML you already hold, and you want SSRF-safe fetching built in. Prefer the free sandbox endpoint (`POST /v1/sandbox/profile-rel-next`) for testing. Use this paid endpoint when you need production reliability or are processing content at scale via agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:20:30.972Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-rel-next-link-extractor-d382e666"}