80trust / 100

Token Metrics

by Oblique Markets in Onchain & crypto

x402 APIPassing, checked 1 h ago

Use when an agent needs token metrics. Returns Token price and on-chain market metrics from public DeFi data, including chain TVL, DEX volume, fees, yields and protocol context. $0.003.

POST https://api.oblique.markets/api/v1/paid/token-metrics

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
132 ms typical, 217 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.oblique.markets/api/v1/paid/token-metrics" \
  -H "content-type: application/json" \
  -d '{"token_address":"example"}'
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.oblique.markets%2Fapi%2Fv1%2Fpaid%2Ftoken-metrics
const res = await pay("https://api.oblique.markets/api/v1/paid/token-metrics", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"token_address":"example"}),
});
console.log(await res.json());

Example input

{
  "token_address": "example"
}

Example output

{
  "chain": "Base",
  "freshness": {
    "retrieved_at": "2026-09-01T12:00:00.000Z",
    "sources": [
      "DefiLlama"
    ]
  },
  "market": {
    "chain_tvl_usd": 5000000000,
    "dex_volume_24h_usd": 120000000,
    "fees_24h_usd": 900000,
    "source": "DefiLlama"
  },
  "price": {
    "price_usd": 2500,
    "source": "DefiLlama",
    "symbol": "WETH"
  },
  "protocols": [],
  "token_address": "0x4200000000000000000000000000000000000006",
  "yields": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402132 ms$0.003
5 h agoPassed40240 ms$0.003
8 h agoPassed402217 ms$0.003
13 h agoPassed402259 ms$0.003