# the402.ai Crypto Price Lookup

> the402.ai Crypto Price Lookup is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.002/call, status down (last checked 2026-10-23).

Returns the current price of a specified cryptocurrency via a pay-per-call x402 micropayment endpoint

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_47ec403301534106/purchase?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-d79bfb37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C43UqCpmYkx0X9XaEsYMm

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 api-the402-ai-d79bfb37 -d '<json body>'
```

Example prompt: What's the current price of Bitcoin in USD right now?

## When to prefer this

Use this endpoint when an AI agent needs a quick, pay-per-call crypto price lookup without requiring a subscription to a traditional price feed API. Ideal for low-frequency queries where per-call micropayment via x402 is preferable to managing API keys or monthly plans. Best suited for agents operating in crypto-native or Web3 environments.

## Known failure modes

- Unknown or unsupported cryptocurrency symbol returns an error
- Payment not processed results in 402 Payment Required response
- Upstream price feed unavailable causes service error
- Malformed request body returns 400 Bad Request
- Network timeout if the price data provider is slow

## How this service works

Purchase: Crypto Price

## Output

Returns the current market price of the requested cryptocurrency, likely including the asset symbol and price value in a standard currency such as USD.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-d79bfb37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
