81trust / 100
Crypto Price
by api.x402node.dev in Onchain & crypto
x402 APIPassing, checked 29 min ago
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.
GET https://api.x402node.dev/crypto/price
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 166 ms typical, 166 ms slowest 5%
- Last check
- 29 min ago
- Next check
- in 2 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.x402node.dev/crypto/price?amount=string&lang=string&symbol=string&vs=string"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.x402node.dev%2Fcrypto%2Fprice
const res = await pay("https://api.x402node.dev/crypto/price?amount=string&lang=string&symbol=string&vs=string");
console.log(await res.json());Example input
{
"amount": "string",
"lang": "string",
"symbol": "string",
"vs": "string"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 29 min ago | Passed | 402 | 166 ms | $0.01 |
| 6 h ago | Passed | 402 | 166 ms | $0.01 |