Kutipan saham dan ETF Amerika tanpa API key: harga, perubahan, OHLC, volume, rentang 52 minggu, dan sesi extended-hours.
Kutipan satu saham atau ETF Amerika, termasuk harga sesi after-hours kalau ada.
/v1/finance:stockanalysis/quote1m cache2 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("finance:stockanalysis", "quote", {
"symbol": "AAPL",
"type": "stock"
});
console.log(data);/v1/finance:stockanalysis/quotesymbolstringrequiredtypeenumoptionalstock (default) or etf — they live on different upstream paths. Values: stock, etf.curl -X GET "https://api.zpi.web.id/v1/finance:stockanalysis/quote?symbol=AAPL&type=stock" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"low": 310.74,
"asOf": "Aug 7, 2026, 4:00 PM EDT",
"high": 314.81,
"open": 311.45,
"type": "stock",
"price": 313.33,
"change": 0.92,
"low52w": 216.58,
"source": "stockanalysis",
"symbol": "AAPL",
"volume": 34562295,
"high52w": 344.57,
"exchange": "NASDAQ",
"tradingDay": "2026-08-07",
"marketStatus": "closed",
"changePercent": 0.29,
"extendedPrice": 313.25,
"previousClose": 313.33,
"extendedChange": -0.08,
"extendedSession": "After-hours"
}