{"uid":"cap_Fo5dIniY7sCu_LRUi3BZ3","slug":"tanship-payai-console-queue-batch-endpoint-a37073ec","name":"Tanship PayAI Console — Queue Batch Endpoint","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/queue/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lXY70oftqT6WED0if9QS5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits a batch of HTTP-typed tasks to a payment-gated queue for AI or browser automation processing via the x402 micropayment protocol on Base.","exampleAgentPrompt":"Queue a batch of POST tasks for browser automation through Tanship's PayAI — send the job as a JSON body and pay with USDC on Base via x402.","exampleUseCases":[{"title":"Batch AI data extraction jobs","prompt":"I need to submit a batch of web scraping tasks to Tanship's queue — each one is a POST with a JSON body. Pay the $0.008 per call in USDC automatically and queue them all up."},{"title":"Automated form submission pipeline","prompt":"Queue up a batch of form-data POST requests through Tanship's PayAI automation queue so they run in the background — use the x402 micropayment to cover the cost."},{"title":"Parallel browser automation dispatch","prompt":"Dispatch a batch of browser automation tasks to the Tanship PayAI queue with JSON bodies — I want them all submitted in one go and paid for with USDC on Base."}],"resultDescription":"Returns a confirmation of the queued batch, including job identifiers or status indicators for each submitted task. May include queue position or estimated processing metadata.","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required with x402 payment details","Malformed input object missing required fields (type, method, bodyType, body) — returns 400 Bad Request","Invalid bodyType enum value — returns 400 validation error","Network or blockchain payment verification failure — returns 402 or 503","Queue capacity exceeded — returns 429 or 503"],"whenToPreferThis":"Choose this endpoint when you need to submit multiple AI or browser automation tasks in a single batch call, particularly in agentic pipelines where per-call USDC micropayments via x402 are acceptable and you want asynchronous or queued execution rather than synchronous responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:08.677Z","isFirstParty":false,"canonicalSlug":"tanship-payai-console-queue-batch-endpoint-a37073ec"}