← All 30 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callMarket DataBase & Polygon x402 v2

GPU-x402 Crypto Fear & Greed, Dominance & DeFi TVL Pulse

Sub-second crypto market regime oracle: Fear & Greed 7d index, global market cap, BTC/ETH dominance, trending tokens & DeFi TVL ($0.005 USDC).

Endpoint & Settlement Specs

x402 Endpoint: POST https://agentx402.fyi/x402/crypto/sentiment
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

curl -i -X POST https://agentx402.fyi/x402/crypto/sentiment \
  -H 'Content-Type: application/json' \
  -d '{"include_trending": true, "include_defi_tvl": true, "fng_days": 7}'

TypeScript Autonomous Agent (@x402/fetch)

import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/crypto/sentiment", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"include_trending": true, "include_defi_tvl": true, "fng_days": 7})
});
console.log(await res.json());

Example JSON Input

{
  "include_trending": true,
  "include_defi_tvl": true,
  "fng_days": 7
}

Example JSON Output

{
  "fear_and_greed": {
    "value": 48,
    "classification": "Neutral"
  },
  "global_market": {
    "total_market_cap_usd": 2450000000000.0,
    "btc_dominance_pct": 56.4,
    "eth_dominance_pct": 12.8
  },
  "defi_tvl_total_usd": 98500000000.0
}