81trust / 100

Datasets

by Market Intelligence API in Onchain & crypto

x402 APIPassing, checked 2 h ago

Historical crypto and tokenized stock data for backtesting: one UTC day (date=YYYY-MM-DD) of trade-flow candles for a symbol at 1m, 5m, 15m or 1h, per venue (on-chain DEX pools and Solana DEX pools for tokenized stocks) - OHLCV, aggressor buy and sell volume, buy pressure, VWAP and trade count, as JSON or CSV (format=csv). Catalog free at /api/v1/datasets.

GET https://api.marketintelligenceapi.com/api/v1/datasets/:symbol

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.marketintelligenceapi.com/api/v1/datasets/:symbol"
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.marketintelligenceapi.com%2Fapi%2Fv1%2Fdatasets%2F%3Asymbol
const res = await pay("https://api.marketintelligenceapi.com/api/v1/datasets/:symbol");
console.log(await res.json());

Example output

{
  "candles": [
    {
      "buyPressure": 63.71,
      "buyVolume": 7.9,
      "close": 2669,
      "high": 2669.4,
      "low": 2667.8,
      "open": 2668.1,
      "sellVolume": 4.5,
      "time": "2026-09-23T00:00:00Z",
      "trades": 41,
      "venue": "onchain_dex",
      "volume": 12.4,
      "volumeUsd": 33093.6,
      "vwap": 2668.8
    }
  ],
  "date": "2026-09-23",
  "interval": "1m",
  "rows": 1440,
  "symbol": "ETHUSD",
  "venues": [
    "onchain_dex"
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40246 ms$0.02
6 h agoPassed40264 ms$0.02
11 h agoPassed402118 ms$0.02