81trust / 100

Crypto Price

by NetIntel in Onchain & crypto

x402 APIPassing, checked 5 min ago

Crypto prices for up to 25 coins in one call — live cryptocurrency spot prices for BTC, ETH, SOL and more in USD, EUR, or GBP from Coinbase with Kraken and CoinGecko fallback; no API key, one flat price. Per asset: price, 24h change when the source provides it, source, cache age. 30s cache; unknown symbols land in unresolved without failing the call. 25 prices for one $0.005 call vs 25 single-symbol lookups.

GET https://netintel.dev/crypto/price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
189 ms typical, 189 ms slowest 5%
Last check
5 min ago
Next check
in 28 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://netintel.dev/crypto/price?symbols=BTC%2CETH"
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%2Fnetintel.dev%2Fcrypto%2Fprice
const res = await pay("https://netintel.dev/crypto/price?symbols=BTC%2CETH");
console.log(await res.json());

Example input

{
  "symbols": "BTC,ETH"
}

Example output

{
  "findings": [],
  "prices": [
    {
      "cache_age_seconds": 0,
      "change_24h_pct": null,
      "name": "Bitcoin",
      "price": 62441.615,
      "source": "coinbase",
      "symbol": "BTC"
    },
    {
      "cache_age_seconds": 0,
      "change_24h_pct": null,
      "name": "Ethereum",
      "price": 1829.645,
      "source": "coinbase",
      "symbol": "ETH"
    }
  ],
  "stale": false,
  "unresolved": [],
  "vs": "USD"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 min agoPassed402189 ms$0.005
3 h agoPassed402219 ms$0.005
8 h agoPassed402179 ms$0.005