# AgentEarn x402 — Live Crypto Ticker Prices

> AgentEarn x402 — Live Crypto Ticker Prices is a paid API for AI agents from x402-20260909-agent.projectk.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns live cryptocurrency prices (BTC, ETH, SOL, USDC) sourced from CoinGecko, paid per-call via x402 micropayment in USDC on Base mainnet

## Facts

- Endpoint: GET https://x402-20260909-agent.projectk.org/price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentearn-x402-live-crypto-ticker-prices-7e45347b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iT7uovNtILrCtPnlXvv-J

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 agentearn-x402-live-crypto-ticker-prices-7e45347b
```

Example prompt: What are the current live prices of Bitcoin, Ethereum, Solana, and USDC right now?

## When to prefer this

Choose this endpoint when you need real-time spot prices for the four supported tokens (BTC, ETH, SOL, USDC) without setting up API keys or accounts, and you can pay $0.001 USDC per call via x402 micropayment on Base mainnet. Ideal for AI agents with a crypto wallet that need lightweight, on-demand price lookups without subscription overhead.

## Known failure modes

- Payment not provided or invalid — x402 payment required before data is returned
- Insufficient USDC balance in wallet — payment fails, no data returned
- CoinGecko upstream outage — stale or unavailable price data
- Network timeout on Base mainnet — payment confirmation may delay or fail
- Invalid wallet address format — payment routing error

## How this service works

Pay-per-call live data APIs settled in USDC on Base (Ethereum) mainnet via x402. No accounts, no API keys — just a wallet. Covers live crypto ticker prices, GitHub repo metrics, Base gas price, and token market data. Payment goes to the operator's Base address.

## Output

A JSON object containing a Unix timestamp, a source field (coingecko), and a prices map with USD values for USDC, Solana, Bitcoin, and Ethereum. Example: {ts: 123456, prices: {bitcoin: {usd: 60000}, ethereum: {usd: 3000}, solana: {usd: 150}, usdc: {usd: 1}}, source: 'coingecko'}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 123456,
  "prices": {
   "usdc": {
    "usd": 1
   },
   "solana": {
    "usd": 1
   },
   "bitcoin": {
    "usd": 1
   },
   "ethereum": {
    "usd": 1
   }
  },
  "source": "coingecko"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentearn-x402-live-crypto-ticker-prices-7e45347b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-20260909-agent.projectk.org](https://www.zero.xyz/host/x402-20260909-agent.projectk.org/llms.txt)
