curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/instruments/information/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/instruments/information/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/information/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/information/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/information/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/information/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/instruments/information/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",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-100-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-100-C",
"putCall": "C",
"strike": 100
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-100-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-100-P",
"putCall": "P",
"strike": 100
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-30-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-30-C",
"putCall": "C",
"strike": 30
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-30-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-30-P",
"putCall": "P",
"strike": 30
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-31-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-31-C",
"putCall": "C",
"strike": 31
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-31-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-31-P",
"putCall": "P",
"strike": 31
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}{}Options Instruments
This endpoint returns all available exchanges, currencies and option instruments. If a timestamp is used we can then filter the information for historical data. USA Trading hours are 14:30:00 - 21:00:00 UTC (9:30a-4pm ET)
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/instruments/information/tradfi \
--header 'x-api-key: <api-key>'import requests
url = "https://api.amberdata.com/markets/derivatives/analytics/instruments/information/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/information/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/information/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/information/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/information/tradfi")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.amberdata.com/markets/derivatives/analytics/instruments/information/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",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-100-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-100-C",
"putCall": "C",
"strike": 100
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-100-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-100-P",
"putCall": "P",
"strike": 100
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-30-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-30-C",
"putCall": "C",
"strike": 30
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-30-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-30-P",
"putCall": "P",
"strike": 30
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-31-C",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-31-C",
"putCall": "C",
"strike": 31
},
{
"currency": "IBIT",
"endDate": 1732035000000,
"exchange": "tradfi",
"expiration": 1734652800000,
"instrument": "TRADFI-IBIT-20DEC24-31-P",
"multiplier": 100,
"nativeInstrument": "IBIT-20DEC24-31-P",
"putCall": "P",
"strike": 31
}
],
"metadata": {
"api-version": "2023-09-30"
}
}
}{}Authorizations
Query Parameters
[Optional] The underlying currency ticker for which there are listed option instruments. [Examples] IBIT | COIN
[Optional] Filter records based on the specified expiration date. [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] A select historical timestamp for which a list of option instruments were active at the time. [Examples] 2024-11-20T00:00:00.000Z Supported Formats: milliseconds | ms* | iso | iso8601 | hr | human_readable
[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
Was this page helpful?