from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.indices.get_realtime_values(identifiers="<value>", identifier_type=models.IndicesIdentifierType.SYMBOL)
assert res.indices_realtime_values_response is not None
# Handle response
print(res.indices_realtime_values_response)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.indices.getRealtimeValues({
identifiers: "<value>",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/indices/realtime/values \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/indices/realtime/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/indices/realtime/values",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/indices/realtime/values"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/indices/realtime/values")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/indices/realtime/values")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"identifier": "SPX.IND_CBOM",
"identifierType": "Symbol",
"index": {
"currency": "USD",
"indexGroup": "IND_CBOM",
"indexName": "S&P 500",
"symbol": "SPX",
"valoren": "998434"
},
"value": {
"changeFromOpen": 6.04,
"changeFromPreviousClose": 74.52,
"close": 6581,
"date": "3/23/2026",
"high": 6651.62,
"high52Weeks": 6978.6,
"last": 6581,
"low": 6565.55,
"low52Weeks": 4982.77,
"open": 6574.96,
"percentChangeFromOpen": 0.0919,
"percentChangeFromPreviousClose": 1.1453,
"previousClose": 6506.48,
"previousCloseDate": "3/20/2026",
"time": "5:11:38 PM",
"utcOffset": -4,
"volume": 0
}
}
]
}Realtime Indices Values
Retrieve real-time values for multiple market indices simultaneously. Returns current index levels, percentage changes, and last update timestamps for a batch of indices in a single request.
Use Case: Display a dashboard with real-time values for S&P 500, NASDAQ, and Dow Jones indices updating simultaneously to show overall market performance.
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.indices.get_realtime_values(identifiers="<value>", identifier_type=models.IndicesIdentifierType.SYMBOL)
assert res.indices_realtime_values_response is not None
# Handle response
print(res.indices_realtime_values_response)import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.indices.getRealtimeValues({
identifiers: "<value>",
});
console.log(result);
}
run();curl --request GET \
--url https://api.aries.com/v1/indices/realtime/values \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/indices/realtime/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/indices/realtime/values",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/indices/realtime/values"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/indices/realtime/values")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/indices/realtime/values")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"identifier": "SPX.IND_CBOM",
"identifierType": "Symbol",
"index": {
"currency": "USD",
"indexGroup": "IND_CBOM",
"indexName": "S&P 500",
"symbol": "SPX",
"valoren": "998434"
},
"value": {
"changeFromOpen": 6.04,
"changeFromPreviousClose": 74.52,
"close": 6581,
"date": "3/23/2026",
"high": 6651.62,
"high52Weeks": 6978.6,
"last": 6581,
"low": 6565.55,
"low52Weeks": 4982.77,
"open": 6574.96,
"percentChangeFromOpen": 0.0919,
"percentChangeFromPreviousClose": 1.1453,
"previousClose": 6506.48,
"previousCloseDate": "3/20/2026",
"time": "5:11:38 PM",
"utcOffset": -4,
"volume": 0
}
}
]
}Authorizations
Query Parameters
How to interpret each value in identifiers. Defaults to Symbol. See IndicesIdentifierType for the full set of accepted values. All identifiers in one request must be the same type.
Which kind of identifier you are sending in identifier / identifiers. Provide the matching value:
Symbol— index ticker (e.g.SPX.IND_CBOM). Default.CIK— SEC Central Index Key.CUSIP— 9-character U.S./Canadian security identifier.ISIN— 12-character international identifier.Valoren— Swiss security identifier.SEDOL— 7-character UK identifier.FIGI— Bloomberg Financial Instrument Global Identifier.CompositeFIGI— country-level composite FIGI.
Symbol, CIK, CUSIP, ISIN, Valoren, SEDOL, FIGI, CompositeFIGI "Symbol"
Response
Successful response. Each item mirrors the single-index realtime shape: identifier, index metadata, and a value object with OHLC, 52-week range, and change fields.
Was this page helpful?