{"uid":"cap_Gctg4pmMZAY63w4WboYU7","slug":"2s-batch-run-multi-endpoint-batch-executor-a6208df8","name":"2s Batch Run — Multi-Endpoint Batch Executor","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/batch/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calls":{"type":"array","description":"1–50 sub-calls, each { endpoint: dotted-id, params: object }."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GT30SU6y1MXQZweDaqBut","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Execute 1–50 sub-calls across 2s.io's ground-truth data endpoints in a single batched HTTP request, paying per sub-call in USDC via x402.","exampleAgentPrompt":"I need to run three lookups at once — decode VIN 1HGBH41JXMN109186, look up the crypto price for ETH, and do a public records search for John Smith in California — can you batch all three sub-calls together into one 2s.io batch/run request?","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'meta' block containing the call count and total_price_usd, and an 'items' array where each element has its own 'ok' flag, the 'endpoint' dotted-id that was called, the 'data' object with that sub-call's response payload, and the individual 'price_usd' charged for that sub-call.","failureModes":["One or more sub-calls fail (individual item ok=false) while others succeed — partial success is possible","Exceeds 50 sub-calls limit — request rejected","Invalid or unknown endpoint dotted-id in a sub-call — that item returns error","Insufficient USDC balance or x402 payment failure — entire batch rejected","Malformed params object for a sub-call — that item returns validation error"],"whenToPreferThis":"Use this endpoint when you need to invoke multiple 2s.io sub-endpoints in a single round-trip to reduce latency and simplify payment — instead of making separate HTTP calls for each. Ideal for AI agent pipelines that need to fan out across domains (e.g. finance + public records + geo) and aggregate results. Not suitable if you only need a single endpoint call, in which case using the individual endpoint directly may be simpler.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T03:43:29.648Z","isFirstParty":false}