{"uid":"cap_mP5UncSXejmnHs-uEvQhy","slug":"extract-h1-as-text-0743940d","name":"extract-h1-as-text","description":"Extract the page's h1 as text: fetches the URL, pulls every h1 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/h1/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_0SMeUA1UZ2DRAGCG2f11p","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 H1 heading elements as plain text lines with a count","exampleAgentPrompt":"Can you pull all the H1 headings from https://example.com and give me them as plain text lines?","exampleUseCases":[{"title":"SEO audit H1 check","prompt":"Grab the H1 heading from https://www.acmecorp.com and tell me what it says — I want to audit whether our main page title is set correctly."},{"title":"Competitor page headline monitoring","prompt":"Fetch the H1 headings from https://competitor.com/landing-page and return them as plain text so I can see how they're positioning their product."},{"title":"Content pipeline page indexing","prompt":"Extract all H1 elements from https://blog.example.com/article-1 as plain text lines — I need the heading and count for my content indexing pipeline."}],"resultDescription":"Returns all H1 elements found on the fetched page as plain text lines, one per H1 element, along with a count of how many H1 tags were found. No HTML markup is included in the output.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page has no H1 elements — returns count of 0 and empty lines","URL requires JavaScript rendering — since no browser is used, JS-rendered H1s may not be captured","Malformed or missing URL parameter — returns a validation error","Rate limiting or payment failure — call not processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, structured extraction of only H1 headings from a page without spinning up a browser or full-page scraper. It is ideal for SEO audits, content pipelines, and agent workflows that need just the primary heading text cheaply ($0.01/page) and reliably. Prefer this over full-page scrapers when you only need H1 data and want clean plain-text output rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:44.002Z","isFirstParty":false,"canonicalSlug":"extract-h1-as-text-0743940d"}