Skip to main content
GET
/
v1
/
chart
/
quotes
Get Real-Time Quotes
curl --request GET \
  --url https://api.aries.com/v1/chart/quotes \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.aries.com/v1/chart/quotes"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.aries.com/v1/chart/quotes', 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/chart/quotes",
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/chart/quotes"

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/chart/quotes")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.aries.com/v1/chart/quotes")

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
{
  "d": [
    {
      "n": "Apple INC",
      "s": "AAPL",
      "v": {
        "ask": 130.92,
        "bid": 130.88,
        "ch": 2.15,
        "chp": 1.67,
        "description": "Apple Inc. Common Stock",
        "exchange": "NASDAQ",
        "high_price": 131.25,
        "low_price": 129.3,
        "lp": 130.89,
        "open_price": 129.5,
        "prev_close_price": 128.74,
        "short_name": "Apple Inc.",
        "volume": 45678900
      }
    },
    {
      "n": "Alphabet Inc",
      "s": "GOOGL",
      "v": {
        "ask": 130.55,
        "bid": 130.48,
        "ch": -1.25,
        "chp": -0.95,
        "description": "Alphabet Inc. Class A Common Stock",
        "exchange": "NASDAQ",
        "high_price": 131.8,
        "low_price": 130.1,
        "lp": 130.5,
        "open_price": 131.2,
        "prev_close_price": 131.75,
        "short_name": "Alphabet Inc.",
        "volume": 23456789
      }
    }
  ],
  "s": "ok"
}

Authorizations

Authorization
string
header
required

OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.

Query Parameters

symbols
string
required

Comma-separated symbols to quote, such as AAPL,MSFT. Use one symbol for a quote tile or multiple symbols for watchlists and dashboards.

Response

Quotes retrieved successfully

Response body for quote requests. Use it to render current market prices for one or more symbols.

d
object[]

Quote records for the requested symbols. Iterate this array and use each record's s value to match the symbol.

s
enum<string>

Overall quote response status. ok means quote data was returned; error means the request could not be fulfilled.

Available options:
ok,
error