# x402 Agent Tools – Crypto Price Lookup

> x402 Agent Tools – Crypto Price Lookup is a paid API for AI agents from api.gptshopltd.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Fetches real-time USD prices, 24h volume, market cap, and price change for up to 25 cryptocurrencies by symbol or CoinGecko ID

## Facts

- Endpoint: GET https://api.gptshopltd.com/v1/crypto/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-crypto-price-lookup-3e0c8765
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OuJ2Xr0K8ZeGhmXX2jDL0

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-agent-tools-crypto-price-lookup-3e0c8765
```

Example prompt: What are the current USD prices, 24-hour change, and market caps for bitcoin, ethereum, and solana right now?

## When to prefer this

Choose this endpoint when an AI agent needs fast, no-account-required real-time crypto price data paid per-call with USDC via x402 — ideal for autonomous agents that need on-demand pricing without API key management. Prefer it over free tiers when you need pay-as-you-go access with no rate-limit negotiation, or when the agent operates in a crypto-native payment context already using x402.

## Known failure modes

- Unknown coin symbol or CoinGecko ID returns found:false for that entry without erroring the whole request
- Requesting more than 25 coins in a single call may be rejected or silently truncated
- CoinGecko upstream downtime may cause stale or missing data
- Malformed comma-separated query string results in a 400 or empty response
- Payment failure (insufficient USDC balance) results in HTTP 402 before the data is returned

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

Returns a JSON object with an array of price records — one per requested coin — each containing the resolved coin ID, current USD price, 24h USD volume, 24h percentage price change, USD market cap, and last-updated timestamp. Also includes total count of coins found and the data source (CoinGecko simple/price) plus a fetchedAt timestamp.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Comma-separated CoinGecko ids (e.g. solana) or symbols (e.g. btc), max 25"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ids": [
   "solana",
   "bitcoin",
   "ethereum"
  ],
  "count": 3,
  "found": 3,
  "prices": [
   {
    "id": "bitcoin",
    "usd": 81738,
    "found": true,
    "query": "btc",
    "resolvedBy": "symbol",
    "usd_24h_vol": 33484523823,
    "lastUpdatedAt": "2026-10-14T21:52:59.000Z",
    "usd_24h_change": -2.03,
    "usd_market_cap": 1642903115560
   }
  ],
  "source": "CoinGecko simple/price",
  "fetchedAt": "2026-10-14T21:53:21.372Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-tools-crypto-price-lookup-3e0c8765/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gptshopltd.com](https://www.zero.xyz/host/api.gptshopltd.com/llms.txt)
