# x402 Multi-Tool API – Crypto Price Lookup

> x402 Multi-Tool API – Crypto Price Lookup is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns current prices and 24-hour percentage changes for one or more cryptocurrencies by CoinGecko ID, paid per-request via x402 at $0.005 USDC

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/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/x402-multi-tool-api-crypto-price-lookup-dba53822
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xh43xk5v5qRq_Swqwseh8

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 x402-multi-tool-api-crypto-price-lookup-dba53822 -d '<json body>'
```

Example prompt: What are the current prices and 24-hour changes for bitcoin, ethereum, and solana in USD?

## When to prefer this

Choose this endpoint when you need current spot prices and 24-hour momentum for one or more specific cryptocurrencies by their CoinGecko ID, especially in an agent context where no API key management is desired and micropayment-per-call via x402 is acceptable. Prefer this over exchange-specific APIs when you need a unified price across multiple coins in one call.

## Known failure modes

- Invalid or misspelled CoinGecko coin ID returns missing/empty prices for that coin
- Unsupported vs-currency may result in an error or empty response
- Missing required 'ids' field returns a validation error
- Payment failure via x402 (insufficient USDC balance or bad payment header) results in HTTP 402 and no data
- Downstream CoinGecko API outage may cause delayed or stale data

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

Returns a JSON object with the requested vs-currency, total count of coins returned, and a prices map keyed by coin ID — each entry includes the current price in the chosen currency and the 24-hour percentage change (e.g. {"vs":"usd","total":1,"prices":{"bitcoin":{"price":61234,"change_24h_pct":1.83}}}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ids"
 ],
 "properties": {
  "vs": {
   "type": "string",
   "description": "Fiat/crypto vs-currency"
  },
  "ids": {
   "type": "string",
   "description": "Comma-separated CoinGecko coin ids, e.g. 'bitcoin,ethereum,solana'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "vs": "usd",
 "total": 1,
 "prices": {
  "bitcoin": {
   "price": 61234,
   "change_24h_pct": 1.83
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-multi-tool-api-crypto-price-lookup-dba53822/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402deploy.vercel.app](https://www.zero.xyz/host/x402deploy.vercel.app/llms.txt)
