# CryptoPrice by YourAITools

> CryptoPrice by YourAITools is a paid API for AI agents from api.youraitools.co, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-25).

Returns real-time USD prices and market data (24h change, volume, open interest, funding rate) for up to 20 cryptocurrencies per call, sourced from Hyperliquid perpetual markets.

## Facts

- Endpoint: GET https://api.youraitools.co/cryptoprice/v1/price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptoprice-by-youraitools-b641e7a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lmVI6ZKEp090Wmtd0C70e

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 cryptoprice-by-youraitools-b641e7a9
```

Example prompt: What are the current USD prices, 24h change, and funding rates for BTC, ETH, and SOL right now?

## When to prefer this

Choose this endpoint when you need real-time perpetual market data from Hyperliquid specifically — including funding rates and open interest that spot-only APIs don't provide. It supports up to 20 coins per call with flexible ticker formats (BTC, BTC-USD, BTCUSDT, bitcoin), making it efficient for batch portfolio checks. Prefer it over generic crypto APIs when derivatives market metrics (funding APR, open interest) are required alongside price.

## Known failure modes

- Unrecognized or misspelled ticker symbols returned in the `not_found` array with no price data
- More than 20 symbols in a single call may result in an error or truncated response
- Network or Hyperliquid data source outage may cause stale or unavailable prices
- Malformed `symbols` query parameter (e.g. wrong delimiter) returns an error
- Rate limiting if call volume exceeds plan limits

## How this service works

Crypto price API for AI agents. Current USD price of BTC, ETH, SOL and ~200 more coins (up to 20 per call) with 24h change, 24h volume, open interest and funding rate, from Hyperliquid public market data. Search intents: crypto price api, bitcoin price, eth price, token price usd, coin quote, crypto market data, price snapshot.

## Output

A JSON object with an `as_of` UTC timestamp, a `source` label, a `not_found` array for unrecognized symbols, and a `prices` array where each entry contains: symbol, price_usd (order-book mid), mark_usd, oracle_usd, change_24h_pct, volume_24h_usd, open_interest_usd, funding_1h, funding_apr_pct, and a unit multiplier (1 or 1000 for k-markets).

## 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": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "type": "string",
       "description": "Comma-separated tickers, e.g. BTC,ETH,SOL (max 20). Accepts BTC-USD / BTCUSDT / bitcoin forms."
      }
     },
     "description": "Search intents: crypto price api, bitcoin price, eth price, token price usd, coin quote, crypto market data"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "as_of",
      "prices"
     ],
     "properties": {
      "as_of": {
       "type": "string"
      },
      "prices": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "unit": {
          "type": "number",
          "description": "1, or 1000 for k-markets (price per 1000 coins)"
         },
         "symbol": {
          "type": "string"
         },
         "mark_usd": {
          "type": "number"
         },
         "price_usd": {
          "type": "number",
          "description": "order-book mid price"
         },
         "funding_1h": {
          "type": "number"
         },
         "oracle_usd": {
          "type": "number"
         },
         "change_24h_pct": {
          "type": "number"
         },
         "volume_24h_usd": {
          "type": "number"
         },
         "funding_apr_pct": {
          "type": "number"
         },
         "open_interest_usd": {
          "type": "number"
         }
        }
       }
      },
      "source": {
       "type": "string"
      },
      "not_found": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-10-24T23:54:06.462Z",
  "prices": [
   {
    "unit": 1,
    "symbol": "BTC",
    "mark_usd": 80871,
    "price_usd": 80871.5,
    "funding_1h": 0.0000125,
    "oracle_usd": 80897,
    "change_24h_pct": -0.38,
    "volume_24h_usd": 2268386254,
    "funding_apr_pct": 10.95,
    "open_interest_usd": 3448699880
   },
   {
    "unit": 1,
    "symbol": "ETH",
    "mark_usd": 2358.9,
    "price_usd": 2358.85,
    "funding_1h": 0.0000125,
    "oracle_usd": 2359.52,
    "change_24h_pct": -1.16,
    "volume_24h_usd": 872657533,
    "funding_apr_pct": 10.95,
    "open_interest_usd": 2615176309
   }
  ],
  "source": "Hyperliquid public market data (perpetual markets, USD).",
  "not_found": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptoprice-by-youraitools-b641e7a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.youraitools.co](https://www.zero.xyz/host/api.youraitools.co/llms.txt)
