{"uid":"cap_kRZsFzQ0XsuyVLe5yfD4E","slug":"extract-headings-as-json-bulk-0acd9c0e","name":"extract-headings-as-json-bulk","description":"Bulk extract headings 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/headings/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_Yk2h0fYQ6Ih_9VA47jzdP","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 extract HTML headings (H1–H6) as JSON from up to 20 URLs in one concurrent call, with per-item errors and a failure count.","exampleAgentPrompt":"I have a list of 15 product pages — can you pull all the headings from each one as JSON in a single batch call and flag any pages that fail?","exampleUseCases":[{"title":"Content audit across competitor pages","prompt":"I need to audit the heading structure of these 18 competitor blog URLs — can you extract all H1 through H6 headings from each one as JSON in one go and tell me which ones failed?"},{"title":"SEO heading analysis for client sites","prompt":"We have 12 client landing pages we need to review for SEO — can you grab all the headings from each URL as JSON so I can check if they're using H1s and H2s correctly?"},{"title":"Automated content indexing pipeline","prompt":"I've got a batch of 20 article URLs from our CMS — extract the headings from all of them as JSON in one call so I can build a section index, and let me know if any pages couldn't be reached."}],"resultDescription":"A JSON array with one entry per input URL, each containing the extracted heading elements (H1–H6 tags and their text) in the same format as the single-URL endpoint. Each item includes a per-item error field if that URL failed, plus an overall failure count summarizing how many URLs could not be processed.","failureModes":["Individual URL unreachable or returns non-200 status — reflected in per-item error field","More than 20 URLs submitted — likely rejected or truncated","URL returns page with no heading elements — empty headings array returned","Network timeout on one or more URLs — per-item error populated, failure count incremented","Malformed or non-HTTP URL in the list — per-item error returned for that item"],"whenToPreferThis":"Choose this endpoint when you have a list of 2–20 URLs and need headings from all of them efficiently in a single API call. It is superior to calling the single-URL endpoint repeatedly because requests are processed concurrently, results are returned in input order, and per-item errors allow partial success without failing the entire batch. Prefer it for content audits, SEO pipelines, and any workflow that accumulates a list of pages to analyze.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:05.283Z","isFirstParty":false,"canonicalSlug":"extract-headings-as-json-bulk-0acd9c0e"}