# AsterPay Aggregated Crypto Price Feed

> AsterPay Aggregated Crypto Price Feed is a paid API for AI agents from x402.asterpay.io, paid per call via x402, $0.0075/call, status unknown (last checked 2026-10-11).

Returns real-time price data for top cryptocurrencies (BTC, ETH, SOL) and stablecoins (USDC, EURC), including market cap, 24h volume, and price change, paid via x402 micropayment.

## Facts

- Endpoint: GET https://x402.asterpay.io/v2/x402/crypto/prices?utm_source=zero.xyz
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/asterpay-aggregated-crypto-price-feed-bd9e94d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4nIDMSNvh13BPNIbXD_Qw

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 asterpay-aggregated-crypto-price-feed-bd9e94d2
```

Example prompt: What are the current prices, market caps, and 24-hour price changes for BTC, ETH, and SOL?

## When to prefer this

Use this endpoint when you need a quick, aggregated price snapshot across the most liquid crypto assets (BTC, ETH, SOL) and major stablecoins (USDC, EURC) in a single call. Prefer it over single-token endpoints when you need multi-asset data in one request, or when you specifically need stablecoin peg data alongside major token prices. The x402 micropayment model makes it cost-effective for per-call agent workflows.

## Known failure modes

- Invalid or unsupported token symbol returns empty or missing key in response
- Payment failure via x402 results in 402 Payment Required response
- Network timeout if upstream price feed is unavailable
- Malformed symbols query parameter may return default token set or error

## How this service works

Aggregated crypto price feed — top tokens (BTC, ETH, SOL) + stablecoins (USDC, EURC). Paid via x402.

## Output

A JSON object keyed by token symbol, where each entry contains the token's current price (in USD), symbol, market cap, 24-hour trading volume, and 24-hour percentage price change. Stablecoins may omit market cap and volume fields.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "symbols": {
       "type": "string",
       "description": "Optional comma-separated token symbols (e.g. BTC,ETH,SOL). Defaults to top tokens + stablecoins."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "additionalProperties": {
   "type": "object",
   "properties": {
    "price": {
     "type": "number"
    },
    "symbol": {
     "type": "string"
    },
    "marketCap": {
     "type": "number"
    },
    "volume24h": {
     "type": "number"
    },
    "priceChange24h": {
     "type": "number"
    }
   }
  }
 },
 "example": {
  "BTC": {
   "price": 98450.23,
   "symbol": "BTC",
   "marketCap": 1940000000000,
   "volume24h": 45000000000,
   "priceChange24h": 2.1
  },
  "ETH": {
   "price": 3465.5,
   "symbol": "ETH",
   "marketCap": 416000000000,
   "volume24h": 18000000000,
   "priceChange24h": -0.8
  },
  "USDC": {
   "price": 1,
   "symbol": "USDC",
   "priceChange24h": 0.01
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/asterpay-aggregated-crypto-price-feed-bd9e94d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.asterpay.io](https://www.zero.xyz/host/x402.asterpay.io/llms.txt)
