Q Download
Download closing history for one verified option contract
Q Download previews JSON and exports that exact snapshot as CSV/JSON. Provider coverage varies; missing bars are not fabricated. format=csv returns a CSV attachment. No uploaded workspace files are exposed here.
POST
/
market-data
/
options
/
history
Download closing history for one verified option contract
curl --request POST \
--url https://quantura.studio/api/market-data/options/history \
--header 'Content-Type: application/json' \
--data '
{
"contractSymbol": "AAPL261218C00250000",
"source": "auto",
"timeframe": "1Day",
"limit": 500,
"adjustment": "split",
"format": "json"
}
'import requests
url = "https://quantura.studio/api/market-data/options/history"
payload = {
"contractSymbol": "AAPL261218C00250000",
"source": "auto",
"timeframe": "1Day",
"limit": 500,
"adjustment": "split",
"format": "json"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
contractSymbol: 'AAPL261218C00250000',
source: 'auto',
timeframe: '1Day',
limit: 500,
adjustment: 'split',
format: 'json'
})
};
fetch('https://quantura.studio/api/market-data/options/history', 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://quantura.studio/api/market-data/options/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contractSymbol' => 'AAPL261218C00250000',
'source' => 'auto',
'timeframe' => '1Day',
'limit' => 500,
'adjustment' => 'split',
'format' => 'json'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/market-data/options/history"
payload := strings.NewReader("{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://quantura.studio/api/market-data/options/history")
.header("Content-Type", "application/json")
.body("{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/options/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"provider": "alpaca",
"sourceRequested": "auto",
"fallbackUsed": false,
"contractSymbol": "AAPL261218C00250000",
"timeframe": "1Day",
"count": 1,
"rows": [
{
"timestamp": "2026-09-18T04:00:00Z",
"open": 100,
"high": 102,
"low": 99,
"close": 101,
"volume": 1000
}
]
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}Body
application/json
Available options:
auto, alpaca, yahoo Available options:
bid, ask Dukascopy: retrieve bounded candle file pages; follow next_cursor using the same settings.
Available options:
1Min, 1Hour, 1Day Available options:
500, 1000, 1500, 2000, 50000 Available options:
raw, split, all Available options:
regular, extended Available options:
json, csv Response
JSON rows or CSV attachment
The response is of type object.
⌘I
Download closing history for one verified option contract
curl --request POST \
--url https://quantura.studio/api/market-data/options/history \
--header 'Content-Type: application/json' \
--data '
{
"contractSymbol": "AAPL261218C00250000",
"source": "auto",
"timeframe": "1Day",
"limit": 500,
"adjustment": "split",
"format": "json"
}
'import requests
url = "https://quantura.studio/api/market-data/options/history"
payload = {
"contractSymbol": "AAPL261218C00250000",
"source": "auto",
"timeframe": "1Day",
"limit": 500,
"adjustment": "split",
"format": "json"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
contractSymbol: 'AAPL261218C00250000',
source: 'auto',
timeframe: '1Day',
limit: 500,
adjustment: 'split',
format: 'json'
})
};
fetch('https://quantura.studio/api/market-data/options/history', 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://quantura.studio/api/market-data/options/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contractSymbol' => 'AAPL261218C00250000',
'source' => 'auto',
'timeframe' => '1Day',
'limit' => 500,
'adjustment' => 'split',
'format' => 'json'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://quantura.studio/api/market-data/options/history"
payload := strings.NewReader("{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://quantura.studio/api/market-data/options/history")
.header("Content-Type", "application/json")
.body("{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://quantura.studio/api/market-data/options/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"contractSymbol\": \"AAPL261218C00250000\",\n \"source\": \"auto\",\n \"timeframe\": \"1Day\",\n \"limit\": 500,\n \"adjustment\": \"split\",\n \"format\": \"json\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"provider": "alpaca",
"sourceRequested": "auto",
"fallbackUsed": false,
"contractSymbol": "AAPL261218C00250000",
"timeframe": "1Day",
"count": 1,
"rows": [
{
"timestamp": "2026-09-18T04:00:00Z",
"open": 100,
"high": 102,
"low": 99,
"close": 101,
"volume": 1000
}
]
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}{
"ok": false,
"error": "event_query_invalid",
"message": "Choose a provider event and a valid continuation cursor."
}