{"uid":"cap_jcMYDp5rfUTjRDLjZJUPw","slug":"extract-h4-as-text-dfd8541c","name":"extract-h4-as-text","description":"Extract the page's h4 as text: fetches the URL, pulls every h4 element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/h4/text?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_6K_d8LxR2-_HDUJHN5ppd","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":"Fetches a web page and extracts all H4 heading elements, returning them as plain text lines with a count.","exampleAgentPrompt":"Can you grab all the H4 headings from this page as plain text lines: https://example.com/article?","exampleUseCases":[{"title":"Audit document structure of a site","prompt":"Pull all the H4 headings from https://docs.example.com/overview so I can see how the page is structured without loading it in a browser."},{"title":"Pipeline ingestion of page subheadings","prompt":"Fetch the H4 tags from https://blog.company.com/post/2024-q1-review and give me each one as a plain text line with a total count — I need this for my data pipeline."},{"title":"Research competitor page hierarchy","prompt":"Extract every H4 heading from https://competitor.com/features so I can analyze what subsections they highlight on their product page."}],"resultDescription":"A list of plain text lines, one per H4 element found on the page, along with a count of how many H4 elements were extracted. No HTML markup is included — just the raw text content of each heading.","failureModes":["Page not reachable or returns non-200 status — empty result or error response","Page has no H4 elements — returns empty list with count of 0","URL is malformed or missing — request validation error","Page blocks crawlers or returns captcha — may return empty or partial results","Very large pages may time out or return incomplete results"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, structured extraction of H4 headings specifically, without spinning up a browser or parsing full HTML yourself. It is ideal for pipelines and agents that need only the fourth-level headings of a page in plain text format at a low cost ($0.01/page). Prefer it over general-purpose scrapers when you want a clean, count-annotated list of H4 text with minimal overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:57.921Z","isFirstParty":false,"canonicalSlug":"extract-h4-as-text-dfd8541c"}