💰 Index Latest Quote API
Get the latest index quote data, including latest price, volume, turnover and other real-time quote information
🔗 API Information
| Item | Value |
|---|---|
| API Endpoint | https://api.dataapi.io/v1/indices/latest_quote |
| Request Method | GET |
| Data Format | JSON |
📋 Request Parameters
Required Parameters ✅
| Parameter | Type | Description | Example |
|---|---|---|---|
ticker | string | Index symbol | SPX, DJI, IXIC |
token | string | API access token | your_api_token |
📊 Response Parameters
Response Structure
| Field | Type | Description |
|---|---|---|
code | number | Response status code |
status | string | Response status |
message | string | Response message |
data | object | Quote data object |
Data Fields
| Field | Type | Description | Example |
|---|---|---|---|
time | number | Quote timestamp | 1753473726000 |
ticker | string | Index symbol | SPX |
price | number | Latest price | 6388.65 |
volume | number | Trading volume | 26077006376.29 |
turnover | number | Turnover rate | 1.6650331696E+14 |
📈 Response Example
Success Response
{
"code": 200,
"status": "success",
"message": "ok",
"data": {
"time": 1753473726000,
"ticker": "SPX",
"price": 6388.65,
"volume": 26077006376.29,
"turnover": 1.6650331696E+14
}
}🚀 Quick Start
Request Example
curl -X GET "https://api.dataapi.io/v1/indices/latest_quote?ticker=SPX&token=your_token"