{"uid":"cap_ujXpW7zL5TY8-dkSkm3Dz","slug":"agentshelf-xpath-h6-text-extractor-e5aca413","name":"AgentShelf XPath H6 Text Extractor","description":"Call when an agent needs text of //h6 via //h6 from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/xpath-h6 first.","url":"https://agentshelf.syntexa.ch/v1/xpath-h6?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_JuLCcDQbfTc15Z8tgBg78","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 text content from H6 elements on a public webpage or provided HTML using XPath, returning the matched text values.","exampleAgentPrompt":"Can you extract all the H6 heading text from https://example.com/docs — I need every h6 element's text from that page.","exampleUseCases":[{"title":"Extract section labels from docs page","prompt":"Grab all the h6 headings from https://docs.example.com/api-reference — I want to see every small section label on that page."},{"title":"Parse H6 tags from raw HTML","prompt":"I have some raw HTML here — can you pull out all the h6 element text from it? Here's the HTML: <html>...<h6>Step 1</h6><h6>Step 2</h6>...</html>"},{"title":"Audit heading hierarchy on a website","prompt":"Check https://blog.acme.com/product-update and tell me all the H6 subheadings used in the article — I'm auditing the heading structure."}],"resultDescription":"Returns the text content of all H6 elements found on the page or in the provided HTML, extracted via XPath (//h6). Typically a list or array of matched text strings from each H6 tag.","failureModes":["URL is not publicly accessible or returns a non-200 status — extraction fails","SSRF-protected URLs (internal/private IPs) are blocked and return an error","No H6 elements found on the page — returns empty result","HTML input exceeds 200,000 character limit — request rejected","Malformed or invalid HTML may yield incomplete extraction","URL exceeds 2048 character limit — request rejected"],"whenToPreferThis":"Use this endpoint when you specifically need to extract H6-level heading text from a webpage or raw HTML. It is SSRF-safe and purpose-built for H6 XPath queries, making it preferable to general-purpose scrapers when you only need H6 content. Try the free sandbox endpoint (/v1/sandbox/xpath-h6) first before paying $0.003 USDC per call on this paid version.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:45:18.847Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-h6-text-extractor-e5aca413"}