X

X402node · Crypto Price

by X402node

GETBaseSolana

$0.01

per call · USD Coin on Base

Universal crypto price with smart localization for ANY coin. Auto-adapts pricing currency to your locale (BTC in CNY/JPY/EUR) or stays USD. Params: symbol (BTC, ETH, WIF, or localized names), vs, amount, lang. 任意加密货币实时价格,自动本地化计价,比特币以太坊智能报人民币。暗号資産価格を自動現地化。Precio localizado de cripto. 현지화 암호화폐 시세. Accepts payment on Base or Solana — either network works.

Endpoint

GET https://api.x402node.dev/crypto/price

2

Calls / 30d

2

Unique payers / 30d

Aug 30

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://api.x402node.dev/crypto/price", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.x402node.dev/crypto/price?amount=string&lang=string&symbol=string&vs=string" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x4466d4a84b7c49a6a094ec6eef4a0712d6dd125e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from X402node & similar services