{"uid":"cap_YXlNLSLm_sfht86S8Gexd","slug":"extract-h2-as-json-bulk-b56fd17f","name":"extract-h2-as-json-bulk","description":"Bulk extract h2 as json: up to 20 urls in one call, processed concurrently, results in input order with a per-item error field and a failure count. Same answer per item as the single endpoint. Batch enrichment for agents that hold a list. $0.10 per batch.","url":"https://page.intel.rallylive.ca/bulk/page/h2/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.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Qhmw1nfwujUZIYj4WAxo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Bulk-fetches up to 20 URLs concurrently and returns each page's H2 headings as a JSON array, with per-item errors and a failure count.","exampleAgentPrompt":"Can you pull the H2 headings from all of these 15 URLs at once and give me the results as JSON — I need them grouped by URL with any failures noted?","exampleUseCases":[{"title":"SEO competitor heading audit","prompt":"I have a list of 18 competitor blog posts — can you grab all the H2 headings from each of them in one shot and return the results as JSON so I can compare their content structure?"},{"title":"Content inventory for site migration","prompt":"We're migrating our site and I need to document the H2 section headings from these 20 pages all at once — can you fetch them all concurrently and flag any pages that failed?"},{"title":"News aggregator section labeling","prompt":"I've got 12 news article URLs and I need to extract the H2 subheadings from all of them together in a single batch — return the headings per URL as JSON with any errors highlighted."}],"resultDescription":"A JSON response containing results in the same order as the input URLs. Each item includes the extracted H2 headings as a JSON array (matching the single-URL endpoint output), a per-item error field indicating any fetch or parse failures, and an overall failure count for the batch.","failureModes":["Invalid or unreachable URL in batch — per-item error field is populated, does not abort the whole batch","More than 20 URLs submitted — likely rejected or truncated","Payment not provided or invalid — x402 payment required error returned","Target page has no H2 elements — returns empty array for that item","Target page blocks scraping (403/bot detection) — per-item error field populated"],"whenToPreferThis":"Use this endpoint when you already have a list of URLs (up to 20) and need H2 headings from all of them in a single network round-trip. It is more efficient and cost-effective than calling the single-URL H2 endpoint repeatedly. Prefer it for bulk content audits, SEO analysis pipelines, competitive research, and any agent workflow that accumulates a list of pages before processing. The concurrent execution and ordered results with per-item error reporting make it robust for production batch enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:16:33.883Z","isFirstParty":false,"canonicalSlug":"extract-h2-as-json-bulk-b56fd17f"}