Skip to main content
GET
/
v1
/
stocks
/
grouped
Get Daily Market Summary
curl --request GET \
  --url https://api.aries.com/v1/stocks/grouped \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.aries.com/v1/stocks/grouped"

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/stocks/grouped', 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/stocks/grouped",
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/stocks/grouped"

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

url = URI("https://api.aries.com/v1/stocks/grouped")

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
{
  "adjusted": true,
  "queryCount": 1,
  "requestId": "03182c050e5e955bc6e10e78f2890fff",
  "results": [
    {
      "c": 206.25,
      "h": 206.9197,
      "l": 204.65,
      "n": 317,
      "o": 204.81,
      "t": 1736974800000,
      "v": 14444,
      "vw": 205.4248,
      "T": "XNTK"
    }
  ],
  "resultsCount": 1,
  "status": "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

date
string<date>
required

Date in YYYY-MM-DD format. Enter the specific calendar date you want to query.

Example:

"2024-01-15"

adjusted
boolean

Whether to adjust historical prices for stock splits. Use true for normalized charting and false for raw market data.

Example:

true

includeOtc
boolean

Whether to include over-the-counter securities. Use true only when your product needs OTC market coverage.

Example:

false

Response

Successful response

adjusted
boolean

Whether or not the results are adjusted for splits

queryCount
integer

Number of results returned

requestId
string

Unique request ID

results
object[]

Array of grouped daily bars

resultsCount
integer

Total number of results

status
string

Status string from the upstream data provider — typically OK for a successful response. Treat any other value as an error indicator alongside the HTTP status code.