D

Defi Signals · Market Snapshot

by Defi Signals

GETBase

$0.002

per call · USD Coin on Base

One-call market snapshot: BTC/ETH/SOL spot prices with 24h change plus the Crypto Fear & Greed index. The cheapest way for an agent to establish market context.

Endpoint

GET https://defi-signals.org/market/snapshot

5

Calls / 30d

4

Unique payers / 30d

Sep 8

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://defi-signals.org/market/snapshot", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://defi-signals.org/market/snapshot" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "fear_greed": {
    "classification": "Greed",
    "value": 71
  },
  "prices": {
    "btc_usd": 118431,
    "eth_usd": 4212.55
  }
}

Payment details

Pay to0xe72b85a97a6e19413d8b80633787eda6d6237a77
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Defi Signals & similar services