# 24K Labs Crypto Price API

> 24K Labs Crypto Price API is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches the current USD price of a cryptocurrency (e.g. Bitcoin) by coin identifier

## Facts

- Endpoint: POST https://api.24klabs.ai/api/crypto-price
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-crypto-price-api-d8e2d6a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l6VNovKjOqBGpHMCr07l8

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 24k-labs-crypto-price-api-d8e2d6a8 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call USD price lookup for a specific cryptocurrency within an x402-enabled agent workflow, especially when you want a low-cost ($0.003 USDC) single-call price check without subscribing to a full market data API.

## Known failure modes

- Unknown or unsupported coin identifier returns an error or empty result
- Network timeout or upstream price feed outage
- Malformed POST body missing required coin parameter
- Rate limiting or payment failure via x402 protocol

## How this service works

A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.

## Output

A JSON object keyed by coin identifier (e.g. 'bitcoin') containing a nested object with the USD price as a number (e.g. {"bitcoin":{"usd":60000}}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "vs": {
   "type": "string"
  },
  "ids": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bitcoin": {
   "usd": 60000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-crypto-price-api-d8e2d6a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
