{"uid":"cap_71DaeNbqyMvWDCcY1Vfry","slug":"extract-h4-as-json-91f7222f","name":"extract-h4-as-json","description":"Extract the page's h4 as json: fetches the URL, pulls every h4 element and returns them as a JSON array, 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/json?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_6Wbw4UUtrm-ZUOHcn8t1O","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 returns all H4 heading elements as a structured JSON array with a count","exampleAgentPrompt":"Can you grab all the H4 headings from https://example.com/article and return them as a JSON list so I can see how many there are and what they say?","exampleUseCases":[{"title":"Audit page heading structure","prompt":"Fetch all the H4 headings from https://docs.mycompany.com/guide and give me a JSON list so I can review how the page is structured."},{"title":"Content extraction for data pipeline","prompt":"Pull every H4 element from https://blog.example.com/top-tools as JSON — I need the headings and a count to feed into my content indexing pipeline."},{"title":"Competitive research on page topics","prompt":"Extract all H4 headings from https://competitor.com/features as JSON so I can see what sub-topics they're covering on that page."}],"resultDescription":"A JSON object containing an array of all H4 text strings found on the fetched page and a numeric count of how many H4 elements were found.","failureModes":["URL is unreachable or returns a non-200 status — empty result or error response","Page has no H4 elements — returns an empty array with count 0","URL is paywalled or requires authentication — content not accessible","Rate limiting or network timeout on the target server — fetch failure","Malformed URL input — request error returned"],"whenToPreferThis":"Choose this endpoint when you need only H4 headings from a page in structured JSON format without a browser, especially for pipelines, agents, or automation where clean structured output is required and no JavaScript rendering is needed. Prefer over full-page scrapers when you only need this specific heading level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:53.522Z","isFirstParty":false,"canonicalSlug":"extract-h4-as-json-91f7222f"}