{"uid":"cap_U4elHq5Vl3hBobQN7ORpo","slug":"extract-scripts-as-json-bulk-80fda4db","name":"extract-scripts-as-json-bulk","description":"Bulk extract scripts 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/scripts/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_P3xVPL8T243pxkfoeMJCd","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-extracts all script elements from up to 20 URLs concurrently and returns results as JSON, one entry per URL with per-item error handling.","exampleAgentPrompt":"Pull all the script tags from these 15 pages and give me back the results as JSON — I need to see which third-party scripts each one loads: [list of URLs].","exampleUseCases":[{"title":"Third-party script audit across site variants","prompt":"I have a list of 18 landing page URLs and I need to know which third-party scripts each one loads — can you extract all the script elements from all of them at once and return the results as JSON?"},{"title":"Competitor JavaScript stack analysis","prompt":"Here are 12 competitor URLs — scrape all the script tags from each page concurrently and give me a JSON breakdown of what scripts they're including, with any errors flagged per URL."},{"title":"Compliance check for tracking scripts","prompt":"I need to verify which tracking or analytics scripts are present across these 20 product pages — extract all script elements from each URL in one batch and return JSON results so I can check for compliance issues."}],"resultDescription":"A JSON array with one entry per input URL, each containing the extracted script elements found on that page (matching the single-URL endpoint's response format), a per-item error field if fetching or parsing failed, and a top-level failure count indicating how many URLs could not be processed.","failureModes":["Individual URL fetch failure returns an error in that item's error field rather than failing the whole batch","Exceeding 20 URLs per call results in rejection or truncation","Unreachable or timeout URLs increment the failure count","Malformed URLs in the input list cause per-item errors","Payment not made results in HTTP 402 response blocking the call"],"whenToPreferThis":"Choose this endpoint when you have a list of 2–20 URLs and need script elements extracted from all of them in a single call with concurrent processing. It is more efficient and cheaper than calling the single-URL endpoint repeatedly, and it returns results in input order with per-item error isolation so one failing URL does not block the rest.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:47.892Z","isFirstParty":false,"canonicalSlug":"extract-scripts-as-json-bulk-80fda4db"}