Use when an agent needs crypto prices

$0.002 per call20 free calls/day via MCP

Use when an agent needs crypto prices: one or up to 25 assets per call by symbol (BTC,ETH,SOL) with 24h change, high, low and volume; any token by chain:address (base:0x..., solana:...); a historical price at a past time; or, with no input, the majors. Under 1 s.

cryptopricebitcoinethereumtoken-pricemarket-datatradingportfolio

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool crypto_price:

{
  "name": "crypto_price",
  "arguments": {
    "symbols": "BTC,ETH,SOL"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/crypto-price \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"symbols":"BTC,ETH,SOL"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.002 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "symbols": {
      "type": "string",
      "description": "Comma-separated symbols, e.g. BTC,ETH (max 25)"
    },
    "symbol": {
      "type": "string"
    },
    "tokens": {
      "type": "string",
      "description": "Comma-separated chain:address, e.g. base:0x532f...,solana:DezX..."
    },
    "address": {
      "type": "string"
    },
    "chain": {
      "type": "string"
    },
    "at": {
      "type": "string",
      "description": "Past time (unix seconds or ISO date) for a historical price"
    },
    "quote": {
      "type": "string",
      "description": "Quote currency for symbols (default USD)"
    }
  },
  "required": []
}

Example output

{
  "prices": [
    {
      "symbol": "BTC",
      "price": 50601.15,
      "change24hPct": -9.29,
      "high24h": 56010,
      "low24h": 50120,
      "volume24h": 25110.4,
      "source": "Coinbase"
    }
  ]
}

Related tools

Use when an agent is about to trust, buy into or connect a wallet to a crypto project and wants to know if its website looks legit ($0.01) · Use when a trading agent is about to buy a token and must know if it is a honeypot, rug or scam ($0.01) · Use when an agent is about to send funds to, receive from, or trade with a crypto address and needs to know if it is risky ($0.005) · Use when an agent is about to send an on-chain transaction and must pick a fee ($0.001) · Use when an agent needs live crowd odds on a future event (elections, crypto prices, sports, Fed, tech) ($0.005) · Use when an agent sees an ENS name (vitalik.eth) and needs the wallet address before sending funds, or has an address and wants its name and profile ($0.002) · Use when an agent sends, receives or monitors Bitcoin ($0.002) · Use when an agent researches DeFi ($0.003)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402