Get historical ticks for a single symbol
curl --request GET \
--url https://api.aries.com/v1/predictions/historical-dataimport requests
url = "https://api.aries.com/v1/predictions/historical-data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aries.com/v1/predictions/historical-data', 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/predictions/historical-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/predictions/historical-data"
req, _ := http.NewRequest("GET", url, nil)
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/predictions/historical-data")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/predictions/historical-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"symbol": "<string>",
"count": 1,
"ticks": [
{
"timestamp": "2026-04-18T13:45:01.234Z",
"yesPrice": "0.54",
"noPrice": "0.46",
"quantity": 10
}
],
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"type": "VALIDATION",
"code": "SYMBOL_REQUIRED",
"message": "string"
}
}{
"success": false,
"error": {
"type": "EXTERNAL_SERVICE",
"code": "UPSTREAM_UNAVAILABLE",
"message": "string"
}
}Historical Data
Get Historical Ticks
Returns YES/NO price history for a single prediction-market contract over an optional time window. Prices are exact decimals serialized as JSON strings.
Use Case: Back charts and models with tick-level price history for one contract symbol.
GET
/
v1
/
predictions
/
historical-data
Get historical ticks for a single symbol
curl --request GET \
--url https://api.aries.com/v1/predictions/historical-dataimport requests
url = "https://api.aries.com/v1/predictions/historical-data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aries.com/v1/predictions/historical-data', 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/predictions/historical-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/predictions/historical-data"
req, _ := http.NewRequest("GET", url, nil)
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/predictions/historical-data")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/predictions/historical-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"symbol": "<string>",
"count": 1,
"ticks": [
{
"timestamp": "2026-04-18T13:45:01.234Z",
"yesPrice": "0.54",
"noPrice": "0.46",
"quantity": 10
}
],
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"type": "VALIDATION",
"code": "SYMBOL_REQUIRED",
"message": "string"
}
}{
"success": false,
"error": {
"type": "EXTERNAL_SERVICE",
"code": "UPSTREAM_UNAVAILABLE",
"message": "string"
}
}Overview
Each tick is a pair trade on one contract: the price paid for YES, the matching price for NO, and the traded quantity. Pass the contractsymbol — the same symbol returned by search and event contracts.
Time range
from and to are both optional and both inclusive. Each accepts either an RFC3339 timestamp or a Unix epoch value in seconds or milliseconds:
GET /v1/predictions/historical-data?symbol=HORC_1126_Republican&from=2026-04-01T00:00:00Z&to=2026-04-20T00:00:00Z
GET /v1/predictions/historical-data?symbol=HORC_1126_Republican&from=1774915200&to=1776556800
Limit
limit caps the number of ticks returned. 0 or an omitted value means 10,000, and any larger value is clamped to 10,000 — the response never reports a limit larger than the one actually applied. To walk a longer history, page by narrowing from/to rather than by raising limit.
Prices are strings
yesPrice and noPrice are exact decimals serialized as JSON strings:
{
"success": true,
"data": {
"symbol": "HORC_1126_Republican",
"count": 1,
"ticks": [
{
"timestamp": "2026-04-18T13:45:01.234Z",
"yesPrice": "0.54",
"noPrice": "0.46",
"quantity": 10
}
]
}
}
Example
curl -X GET "https://api.aries.com/v1/predictions/historical-data?symbol=HORC_1126_Republican&limit=500"
Errors
400—symbolmissing, orfrom/to/limitfailed validation502— the upstream data store was unavailable
success: false with a structured error object.Query Parameters
Example:
"HORC_1126_Republican"
RFC3339 timestamp or Unix seconds/milliseconds.
Example:
"2026-04-01T00:00:00Z"
RFC3339 timestamp or Unix seconds/milliseconds.
Example:
"2026-04-20T00:00:00Z"
0 or omitted means 10000; values above 10000 are clamped to it.
Required range:
0 <= x <= 10000Example:
500
Was this page helpful?