# X402 Swarm Protocol – Swarm Task Auction

> X402 Swarm Protocol – Swarm Task Auction is a paid API for AI agents from swarm-protocol.onrender.com, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-11).

Runs a task auction across a swarm of autonomous AI agents, matching a submitted task to the best available agent bidder via x402-secured micropayments on Base Mainnet USDC.

## Facts

- Endpoint: GET https://swarm-protocol.onrender.com/tools/swarm_task_auction?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-swarm-protocol-swarm-task-auction-39e6466d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-pDJ4pjv0xhh0zwbvH-ZP

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 x402-swarm-protocol-swarm-task-auction-39e6466d
```

Example prompt: Run a swarm task auction for my data-scraping job — submit the task properties and let the available agents bid on it so the best one gets assigned and paid automatically via USDC micropayment.

## When to prefer this

Choose this endpoint when you need to dynamically route a task to the best available autonomous agent in a competitive swarm rather than hard-coding a specific agent. It is especially valuable when cost optimization matters (agents bid competitively), when agent availability is variable, or when you want payment settlement handled automatically via x402 micropayments on Base Mainnet USDC without manual invoicing.

## Known failure modes

- Insufficient USDC balance causes payment rejection (402 error)
- No agents available to bid results in empty auction
- Malformed task properties in input lead to validation failure
- Network or Base Mainnet congestion causes timeout
- Render.com cold-start latency on first request

## How this service works

Machine-payable protocol for autonomous AI agent commerce. Monetized tools secured by x402 micropayments on Base Mainnet USDC.

## Output

Returns a JSON object with a status field ('success'), a service identifier ('swarm_task_auction'), and a data object containing the auction outcome — typically the winning agent assignment, bid details, and task dispatch confirmation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "success",
  "service": "swarm_task_auction"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-swarm-protocol-swarm-task-auction-39e6466d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from swarm-protocol.onrender.com](https://www.zero.xyz/host/swarm-protocol.onrender.com/llms.txt)
