Python (SDK)
from datetime import date
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.options.get_chain_snapshot(underlying_asset="AAPL", strike_price="190", expiration_date=date.fromisoformat("2024-01-19"), contract_type="call", order=models.GetOptionChainSnapshotOrder.ASC, limit=50)
while res is not None:
# Handle items
res = res.next()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.options.getChainSnapshot({
underlyingAsset: "AAPL",
strikePrice: "190",
expirationDate: new Date("2024-01-19"),
contractType: "call",
limit: 50,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset}', 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/options/snapshot/chain/{underlyingAsset}",
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/options/snapshot/chain/{underlyingAsset}"
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/options/snapshot/chain/{underlyingAsset}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset}")
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{
"nextUrl": "https://api.aries.com/v1/options/snapshot/chain/AAPL?limit=1&next=YXA9TyUzQUFBUEwyNjA0MTBDMDAxMTAwMDAlM0ExMTAuMDAmYXM9JmV4cGlyYXRpb25fZGF0ZS5ndGU9MjAyNi0wNC0xMCZsaW1pdD0xJm9yZGVyPWFzYyZzb3J0PXRpY2tlcg&order=asc&sort=ticker",
"requestId": "cef93e70deeab28211f93cf18894ea94",
"results": [
{
"breakEvenPrice": 260.625,
"day": {
"change": 0,
"changePercent": 0,
"close": 147.62,
"high": 148.41,
"lastUpdated": 1775678400000000000,
"low": 147.62,
"open": 148.41,
"previousClose": 147.62,
"volume": 4,
"vwap": 147.9625
},
"details": {
"contractType": "call",
"exerciseStyle": "american",
"expirationDate": "2026-04-10",
"sharesPerContract": 100,
"strikePrice": 110,
"ticker": "O:AAPL260410C00110000"
},
"fmv": 150.626,
"fmvLastUpdated": 1775764519938981000,
"greeks": {
"delta": 0.9866009460931855,
"gamma": 0.0003035183978405151,
"theta": -2.5694750192894538,
"vega": 0.0038452348585003293
},
"impliedVolatility": 9.52609127380109,
"lastQuote": {
"ask": 152.4,
"askExchange": 300,
"askSize": 135,
"bid": 148.85,
"bidExchange": 300,
"bidSize": 136,
"lastUpdated": 1775764799797068500,
"midpoint": 150.625,
"timeframe": "REAL-TIME"
},
"lastTrade": {
"conditions": [
240
],
"exchange": 308,
"price": 147.62,
"sipTimestamp": 1775665726017723100,
"size": 1,
"timeframe": "REAL-TIME"
},
"openInterest": 1,
"underlyingAsset": {
"changeToBreakEven": 0.639,
"lastUpdated": 1775779195495831800,
"price": 259.986,
"ticker": "AAPL",
"timeframe": "DELAYED"
}
}
],
"status": "OK"
}Options
Option chain snapshot
Retrieve a paginated snapshot of option contracts for an underlying equity, with optional filters on strike, expiration, and contract type.
Use Case: Build or refresh an options chain view, screen strikes and expirations, or page through the full set of contracts for a symbol.
GET
/
v1
/
options
/
snapshot
/
chain
/
{underlyingAsset}
Python (SDK)
from datetime import date
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.options.get_chain_snapshot(underlying_asset="AAPL", strike_price="190", expiration_date=date.fromisoformat("2024-01-19"), contract_type="call", order=models.GetOptionChainSnapshotOrder.ASC, limit=50)
while res is not None:
# Handle items
res = res.next()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.options.getChainSnapshot({
underlyingAsset: "AAPL",
strikePrice: "190",
expirationDate: new Date("2024-01-19"),
contractType: "call",
limit: 50,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset}', 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/options/snapshot/chain/{underlyingAsset}",
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/options/snapshot/chain/{underlyingAsset}"
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/options/snapshot/chain/{underlyingAsset}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/options/snapshot/chain/{underlyingAsset}")
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{
"nextUrl": "https://api.aries.com/v1/options/snapshot/chain/AAPL?limit=1&next=YXA9TyUzQUFBUEwyNjA0MTBDMDAxMTAwMDAlM0ExMTAuMDAmYXM9JmV4cGlyYXRpb25fZGF0ZS5ndGU9MjAyNi0wNC0xMCZsaW1pdD0xJm9yZGVyPWFzYyZzb3J0PXRpY2tlcg&order=asc&sort=ticker",
"requestId": "cef93e70deeab28211f93cf18894ea94",
"results": [
{
"breakEvenPrice": 260.625,
"day": {
"change": 0,
"changePercent": 0,
"close": 147.62,
"high": 148.41,
"lastUpdated": 1775678400000000000,
"low": 147.62,
"open": 148.41,
"previousClose": 147.62,
"volume": 4,
"vwap": 147.9625
},
"details": {
"contractType": "call",
"exerciseStyle": "american",
"expirationDate": "2026-04-10",
"sharesPerContract": 100,
"strikePrice": 110,
"ticker": "O:AAPL260410C00110000"
},
"fmv": 150.626,
"fmvLastUpdated": 1775764519938981000,
"greeks": {
"delta": 0.9866009460931855,
"gamma": 0.0003035183978405151,
"theta": -2.5694750192894538,
"vega": 0.0038452348585003293
},
"impliedVolatility": 9.52609127380109,
"lastQuote": {
"ask": 152.4,
"askExchange": 300,
"askSize": 135,
"bid": 148.85,
"bidExchange": 300,
"bidSize": 136,
"lastUpdated": 1775764799797068500,
"midpoint": 150.625,
"timeframe": "REAL-TIME"
},
"lastTrade": {
"conditions": [
240
],
"exchange": 308,
"price": 147.62,
"sipTimestamp": 1775665726017723100,
"size": 1,
"timeframe": "REAL-TIME"
},
"openInterest": 1,
"underlyingAsset": {
"changeToBreakEven": 0.639,
"lastUpdated": 1775779195495831800,
"price": 259.986,
"ticker": "AAPL",
"timeframe": "DELAYED"
}
}
],
"status": "OK"
}Authorizations
Path Parameters
Query Parameters
Response
Option chain snapshot returned successfully.
Paginated option chain snapshot for an underlying (OptionChainSnapshotResponse).
Was this page helpful?