{"uid":"cap_0PLqIqnDm9l9ct7FJSOeo","slug":"extract-h4-as-csv-9cf0fe2d","name":"extract-h4-as-csv","description":"Extract the page's h4 as csv: fetches the URL, pulls every h4 element and returns them as CSV rows, 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/csv?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_DUXKZESPG4MdLRgUiZATy","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 webpage and extracts all H4 heading elements, returning them as CSV rows with a count","exampleAgentPrompt":"Can you extract all the H4 headings from this page — https://example.com/docs — and give me the results as a CSV?","exampleUseCases":[{"title":"Audit documentation site structure","prompt":"Grab all the H4 headings from https://docs.myproduct.com/api-reference as a CSV so I can audit our documentation's subheading structure."},{"title":"Competitive content analysis","prompt":"Pull every H4 heading from https://competitor.com/pricing as CSV — I want to see what sub-sections they highlight on their pricing page."},{"title":"Feed headings into a data pipeline","prompt":"Extract the H4 tags from https://research-site.org/report-2024 as CSV rows so I can pipe the headings into our content tagging workflow."}],"resultDescription":"A CSV-formatted response where each H4 heading text found on the fetched page is a separate row, along with a count of the total number of H4 elements found. The output is structured for direct use in data pipelines, spreadsheets, or downstream processing without requiring a browser.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no H4 elements — returns empty CSV with a count of zero","URL points to a non-HTML resource (e.g. PDF, image) — H4 parsing yields no results","Malformed or invalid URL provided — request fails immediately","Page requires JavaScript rendering to display H4 elements — server-side fetch misses dynamic content","Payment not included or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you specifically need H4-level headings extracted from a webpage in a CSV format ready for pipelines or spreadsheets. It is ideal for lightweight, no-browser scraping tasks focused on a single heading level. Prefer it over general-purpose scrapers when you want clean, structured CSV output with a count, and when H4 is the relevant semantic level for your content audit, competitive analysis, or document structure mapping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:47:56.290Z","isFirstParty":false,"canonicalSlug":"extract-h4-as-csv-9cf0fe2d"}