Nasdaq Market Indices
https://api.sandbase.ai/v1/api/nasdaq/market-indicesCurrent values for the NASDAQ Composite index (COMP) including last price, net change, percentage change, volume, and daily high/low.
- Fiyat
- $0.01USD / çağrı
- Yöntem
- POST
- Yanıt
- Asenkron JSON
- Parametreler
- 0 gerekli · 0 isteğe bağlı
Oynatma Alanı
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
API README
Nasdaq Market Indices
Returns the current quote for the NASDAQ Composite index (COMP), including last price, net change, percentage change, volume, and the day's high and low. The API takes no input.
Use cases
- Show the current NASDAQ Composite level and daily move on a market dashboard.
- Check whether the index is up or down today with
deltaIndicatorbefore running other market queries. - Log the index value and volume at set times to build your own intraday history.
- Compare the day's
highandlowagainstpreviousCloseto see how wide the trading range is.
Request
curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/market-indices" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"data": [
{
"chartCloseTime": 1793635259000,
"chartOpenTime": 1793611800000,
"companyName": "NASDAQ Composite Index",
"datetime": "2026-11-02T17:16:01",
"deltaIndicator": "down",
"high": 25799.46,
"indexCharts": null,
"lastSalePrice": "25,164.32",
"low": 25145.95,
"netChange": "-272.68",
"percentageChange": "-1.07%",
"previousClose": "25,437"
}
],
"message": null,
"status": {
"bCodeMessage": null,
"developerMessage": null,
"rCode": 200
}
},
"status": "success"
}
Response fields
| Field | Meaning |
|---|---|
data.data[].symbol / data.data[].companyName | Ticker symbol of the index (COMP) and its full name. |
data.data[].lastSalePrice | Latest index value, as a string with thousands separators. |
data.data[].netChange / data.data[].percentageChange | Change from the previous close, as a signed number and as a percent string. Both are strings. |
data.data[].deltaIndicator | Direction of the move, for example down. |
data.data[].high / data.data[].low | Highest and lowest index values for the day. These are numbers. |
data.data[].previousClose | Index value at the previous close, as a string. |
data.data[].volume | Trading volume as a string with thousands separators. |
data.data[].datetime / data.data[].timeStamp | Time of the quote as an ISO-style datetime, and the same date in a short text form. |
data.data[].chartOpenTime / data.data[].chartCloseTime | Start and end of the chart window as 13-digit Unix timestamps, which look like milliseconds. |
Notes
- Send an empty JSON object
{}as the body. There are no parameters. - Price, change, previous close, and volume are formatted strings with commas. Remove the commas and the
%sign before you do math on them. indexChartsisnullin this response, anddata.data[]is a list that holds one item forCOMP.- For more detail on an index, call Nasdaq Index Detail.
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/market-indices" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Kimlik doğrulama
SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
3. Parametreler
Bu API için bir parametre şeması yayınlanmamış.
4. Yanıt
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
İlgili APIs
| API | Fiyat | Yanıt |
|---|---|---|
Nasdaq Market IndicesBu API Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Nasdaq | $0.01 çağrı başına | Asenkron JSON |
Sorular
SSS
Nasdaq Market Indices API'sini nasıl kullanırım?
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/nasdaq/market-indices adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
Nasdaq Market Indices API'sinin fiyatı nedir?
çağrı başına $0.01, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Nasdaq Market Indices API'si hangi parametreleri kabul eder?
Nasdaq Market Indices hiçbir giriş parametresi almaz; boş bir JSON gövdesi gönderin.
Nasdaq Market Indices API'si ne döndürür?
Bir JSON sonucu. Bu uç nokta asenkron çalışır; bu nedenle yanıt, tamamlanan sonucu nasıl alacağınızı söyler. Bu sayfadaki README'de örnek bir yanıt yer alır.
Bir Nasdaq geliştirici hesabına veya API anahtarına ihtiyacım var mı?
Hayır. Nasdaq Market Indices, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Nasdaq API erişimi için ayrıca başvuru yapmanız gerekmez.
