{"uid":"cap_inMQeLTjvxD086YVcEX_8","slug":"agentshelf-xpath-mark-extractor-d464f5f5","name":"AgentShelf XPath-Mark Extractor","description":"Call when an agent needs text of //mark via //mark from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/xpath-mark first.","url":"https://agentshelf.syntexa.ch/v1/xpath-mark?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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0UOgVa2cH-tWdMPu-maSH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text content from a public web page or raw HTML using XPath //mark selectors, with SSRF protection.","exampleAgentPrompt":"Can you extract all the highlighted (mark-tagged) text from this page: https://example.com/article — I need just the text inside the mark elements.","exampleUseCases":[{"title":"Extract highlighted terms from article","prompt":"Go to https://docs.example.com/guide and pull out all the text that's highlighted — the stuff inside mark tags — I want to see what the authors emphasized."},{"title":"Parse mark annotations from raw HTML","prompt":"I have some raw HTML from a report — here it is — can you extract all the text that's wrapped in mark elements so I can see the annotated sections?"},{"title":"Identify emphasized text for summarization","prompt":"Fetch https://research.example.org/paper and give me only the marked or highlighted text passages so I can quickly get the key takeaways without reading the whole thing."}],"resultDescription":"Returns the text content extracted from //mark XPath-matched elements found within the provided URL's page or the supplied HTML string.","failureModes":["URL is not publicly accessible or returns non-200 status","HTML input exceeds 200,000 character limit","URL flagged as SSRF risk (private/internal addresses blocked)","No mark elements found in the document (empty result)","Malformed HTML that cannot be parsed","URL string too short (under 8 characters) or too long (over 2048 characters)"],"whenToPreferThis":"Use this endpoint when you need to extract specifically the content of HTML mark elements (highlighted/annotated text) from a public URL or raw HTML blob, and you want SSRF-safe fetching. Prefer the free sandbox endpoint /v1/sandbox/xpath-mark first for testing; switch to this paid endpoint ($0.007 USDC) for production or rate-limited scenarios.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:23.029Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-mark-extractor-d464f5f5"}