# Crypto Price — Zapi reference > Fetch current cryptocurrency prices and market data. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/finance/crypto-price - Endpoint catalog: https://zpi.web.id/category/finance - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Crypto Price **Category:** finance · **Slug:** `crypto-price` **Detail page:** https://zpi.web.id/api/finance/crypto-price Fetch current cryptocurrency prices and market data. **Tags:** utility, crypto ### Get Crypto Price Retrieve current price for a given cryptocurrency. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/finance:crypto-price/price` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `coins` | string | query | yes | Comma-separated coin IDs (slug, lowercase) | | `vs` | string | query | no | Comma-separated vs currencies. Default usd | **cURL:** ```bash curl "https://api.zpi.web.id/v1/finance:crypto-price/price?coins=bitcoin%2Cethereum&vs=usd" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/finance:crypto-price/price?coins=bitcoin%2Cethereum&vs=usd", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/finance:crypto-price/price?coins=bitcoin%2Cethereum&vs=usd", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "ok": true, "prices": { "bitcoin": { "usd": 74826, "usd_24h_change": -2.5782005155042933, "usd_market_cap": 1500248007735.9695 }, "ethereum": { "usd": 2056.7, "usd_24h_change": -2.743476892620399, "usd_market_cap": 248261597304.3915 } } } ``` --- _Generated: 2026-08-02T14:26:17.590Z_