{"uid":"cap_tnGHP66QYff2nclTQzAMP","slug":"extract-h2-as-text-499670a0","name":"extract-h2-as-text","description":"Extract the page's h2 as text: fetches the URL, pulls every h2 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/h2/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_MQTbH-hJ0O5dnzknfP3F7","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 H2 heading elements, returning them as plain text lines with a count","exampleAgentPrompt":"Can you grab all the H2 headings from https://example.com/blog and give them to me as plain text lines?","exampleUseCases":[{"title":"Auditing blog section structure","prompt":"Pull all the H2 headings from https://myblog.com/top-10-tips as plain text so I can see how the article is structured."},{"title":"Competitive content analysis","prompt":"Extract every H2 heading from https://competitor.com/services page so I can see what sections they're highlighting to customers."},{"title":"SEO review of page headings","prompt":"Get me all the H2 tags from https://mysite.com/landing-page as plain text — I want to review what secondary headings we're using for SEO."}],"resultDescription":"A plain text response containing each H2 element found on the page listed as individual lines, along with a count of how many H2 elements were extracted.","failureModes":["URL is unreachable or returns a non-200 status — no H2s returned","Page has no H2 elements — returns empty result with count of zero","Payment not processed — request blocked before execution","URL is behind authentication or a bot wall — fetch fails or returns login page content","Malformed or missing URL parameter — returns error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-browser extraction of only H2 headings from a page in plain text format. Ideal for agent pipelines that need structured heading data without the overhead of full-page HTML parsing, and when plain text output (rather than JSON or CSV) best suits the downstream step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:03.712Z","isFirstParty":false,"canonicalSlug":"extract-h2-as-text-499670a0"}