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.
- मूल्य
- $0.01USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- Async JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Nasdaq Market Indicesयह API Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Nasdaq | $0.01 प्रति कॉल | असिंक्रोनस JSON |
प्रश्न
FAQ
Nasdaq Market Indices API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/nasdaq/market-indices पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Nasdaq Market Indices API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Nasdaq Market Indices API कौन-से parameters स्वीकार करती है?
Nasdaq Market Indices कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
Nasdaq Market Indices API क्या लौटाती है?
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Nasdaq developer account या API key चाहिए?
नहीं। Nasdaq Market Indices SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Nasdaq API access के लिए आवेदन करने की आवश्यकता नहीं है।
