{"uid":"cap_Q9iEQX-BxyuWUTsiinHl1","slug":"402utils-batch-endpoint-c9e38ce6","name":"402utils Batch Endpoint","description":"Run up to 10 internal calls in one payment: POST {calls:[{path,input}]} and pay the SUM of the internal prices (≤ $0.05 total), executed in parallel, results returned in order. Batchable endpoints are the local, deterministic ones (validators, format transforms, time/locale) — no browser, network, composite or dynamic endpoints. Each result carries {path, status, body}; a bad request (unknown path, >10 calls, over cap) is a 400, not charged.","url":"https://402utils.com/v1/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calls":{"type":"array","items":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Batchable endpoint path, e.g. /v1/iban-check."},"input":{"type":"object","description":"The call's input (query params for GET, JSON body for POST)."}}},"description":"1–10 calls. `path` must be a batchable endpoint; `input` is its query params (GET) or JSON body (POST)."}}},"responseSchema":{"type":"json","example":{"results":[{"body":{"valid":true,"country":"FR"},"path":"/v1/iban-check","status":200},{"body":{"valid":true,"checksumValid":true},"path":"/v1/routing-check","status":200}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0oF3_u5vrsu5nBrCtA5Bt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Execute up to 10 batchable 402utils calls in a single paid request, running them in parallel and returning all results in order","exampleAgentPrompt":"Run three 402utils calls at once for me: validate IBAN GB29NWBK60161331926819, convert this YAML snippet to JSON, and check robots.txt compliance for https://example.com/page — bundle them all into one batch request so I only pay once.","exampleUseCases":[{"title":"Batch validate customer data fields","prompt":"I need to validate a bunch of customer records all at once—check if their IBAN is valid, confirm their email format is correct, and verify their phone number matches E.164 format. Can you run all three validators together in a single batch so I only get charged once?"},{"title":"Convert multiple config formats quickly","prompt":"I've got a YAML config file, a CSV data export, and some XML that all need to be JSON. Can you convert all three of them in parallel in one request? That way we save on round trips and I pay one flat rate."},{"title":"Validate and transform in one call","prompt":"Check if these five email addresses are valid and also convert them all to lowercase in a single batch operation. I want to process them together without making separate requests for validation and transformation."}],"resultDescription":"An array of result objects in the same order as the input calls, each containing {path, status, body}. The total charge is the sum of the individual endpoint prices (capped at $0.05). A 400 error is returned (without charge) if any call references an unknown path, the array exceeds 10 calls, or the total price cap is exceeded.","failureModes":["400 if any path is unknown or not batchable (e.g. browser/network/composite endpoints)","400 if more than 10 calls are submitted","400 if the summed price would exceed $0.05","400 if the calls array is empty or malformed","Individual call failures appear as non-2xx status in that call's result object without failing the whole batch","Payment failure or insufficient funds prevents execution entirely"],"whenToPreferThis":"Use this endpoint when you need to invoke multiple 402utils batchable endpoints (validators, format transforms, time/locale) in a single round trip, saving latency and consolidating payment. Ideal when you have 2–10 independent, local, deterministic operations that don't depend on each other's results. Not suitable for browser-based, network-fetching, or composite/dynamic endpoints like link verification or image resize.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:38:57.271Z","isFirstParty":false,"canonicalSlug":"402utils-batch-endpoint-c9e38ce6"}