# Tanship PayAI Console — Queue Batch Endpoint

> Tanship PayAI Console — Queue Batch Endpoint is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-11).

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.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/queue/batch?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-queue-batch-endpoint-a37073ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fo5dIniY7sCu_LRUi3BZ3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanship-payai-console-queue-batch-endpoint-a37073ec -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-queue-batch-endpoint-a37073ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
