cURL
curl --request GET \
--url https://gateway.architect.exchange/api/instrumentsimport requests
url = "https://gateway.architect.exchange/api/instruments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://gateway.architect.exchange/api/instruments', 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://gateway.architect.exchange/api/instruments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://gateway.architect.exchange/api/instruments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gateway.architect.exchange/api/instruments")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.architect.exchange/api/instruments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"instruments": [
{
"additional_product_specs": {},
"funding_settlement_currency": "<string>",
"initial_margin_pct": "<string>",
"maintenance_margin_pct": "<string>",
"minimum_order_size": "<string>",
"multiplier": "<string>",
"price_scale": 123,
"quote_currency": "<string>",
"symbol": "<string>",
"tick_size": "<string>",
"contract_mark_price": "<string>",
"contract_size": "<string>",
"description": "<string>",
"estimated_funding_supported": true,
"expiration": "2023-11-07T05:31:56Z",
"funding_rate_cap_lower_pct": "<string>",
"funding_rate_cap_upper_pct": "<string>",
"funding_schedule": {
"exceptions": [
{
"date": "2023-12-25",
"times": [
{
"hours": 1,
"minutes": 1,
"seconds": 1
}
],
"reason": "<string>"
}
],
"times": [
{
"days_of_week": [
1
],
"time_of_day": {
"hours": 1,
"minutes": 1,
"seconds": 1
}
}
],
"timezone": "Europe/London"
},
"funding_schedule_calendar_description": "<string>",
"funding_schedule_time_description": "<string>",
"price_band_lower_deviation_pct": "<string>",
"price_band_upper_deviation_pct": "<string>",
"price_bands": "<string>",
"price_quotation": "<string>",
"product": "<string>",
"trading_schedule": {
"segments": [
{
"days_of_week": [
1
],
"duration_seconds": 1,
"expire_all_orders": true,
"hide_market_data": true,
"time_of_day": {
"hours": 1,
"minutes": 1,
"seconds": 1
}
}
]
},
"underlying_benchmark_price": "<string>"
}
]
}Symbols and instruments
Get instruments
GET
/
instruments
cURL
curl --request GET \
--url https://gateway.architect.exchange/api/instrumentsimport requests
url = "https://gateway.architect.exchange/api/instruments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://gateway.architect.exchange/api/instruments', 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://gateway.architect.exchange/api/instruments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://gateway.architect.exchange/api/instruments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gateway.architect.exchange/api/instruments")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.architect.exchange/api/instruments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"instruments": [
{
"additional_product_specs": {},
"funding_settlement_currency": "<string>",
"initial_margin_pct": "<string>",
"maintenance_margin_pct": "<string>",
"minimum_order_size": "<string>",
"multiplier": "<string>",
"price_scale": 123,
"quote_currency": "<string>",
"symbol": "<string>",
"tick_size": "<string>",
"contract_mark_price": "<string>",
"contract_size": "<string>",
"description": "<string>",
"estimated_funding_supported": true,
"expiration": "2023-11-07T05:31:56Z",
"funding_rate_cap_lower_pct": "<string>",
"funding_rate_cap_upper_pct": "<string>",
"funding_schedule": {
"exceptions": [
{
"date": "2023-12-25",
"times": [
{
"hours": 1,
"minutes": 1,
"seconds": 1
}
],
"reason": "<string>"
}
],
"times": [
{
"days_of_week": [
1
],
"time_of_day": {
"hours": 1,
"minutes": 1,
"seconds": 1
}
}
],
"timezone": "Europe/London"
},
"funding_schedule_calendar_description": "<string>",
"funding_schedule_time_description": "<string>",
"price_band_lower_deviation_pct": "<string>",
"price_band_upper_deviation_pct": "<string>",
"price_bands": "<string>",
"price_quotation": "<string>",
"product": "<string>",
"trading_schedule": {
"segments": [
{
"days_of_week": [
1
],
"duration_seconds": 1,
"expire_all_orders": true,
"hide_market_data": true,
"time_of_day": {
"hours": 1,
"minutes": 1,
"seconds": 1
}
}
]
},
"underlying_benchmark_price": "<string>"
}
]
}Response
200 - application/json
List of instruments
Show child attributes
Show child attributes
⌘I