80trust / 100

Dex Market Brief

by api.seerium.xyz in Markets & finance

x402 APIPassing, checked 2 h ago

Crypto Dex market brief API for agents. Combines market price, volume, funding heat, order book pressure, and Dex trading-agent output for one asset or perp pair.

GET https://api.seerium.xyz/v1/dex/market-brief

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
231 ms typical, 345 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

GET https://api.seerium.xyz/v1/dex/market-brief

Each call costs $0.1 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://api.seerium.xyz/v1/dex/market-brief?levels=10&symbol=BTC

Parameters

ParameterTypeRequiredDescription
levelsnumberNoOptional order book levels per side used for pressure. Defaults to 10.
symbolstringYesRequired Dex asset or pair to brief, for example BTC, BTCUSDT, or BTC-PERP.

Example response

The provider's example. We can't check it without paying.

Example response, 141 lines
{
  "data": {
    "agent": {
      "action": "hold",
      "confidence": 62,
      "keyDrivers": [
        "funding pressure",
        "order book imbalance",
        "short-term momentum"
      ],
      "model": "futures-agent-v2",
      "monitoring": {
        "alerts": [
          "Watch for spread widening",
          "Watch funding reversal"
        ],
        "metricsToWatch": [
          "fundingRate",
          "pressureScore",
          "change24h"
        ]
      },
      "rationale": "Mixed funding and book pressure favor waiting for confirmation.",
      "riskLevel": "medium"
    },
    "asset": "BTC",
    "criteria": {
      "levels": 10,
      "symbol": "BTC"
    },
    "freshness": {
      "agentUpdatedAt": "2026-03-25T11:59:30.000Z",
      "dexUpdatedAt": "2026-03-25T12:00:00.000Z",
      "fundingUpdatedAt": "2026-03-25T12:00:00.000Z",
      "orderbookUpdatedAt": "2026-03-25T12:00:00.000Z"
    },
    "fundingHeat": {
      "change24h": 0.0157,
      "fundingBps": -5.37,
      "fundingRate": -0.000537,
      "heatScore": 35.8,
      "high24h": 61210.4,
      "lastPrice": 60763.8,
      "low24h": 59880.2,
      "quoteVolume": 3014587850.28,
      "rank": 1,
      "reason": "negative funding means shorts are paying longs by 5.37 bps.",
      "severity": "medium",
      "sideCrowded": "short",
      "symbol": "BTCUSDT"
    },
    "market": {
      "change24h": 0.0157,
      "fundingRate": -0.000537,
      "high24h": 61210.4,
      "lastPrice": 60763.8,
      "low24h": 59880.2,
      "quoteVolume": 3014587850.28
    },
    "monitoring": {
      "alerts": [
        "Watch for spread widening",
        "Watch funding reversal"
      ],
      "metricsToWatch": [
        "fundingRate",
        "pressureScore",
        "change24h"
      ]
    },
    "orderbookPressure": {
      "askDepthNotional": 255000,
      "bestAsk": 60764.1,
      "bestBid": 60763.7,
      "bidDepthNotional": 420000,
      "bookTimestamp": "2026-03-25T12:00:00.000Z",
      "change24h": 0.0157,
      "confidence": "high",
      "depthImbalance": 0.245,
      "direction": "buy_pressure",
      "fundingRate": -0.000537,
      "lastPrice": 60763.8,
      "levelsUsed": 10,
      "microBiasBps": 1.8,
      "microprice": 60764.01,
      "midPrice": 60763.9,
      "pressureScore": 0.214,
      "reasons": [
        "bid depth is 1.65x the opposite side across the measured book"
      ],
      "spreadBps": 0.7,
      "symbol": "BTCUSDT",
      "totalDepthNotional": 675000
    },
    "signals": {
      "agentAction": "hold",
      "agentConfidence": 62,
      "fundingCrowdedSide": "short",
      "fundingHeatScore": 35.8,
      "orderbookDirection": "buy_pressure",
      "pressureScore": 0.214,
      "riskLevel": "medium"
    },
    "symbol": "BTCUSDT",
    "timestamp": 1760000000000,
    "venue": "dex",
    "warnings": []
  },
  "meta": {
    "freshnessMs": 30000,
    "generatedAt": "2026-03-25T12:00:00.000Z",
    "requestId": "req_example_123",
    "updatedAt": "2026-03-25T11:59:30.000Z"
  },
  "product": {
    "accepts": [
      {
        "network": "eip155:8453",
        "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
        "price": "$0.1000",
        "scheme": "exact"
      },
      {
        "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
        "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
        "price": "$0.1000",
        "scheme": "exact"
      }
    ],
    "id": "dex-market-brief",
    "method": "GET",
    "name": "Dex Market Brief API",
    "networks": [
      "eip155:8453",
      "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
    ],
    "path": "/v1/dex/market-brief",
    "price": "$0.1000"
  },
  "service": "seerium-x402-api"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.1.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.seerium.xyz/v1/dex/market-brief?levels=10&symbol=BTC'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.seerium.xyz/v1/dex/market-brief?levels=10&symbol=BTC' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.seerium.xyz%2Fv1%2Fdex%2Fmarket-brief
const res = await pay("https://api.seerium.xyz/v1/dex/market-brief?levels=10&symbol=BTC");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://api.seerium.xyz/v1/dex/market-brief?levels=10&symbol=BTC")
    print(res.status_code, res.text)

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402215 ms$0.1
6 h agoPassed402136 ms$0.1
10 h agoPassed402252 ms$0.1
14 h agoPassed402143 ms$0.1
18 h agoPassed402231 ms$0.1
22 h agoPassed402192 ms$0.1
25 h agoPassed402215 ms$0.1
29 h agoPassed402200 ms$0.1
32 h agoPassed402217 ms$0.1
36 h agoPassed402236 ms$0.1
40 h agoPassed402270 ms$0.1
43 h agoPassed402261 ms$0.1
47 h agoPassed402223 ms$0.1
2 days agoPassed402345 ms$0.1
2 days agoPassed402238 ms$0.1