curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/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": [
{
"contractVolume": 19359,
"currency": "IBIT",
"exchange": "tradfi",
"instrument": "IBIT-17JAN25-54-C",
"maxIv": 74.47000122070312,
"minIv": 53.66999816894531,
"vwapIv": 66.03,
"vwapPriceUsd": 5.64
},
{
"contractVolume": 18179,
"currency": "IBIT",
"exchange": "tradfi",
"instrument": "IBIT-17JAN25-54-P",
"maxIv": 66.37000274658203,
"minIv": 60.0099983215332,
"vwapIv": 64.64,
"vwapPriceUsd": 5.03
}
]
}
}{}Instruments Most Traded
This endpoint returns the most traded instruments on a selected exchange for a selected underlying currency, for a given date range. This endpoint also returns the VWAP (Volume-Weighted-Average-Price) and VWAP of implied volatility. The calculation for VWAP uses each available trade, weighted by contract sizes and applied to Price USD and/or Implied Volatility, for the given date range.
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/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/instruments/most-traded/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/instruments/most-traded/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": [
{
"contractVolume": 19359,
"currency": "IBIT",
"exchange": "tradfi",
"instrument": "IBIT-17JAN25-54-C",
"maxIv": 74.47000122070312,
"minIv": 53.66999816894531,
"vwapIv": 66.03,
"vwapPriceUsd": 5.64
},
{
"contractVolume": 18179,
"currency": "IBIT",
"exchange": "tradfi",
"instrument": "IBIT-17JAN25-54-P",
"maxIv": 66.37000274658203,
"minIv": 60.0099983215332,
"vwapIv": 64.64,
"vwapPriceUsd": 5.03
}
]
}
}{}Authorizations
Query Parameters
[Required] The underlying currency for which there are listed option instruments.
[Examples] IBIT | COIN
[Required] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2024-11-25
[Required] Payload only includes data before this date (exclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2024-11-26
[Optional] Time format of the timestamps in the return payload.
[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
Was this page helpful?