{"uid":"cap_6S6attLdYXLOuayUfFCTL","slug":"extract-api-batch-url-extraction-up-to-10-urls-c05f3613","name":"Extract API – Batch URL Extraction (up to 10 URLs)","description":"Paid web & document extraction (single or batch), rendering, screenshots, URL-to-PDF and site intelligence for AI agents. Payment via x402 (HTTP 402) in USDC on Base (eip155:8453). $0.01 per extract/sitemap/feed, $0.02 per render/screenshot/pdf, $0.03 per site-intel, $0.05 per 10-URL batch.","url":"https://extract-x402.vercel.app/v1/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"maxItems":10,"minItems":1,"description":"Absolute http(s) URLs, 1-10 per call"}}},"responseSchema":{"type":"json","example":{"ok":2,"type":"batch","count":2,"failed":0,"results":[{"ok":true,"url":"https://example.com/a","data":{"type":"html","title":"A","markdown":"# A ...","wordCount":120}},{"ok":false,"url":"https://example.com/b","error":"upstream responded 404"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ocgNZzHKVoknZ3JBbnDGh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts content (title, markdown, word count) from 1–10 URLs in a single paid call, returning structured results per URL with per-item success/failure status.","exampleAgentPrompt":"Grab the content from these three pages for me — https://example.com/article1, https://example.com/article2, and https://example.com/article3 — and give me the title and readable text from each one.","exampleUseCases":[{"title":"Research digest from multiple sources","prompt":"I have five news article URLs I want to summarize — can you fetch and extract the full text from all of them at once so I can compare their coverage? Here are the URLs: https://site1.com/story, https://site2.com/story, https://site3.com/story, https://site4.com/story, https://site5.com/story."},{"title":"Competitor product page monitoring","prompt":"Pull the content from these six competitor product pages and return the markdown text and titles for each one so I can see what they're currently saying: https://compA.com/product, https://compB.com/product, https://compC.com/product, https://compD.com/product, https://compE.com/product, https://compF.com/product."},{"title":"Training data collection for LLM pipeline","prompt":"I need to build a dataset — please extract the text from these 10 URLs and give me back the markdown and word count for each one, flagging any that fail: https://source1.com/p1, https://source2.com/p2, https://source3.com/p3, https://source4.com/p4, https://source5.com/p5, https://source6.com/p6, https://source7.com/p7, https://source8.com/p8, https://source9.com/p9, https://source10.com/p10."}],"resultDescription":"A JSON object with an overall count of successes and failures, plus a results array where each entry contains the URL, an ok boolean, and on success: the page title, markdown-formatted body text, and word count. Failed entries include an error message describing why extraction failed (e.g. upstream 404).","failureModes":["Individual URLs return ok:false with an error string if the upstream server responds with 4xx/5xx","Entire request rejected if the array contains 0 or more than 10 URLs","Payment failure via x402 if insufficient USDC balance on Base","Timeout if upstream pages are slow to respond","Malformed or non-http(s) URLs may be rejected or return extraction errors"],"whenToPreferThis":"Choose this endpoint when you need to extract readable content from multiple web pages in one API call (up to 10 URLs) rather than issuing separate single-URL requests. It is ideal for batch research, competitive intelligence, or dataset construction workflows where efficiency and per-URL success reporting matter. Prefer the single-extract endpoint for one-off pages; use this batch endpoint when processing 2–10 URLs to save round-trips and cost ($0.05 flat vs $0.01 × N individually).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:34:38.924Z","isFirstParty":false,"canonicalSlug":"extract-api-batch-url-extraction-up-to-10-urls-c05f3613"}