# x402 Agent Suite Budget Allocator

> x402 Agent Suite Budget Allocator is a paid API for AI agents from x402-agent-suite-production.up.railway.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-01).

Distributes a shared USDC pool across a fleet of agents based on each agent's priority, requested amount, and remaining daily budget.

## Facts

- Endpoint: POST https://x402-agent-suite-production.up.railway.app/api/budget-allocator/run?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-suite-budget-allocator-4b132573
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_seNjyucfgxIhyFmNb3rh_

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-agent-suite-budget-allocator-4b132573 -d '<json body>'
```

Example prompt: I have a fleet (fleetId: 'fleet-alpha-01') with 3 agents — agent-1 at priority 10 requesting 0.50 USDC with 1.00 USDC daily remaining, agent-2 at priority 5 requesting 0.30 USDC with 0.80 USDC daily remaining, and agent-3 at priority 8 requesting 0.20 USDC with 0.60 USDC daily remaining — and my pool has 0.75 USDC left; can you allocate the pool across those agents based on priority?

## When to prefer this

Use this endpoint when managing a multi-agent fleet that shares a common USDC spending pool and you need an automated, priority-weighted allocation decision rather than manually dividing funds. Ideal for agentic orchestration systems that need to enforce budget constraints across heterogeneous agents with different priorities and daily limits.

## Known failure modes

- Pool remaining USDC is zero or negative — allocation cannot proceed
- Agent list is empty — no agents to allocate to
- Requested amounts sum to zero — nothing to distribute
- Missing required agent fields (agentId, priority, requestedUsdc, dailyRemainingUsdc) — validation error
- Payment of $0.03 USDC fails or is not provided — 402 Payment Required
- Invalid fleetId format — request rejected

## How this service works

Allocates budgets across specified categories or goals with a paid run request.

## Output

Returns a budget allocation plan showing how much USDC each agent in the fleet should receive from the shared pool, factoring in their priority scores, requested amounts, and daily remaining limits.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-suite-budget-allocator-4b132573/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-suite-production.up.railway.app](https://www.zero.xyz/host/x402-agent-suite-production.up.railway.app/llms.txt)
