$0.01
per call · USD Coin on Base
The current top 20 gainers or losers of the day, ranked by percentage price change since the previous close. Only includes tickers with volume of 10,000 or more. 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/:direction7
Calls / 30d
3
Unique payers / 30d
Sep 3
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/:direction", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://agent.massive.com/v2/snapshot/locale/us/markets/stocks/:direction" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"status": "OK",
"tickers": [
{
"day": {
"c": 14.2284,
"dv": "133963.0",
"h": 15.09,
"l": 14.2,
"o": 14.33,
"v": 133963,
"vw": 14.5311
},
"lastQuote": {
"P": 14.44,
"S": 11,
"p": 14.2,
"s": 25,
"t": 1605195929997325600
},
"lastTrade": {
"c": [
63
],
"ds": "536.0",
"i": "79372124707124",
"p": 14.2284,
"s": 536,
"t": 1605195848258266000,
"x": 4
},
"min": {
"av": 133963,
"c": 14.2284,
"dav": "133963.0",
"dv": "6108.0",
"h": 14.325,
"l": 14.2,
"n": 5,
"o": 14.28,
"t": 1684428600000,
"v": 6108,
"vw": 14.2426
},
"prevDay": {
"c": 0.73,
"h": 0.799,
"l": 0.73,
"o": 0.75,
"v": 1568097,
"vw": 0.7721
},
"ticker": "PDS",
"todaysChange": 13.498,
"todaysChangePerc": 1849.096,
"updated": 1605195848258266000
}
]
}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.