{"uid":"cap_8X7CvW2cOpy12_KA_FJGU","slug":"agentshelf-xpath-h3-extractor-ecb1cce9","name":"AgentShelf XPath H3 Extractor","description":"Call when an agent needs text of //h3 via //h3 from a public page or HTML (SSRF-safe). Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/xpath-h3 first.","url":"https://agentshelf.syntexa.ch/v1/xpath-h3?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vDzyxvBfkHkOAJA7pfPdy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all h3 heading text from a public web page or raw HTML using XPath, with SSRF protection.","exampleAgentPrompt":"Can you pull all the h3 headings from https://example.com/blog/article and give me a list of the text?","exampleUseCases":[{"title":"Extract article subsection headings","prompt":"Grab all the h3 headings from https://docs.python.org/3/library/functions.html so I can see what subsections are covered."},{"title":"Parse product category names from HTML","prompt":"Here's some HTML from an e-commerce page — can you extract all the h3 headings from it so I can see the product category names? <html>...</html>"},{"title":"Audit competitor page structure","prompt":"Pull all the h3 headings from https://www.competitor.com/features so I can see how they organize their feature page."}],"resultDescription":"A list of text strings, one per h3 element found in the page or HTML, in document order. Returns an empty list if no h3 elements are present.","failureModes":["URL points to a private/internal IP range and is rejected (SSRF protection)","URL is unreachable or returns a non-200 response","HTML is malformed and no h3 elements can be parsed","Input exceeds maxLength constraints (URL > 2048 chars or HTML > 200000 chars)","Page requires JavaScript rendering and h3 elements are injected dynamically (not present in raw HTML)"],"whenToPreferThis":"Use this endpoint when you specifically need h3-level headings only, rather than all heading levels (h1–h6). Prefer this over a general headings endpoint when you want a narrower, structured extraction of subheadings. Choose the paid /v1/xpath-h3 only after exhausting the free /v1/sandbox/xpath-h3 alternative. Best suited when you already have raw HTML or a public URL and need a lightweight, SSRF-safe extraction without running your own parser.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:57.457Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-h3-extractor-ecb1cce9"}