{"uid":"cap_T_ZWRhOhmAQvVDUjyJ9R0","slug":"agentshelf-profile-rel-edit-link-extractor-9f779443","name":"AgentShelf Profile Rel-Edit Link Extractor","description":"Call when an agent needs link rel=edit hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-edit first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-edit?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.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_w8EC01biMekYCWuRsJl2p","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":"Extracts link[rel=edit] href attributes from a given public page URL or raw HTML string, safely protected against SSRF.","exampleAgentPrompt":"Can you extract the link rel=edit href from this page — https://example.com/users/jane — so I know the edit endpoint for that profile?","exampleUseCases":[{"title":"Discover editable resource endpoint from profile page","prompt":"I have this public profile URL https://cms.example.com/authors/42 — can you pull out the link rel=edit href from it so I can find its edit endpoint?"},{"title":"Parse edit links from raw HTML response","prompt":"Here's the raw HTML I fetched from a feed page — can you extract all the link rel=edit hrefs from it? <html><head><link rel=\"edit\" href=\"https://example.com/entries/5/edit\"/></head></html>"},{"title":"Automate AtomPub edit URL discovery","prompt":"I'm building a workflow that edits AtomPub entries — given the URL https://blog.example.org/posts/2024/hello-world, can you find the rel=edit link so my agent knows where to send the PUT request?"}],"resultDescription":"Returns the extracted href values from link[rel=edit] elements found in the provided URL's page or the submitted raw HTML, enabling downstream agents to discover the edit endpoint for a hypermedia resource.","failureModes":["URL is unreachable or returns non-200 status — endpoint returns an error","URL is blocked due to SSRF safety rules (private/internal IP ranges) — request rejected","HTML contains no link[rel=edit] elements — returns empty result","HTML input exceeds 200,000 character limit — validation error","URL shorter than 8 characters or longer than 2048 characters — validation error","Malformed HTML that cannot be parsed — may return empty or partial result"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover the edit href from a public web page or raw HTML snippet, particularly for AtomPub, WebDAV, or other hypermedia APIs that advertise their edit endpoints via link[rel=edit] in the page head. It is SSRF-safe, making it appropriate for agent pipelines that fetch arbitrary user-supplied URLs. Prefer the free sandbox endpoint (/v1/sandbox/profile-rel-edit) for testing before paying $0.001 USDC per call in production.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:11.228Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-rel-edit-link-extractor-9f779443"}