N

Navi Crypto Prices · Crypto Prices

by Navi Crypto Prices

GETBase

$0.001

per call · USD Coin on Base

Real-time cryptocurrency prices for BTC, ETH, SOL, and other major coins. Data sourced from CoinGecko. Returns current price in USD, 24h change percentage, and market cap.

Endpoint

GET https://bazaar-gateway.vercel.app/api/crypto-prices

13

Calls / 30d

6

Unique payers / 30d

Sep 5

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://bazaar-gateway.vercel.app/api/crypto-prices", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://bazaar-gateway.vercel.app/api/crypto-prices?coins=Comma-separated+list+of+coin+IDs+%28e.g.+bitcoin%2Cethereum%2Csolana%29.+Defaults+to+bitcoin%2Cethereum%2Csolana+if+not+provided." \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "_meta": {},
  "coins": "...",
  "coins_requested": "...",
  "coins_returned": "...",
  "next": {},
  "ok": "...",
  "prices": {},
  "response_time_ms": 0,
  "signals": {},
  "timestamp": "..."
}

Payment details

Pay to0x9200c98c8188ef50302ed3b8b0ffd5d39832090c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Navi Crypto Prices & similar services