Option Volumes
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi', 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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 17:08:17 500",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 47.5,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.90500259399414,
"volume": 2,
"volumeUsd": 11981
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 18:17:03 607",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 48,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.88833363850912,
"volume": 6,
"volumeUsd": 35933
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 14:25:00 446",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 48.5,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.48500061035156,
"volume": 2,
"volumeUsd": 11897
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 18:38:01 605",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 50,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.72333335876465,
"volume": 9,
"volumeUsd": 53751
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}{}Trades/Flow
Option Volumes
This endpoint returns the total traded options volume for a selected currency.
GET
/
analytics
/
trades-flow
/
option-volumes
/
tradfi
Option Volumes
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi', 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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/trades-flow/option-volumes/tradfi")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 17:08:17 500",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 47.5,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.90500259399414,
"volume": 2,
"volumeUsd": 11981
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 18:17:03 607",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 48,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.88833363850912,
"volume": 6,
"volumeUsd": 35933
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 14:25:00 446",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 48.5,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.48500061035156,
"volume": 2,
"volumeUsd": 11897
},
{
"currency": "IBIT",
"exchangeTimestamp": "2025-06-04 18:38:01 605",
"expirationTimestamp": "2025-06-06 00:00:00 000",
"putCall": "C",
"strike": 50,
"timestamp": "2025-06-04 00:00:00 000",
"underlyingPrice": 59.72333335876465,
"volume": 9,
"volumeUsd": 53751
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}{}Authorizations
Query Parameters
The underlying currency for which there are listed option instruments. (ex) IBIT | COIN
Payload only includes data on this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2025-06-04T00:00:00
Filter records based on the specified expiration date.
[Examples] 1578531600 | 1578531600000 | 2026-01-16
The option instrument subset that's either a call (C) or put (P).
The option instrument subset with a given strike price. 50 | 100
Time format of the timestamps in the return payload. milliseconds | ms* | iso | iso8601 | hr | human_readable
Was this page helpful?
⌘I