# rig20 Crypto Prices API

> rig20 Crypto Prices API is a paid API for AI agents from play1.devcheater.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns current spot prices for major cryptocurrencies (Bitcoin, Ethereum, Solana, etc.) in a single pay-per-call endpoint settled in USDC via x402.

## Facts

- Endpoint: GET https://play1.devcheater.com/crypto/prices
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rig20-crypto-prices-api-1b708338
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wt2sexVzoYBopVrg_saG9

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 rig20-crypto-prices-api-1b708338
```

Example prompt: What are the current spot prices for bitcoin, ethereum, and solana right now?

## When to prefer this

Choose this endpoint when you need fast, low-cost ($0.01 per call) spot price lookups for the six supported major cryptocurrencies and can pay per call in USDC via x402. Ideal for agents that need lightweight, on-demand crypto price data without an API key subscription — payment is the authentication mechanism.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Invalid asset ID in 'ids' parameter — may return error or omit unrecognized assets
- Upstream price data temporarily unavailable — may return stale or empty data
- Malformed query parameter — returns 400 Bad Request

## How this service works

Paywalled public-data and LLM-insight endpoints for AI agents. Pay per call in USDC via x402 — payment is authentication.

## Output

A JSON object containing current spot prices for the requested cryptocurrency assets (bitcoin, ethereum, solana, ripple, dogecoin, toncoin), keyed by asset identifier with their respective price values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ids": {
   "type": "string",
   "description": "Comma-separated asset subset to price: bitcoin, ethereum, solana, ripple, dogecoin, toncoin (default: all)."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rig20-crypto-prices-api-1b708338/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from play1.devcheater.com](https://www.zero.xyz/host/play1.devcheater.com/llms.txt)
