# Stablecoin & Yield Option Comparator

> Stablecoin & Yield Option Comparator is a paid API for AI agents from x402toll.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Ranks up to 10 stablecoin or yield-bearing options by projected return over a specified time horizon given each option's APY.

## Facts

- Endpoint: POST https://x402toll.com/v1/crypto/yield-compare
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-yield-option-comparator-3ed3b2cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kkgUTfTNQeu2oaGS1Utb2

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 stablecoin-yield-option-comparator-3ed3b2cc -d '<json body>'
```

Example prompt: I have $10,000 to put into crypto yield products — compare these 5 options over 2 years: USDC on Coinbase at 4.5% APY, Aave USDC at 6.2%, Morpho at 7.1%, Sky Savings at 5.8%, and Compound at 5.3%. Rank them by projected return.

## When to prefer this

Use this endpoint when a user wants to compare multiple crypto yield or stablecoin savings products side-by-side ranked by projected return. Ideal for DeFi portfolio decisions, stablecoin allocation choices, or any scenario requiring a ranked APY comparison across several options over a specific time horizon. Prefer over manual calculations when 3+ options need to be evaluated at once.

## Known failure modes

- Missing required apyPct field in one or more options — returns 400 validation error
- More than 10 options submitted — exceeds maxItems constraint
- No options provided — fails minItems:1 constraint
- Non-numeric apyPct or years values — schema validation error
- Insufficient USDC balance for $0.05 payment — x402 payment failure

## How this service works

Rank up to 10 stablecoin/yield options by projected return over a horizon at each stated APY.

## Output

A ranked list of up to 10 yield options ordered by projected return over the specified horizon, showing each option's name, APY, and calculated earnings on the given principal in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "years": {
   "type": "number",
   "default": 1
  },
  "options": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "apyPct"
    ],
    "properties": {
     "name": {
      "type": "string"
     },
     "apyPct": {
      "type": "number"
     }
    }
   },
   "maxItems": 10,
   "minItems": 1
  },
  "principalUsd": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-yield-option-comparator-3ed3b2cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402toll.com](https://www.zero.xyz/host/x402toll.com/llms.txt)
