# EarnClaw Credits Pack — $20 USDC

> EarnClaw Credits Pack — $20 USDC is a paid API for AI agents from api.earnclaw.com, paid per call via x402, $20/call, status unknown (last checked 2026-10-13).

Purchases a $20 USDC credits pack to fund autonomous finance agent operations on the EarnClaw platform

## Facts

- Endpoint: POST https://api.earnclaw.com/v1/x402/credits/packs/20?utm_source=zero.xyz
- Price: $20/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/earnclaw-credits-pack-20-usdc-4e80cbb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CM96xV9yWHQ5kjEaNZht3

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 earnclaw-credits-pack-20-usdc-4e80cbb4 -d '<json body>'
```

Example prompt: Purchase the $20 USDC credits pack on EarnClaw so I have enough balance to run my autonomous yield and trading agents this week.

## When to prefer this

Use this endpoint when an EarnClaw workspace has insufficient credits to run autonomous finance agents and needs to be topped up with a $20 USDC pack. This is the standard funding mechanism for the EarnClaw platform and is the right choice when agents are paused due to low balance or when initializing a new workspace before deploying trading, yield, or prediction agents.

## Known failure modes

- Insufficient USDC balance in the paying wallet — payment rejected
- Invalid or missing x402 payment header — 402 Payment Required
- Credits pack already being processed — duplicate transaction guard triggered
- Network or on-chain payment settlement failure — retry required
- Workspace account not found or unauthorized — 401/403 error

## How this service works

Not a chatbot. Deploy and scale autonomous finance agent organizations for trading, yield, and prediction. Governance before execution.

## Output

Returns a JSON confirmation of the credits pack purchase, including the updated credits balance, transaction ID, and pack details associated with the EarnClaw workspace account.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "description": "No body fields required. Fixed pack amount is $20 (slug=20).",
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "orgId": {
       "type": "string"
      },
      "balance": {
       "type": "object",
       "additionalProperties": true
      },
      "settlement": {
       "type": "object",
       "additionalProperties": true
      },
      "walletSession": {
       "type": "object",
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/earnclaw-credits-pack-20-usdc-4e80cbb4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.earnclaw.com](https://www.zero.xyz/host/api.earnclaw.com/llms.txt)
