$0.01
per call · USD Coin on Base
Get the most up-to-date market data for all traded stock symbols. Note: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST. Can't find what you're looking for? POST feedback to /feedback, no charge.
Endpoint
GET https://agent.massive.com/v2/snapshot/locale/us/markets/stocks/tickers4
Calls / 30d
2
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
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://agent.massive.com/v2/snapshot/locale/us/markets/stocks/tickers", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://agent.massive.com/v2/snapshot/locale/us/markets/stocks/tickers" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"count": 1,
"status": "OK",
"tickers": [
{
"day": {
"c": 20.506,
"dv": "37216.0",
"h": 20.64,
"l": 20.506,
"o": 20.64,
"v": 37216,
"vw": 20.616
},
"lastQuote": {
"P": 20.6,
"S": 22,
"p": 20.5,
"s": 13,
"t": 1605192959994246100
},
"lastTrade": {
"c": [
14,
41
],
"ds": "2416.0",
"i": "71675577320245",
"p": 20.506,
"s": 2416,
"t": 1605192894630916600,
"x": 4
},
"min": {
"av": 37216,
"c": 20.506,
"dav": "37216.0",
"dv": "5000.0",
"h": 20.506,
"l": 20.506,
"n": 1,
"o": 20.506,
"t": 1684428600000,
"v": 5000,
"vw": 20.5105
},
"prevDay": {
"c": 20.63,
"h": 21,
"l": 20.5,
"o": 20.79,
"v": 292738,
"vw": 20.6939
},
"ticker": "BCAT",
"todaysChange": -0.124,
"todaysChangePerc": -0.601,
"updated": 1605192894630916600
}
]
}Payment details
0x525f6ddce9af7a7179d7696aabfcd5fcd15a21e6USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from Massive & similar services
Massive · Reference News
agent.massive.com
Get the most recent news articles relating to a stock ticker symbol, including a summary of the article and a link to the original source. Can't find what you're looking for? POST feedback to /feedback, no charge.
Massive · Stocks Tickers
agent.massive.com
Get the most up-to-date market data for a single traded stock ticker. Note: Snapshot data is cleared at 3:30am EST and gets populated as data is received from the exchanges. This can happen as early as 4am EST. Can't find what you're looking for? POST feedback to /feedback, no charge.
Massive · Reference Tickers
agent.massive.com
Get a single ticker supported by Massive. This response will have detailed information about the ticker and the company behind it. Can't find what you're looking for? POST feedback to /feedback, no charge.