A

Atlas Market Data · Prev Close

by Atlas Market Data

GETBaseSolanaArbitrumPolygon

$0.015

per call · USD Coin on Base

Previous trading day OHLC bar for stocks, crypto, forex and options — yesterday's open/high/low/close and volume by ticker.

Endpoint

GET https://marketdata.use.x402atlas.com/prev-close

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/prev-close", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://marketdata.use.x402atlas.com/prev-close?adjusted=true&ticker=AAPL" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "adjusted": true,
  "candle": {
    "close": 211.8,
    "high": 212.4,
    "low": 209.5,
    "open": 210.1,
    "time": "2026-07-02T00:00:00Z",
    "transactions": 480000,
    "volume": 51000000,
    "vwap": 211.2
  },
  "queried_at": "2026-07-06T12:00:00Z",
  "ticker": "AAPL"
}

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