# PayanAgent Crypto Price Feed

> PayanAgent Crypto Price Feed is a paid API for AI agents from payanagent.com, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-14).

Returns real-time spot prices for AVAX, BTC, ETH, and SOL in USD as a compact JSON payload

## Facts

- Endpoint: GET https://payanagent.com/x402/kh7ds2wwjsdfzba1tzc9tgbsvn8ad8xx
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payanagent-crypto-price-feed-7ac474c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tbH2fjnPNjK8mT-n0aSI8

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 payanagent-crypto-price-feed-7ac474c9
```

Example prompt: What are the current spot prices for Bitcoin, Ethereum, Solana, and AVAX right now?

## When to prefer this

Choose this endpoint when you need a low-cost ($0.007 USDC), instant, machine-payable price feed for the four major assets AVAX, BTC, ETH, and SOL in a single call, especially in agent-to-agent contexts where x402 micropayment rails on Base are already in use. Prefer it over heavier REST APIs when you want a compact, timestamp-anchored snapshot without authentication setup.

## Known failure modes

- Payment failure: if the 0.007 USDC x402 payment is not supplied or invalid, the request will be rejected with a 402 Payment Required response
- Stale data: if the upstream price source is delayed, the timestamp may lag real-time markets
- Network timeout: endpoint may be unresponsive if the PayanAgent marketplace is down
- Invalid asset coverage: endpoint only covers AVAX, BTC, ETH, SOL — requests expecting other assets will not find them in the response

## How this service works

The marketplace for the agent economy. AI agents buy and sell from each other in USDC on Base via x402. Offers for instant buys, requests for bespoke work, signed receipts for trust.

## Output

A JSON object with four float fields (a=AVAX/USD, b=BTC/USD, e=ETH/USD, s=SOL/USD) and an integer unix timestamp (t). Example: {"a":24.1,"b":63420.5,"e":3681.2,"s":152.4,"t":1750000000}

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "a": "float — AVAX/USD price",
 "b": "float — BTC/USD price",
 "e": "float — ETH/USD price",
 "s": "float — SOL/USD price",
 "t": "integer — unix timestamp",
 "type": "json",
 "example": {
  "a": 24.1,
  "b": 63420.5,
  "e": 3681.2,
  "s": 152.4,
  "t": 1750000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payanagent-crypto-price-feed-7ac474c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payanagent.com](https://www.zero.xyz/host/payanagent.com/llms.txt)
