# AgentPay Crypto Price Lookup

> AgentPay Crypto Price Lookup is a paid API for AI agents from agentpay.help, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches current cryptocurrency prices via a pay-per-call POST endpoint using the x402 micropayment protocol, requiring no API keys or accounts.

## Facts

- Endpoint: POST https://agentpay.help/v1/crypto-price
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-crypto-price-lookup-deb043f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tAt3jOeCYelDPfqt42Xw6

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 agentpay-crypto-price-lookup-deb043f3 -d '<json body>'
```

Example prompt: What's the current price of Bitcoin and Ethereum right now? Use a pay-per-call crypto price lookup — no API key needed, just charge $0.005 USDC.

## When to prefer this

Choose this endpoint when you need real-time crypto price lookups without managing API keys or subscriptions — ideal for AI agents operating autonomously with a USDC wallet on Base. It is best suited for low-frequency, on-demand price checks where the $0.005 per-call cost is acceptable and the x402 payment protocol is supported by your agent framework.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Invalid or unrecognized cryptocurrency symbol — may return empty prices object or error
- Network timeout if blockchain payment confirmation is slow
- Rate limiting if multiple rapid calls are made without proper payment flow
- Stale price data if upstream market data provider is delayed

## How this service works

Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.

## Output

Returns a JSON object with a 'prices' field containing current market prices for the requested cryptocurrency or cryptocurrencies, keyed by token symbol or identifier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Ticker symbols"
  },
  "vs_currency": {
   "type": "string",
   "description": "Quote currency, default usd"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prices": {
   "BTC": 96412.5,
   "ETH": 3218.44,
   "SOL": 188.02
  },
  "vs_currency": "usd"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-crypto-price-lookup-deb043f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay.help](https://www.zero.xyz/host/agentpay.help/llms.txt)
