A

Atlas Market Data · Aggregates

by Atlas Market Data

GETBaseSolanaArbitrumPolygon

$0.015

per call · USD Coin on Base

Market data OHLC candlestick bars for stocks, crypto, forex and options — historical aggregates over any window by ticker.

Endpoint

GET https://marketdata.use.x402atlas.com/aggregates

2

Calls / 30d

1

Unique payers / 30d

Sep 1

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://marketdata.use.x402atlas.com/aggregates", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://marketdata.use.x402atlas.com/aggregates?adjusted=true&from=2026-06-01&limit=10&multiplier=1&sort=desc&ticker=X%3ABTCUSD&timespan=day&to=2026-06-30" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "adjusted": true,
  "candles": [
    {
      "close": 42800,
      "high": 43000,
      "low": 41500,
      "open": 42000,
      "time": "2024-01-01T00:00:00Z",
      "transactions": 98000,
      "volume": 12000,
      "vwap": 42500
    }
  ],
  "from": "2024-01-01",
  "multiplier": 1,
  "queried_at": "2026-07-06T12:00:00Z",
  "ticker": "X:BTCUSD",
  "timespan": "day",
  "to": "2024-01-31"
}

Payment details

Pay to0x9d667bc76f166322df087b3b3927d4d83d44a5d0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from Atlas Market Data & similar services