{"uid":"cap_ioiYj2p_leK3WOoCBNaqG","slug":"extract-inline-code-as-json-bulk-9f0d603a","name":"extract-inline-code-as-json-bulk","description":"Bulk extract inline code 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/inline-code/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_VGph7S-JCg0jvR27jVNT_","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 extracts all inline code elements from each page, returning results as JSON with per-item error fields and a failure count.","exampleAgentPrompt":"Extract all inline code snippets from these 15 documentation pages at once and give me the results as JSON — I need them processed concurrently with any failures flagged per item.","exampleUseCases":[{"title":"Scraping code samples from docs","prompt":"I have a list of 18 API documentation URLs — can you pull all the inline code snippets from each page at the same time and return the results as JSON, flagging any pages that fail?"},{"title":"Auditing inline code across product pages","prompt":"Extract all inline code elements from these 12 product landing pages in one go so I can audit what code examples are being shown to users — mark any pages that couldn't be fetched."},{"title":"Batch code snippet collection for training data","prompt":"I need inline code extracted from these 20 blog posts all at once and returned in input order as JSON, with a count of how many failed, so I can use the snippets as training examples."}],"resultDescription":"A JSON array with one entry per input URL, preserving input order. Each entry contains the extracted inline code elements as JSON (matching the single-URL endpoint output), plus a per-item error field describing any fetch or parse failure. A top-level failure count summarizes how many items errored.","failureModes":["URL is unreachable or returns non-200 status — per-item error field populated, item skipped in results","Page has no inline code elements — returns empty array for that item","More than 20 URLs submitted — likely rejected or truncated","Network timeout on one or more URLs — those items receive error fields","Malformed URL in input list — per-item error returned for that entry"],"whenToPreferThis":"Use this endpoint when you have a list of 2–20 URLs and need inline code extracted from all of them in a single call. It processes all URLs concurrently and returns results in input order with per-item error handling, making it far more efficient than calling the single-URL endpoint repeatedly. Ideal for agents orchestrating batch enrichment pipelines over sets of web pages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:44:46.026Z","isFirstParty":false,"canonicalSlug":"extract-inline-code-as-json-bulk-9f0d603a"}