Get available symbols
curl --request GET \
--url https://api.orderly.org/v1/public/infoimport requests
url = "https://api.orderly.org/v1/public/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orderly.org/v1/public/info', 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.orderly.org/v1/public/info",
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://api.orderly.org/v1/public/info"
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://api.orderly.org/v1/public/info")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orderly.org/v1/public/info")
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{
"success": true,
"data": {
"rows": [
{
"symbol": "PERP_BTC_USDC",
"quote_min": 0,
"quote_max": 100000,
"quote_tick": 0.1,
"base_min": 0.00001,
"base_max": 20,
"base_tick": 0.00001,
"min_notional": 1,
"price_range": 0.02,
"price_scope": 0.4,
"std_liquidation_fee": 0.03,
"liquidator_fee": 0.015,
"claim_insurance_fund_discount": 0.0075,
"funding_period": 8,
"cap_funding": 0.000375,
"floor_funding": -0.000375,
"interest_rate": 0.0001,
"created_time": 1684140107326,
"updated_time": 1685345968053,
"base_mmr": 0.05,
"base_imr": 0.1,
"cap_ir": 0.0003,
"floor_ir": -0.0003,
"imr_factor": 0.025,
"liquidation_tier": 1,
"global_max_oi_cap": 11111
}
]
},
"timestamp": 1702989203989
}Market info
Get available symbols
Limit: 10 requests per 1 second per IP address
GET /v1/public/info
Get available symbols that Orderly supports, and also send order rules for each symbol. The definition of rules can be found at Get Order Rules per Market
Predict symbols are not returned by this endpoint. Use GET /v1/public/binary/info for Predict round information.
GET
/
v1
/
public
/
info
Get available symbols
curl --request GET \
--url https://api.orderly.org/v1/public/infoimport requests
url = "https://api.orderly.org/v1/public/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orderly.org/v1/public/info', 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.orderly.org/v1/public/info",
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://api.orderly.org/v1/public/info"
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://api.orderly.org/v1/public/info")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orderly.org/v1/public/info")
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{
"success": true,
"data": {
"rows": [
{
"symbol": "PERP_BTC_USDC",
"quote_min": 0,
"quote_max": 100000,
"quote_tick": 0.1,
"base_min": 0.00001,
"base_max": 20,
"base_tick": 0.00001,
"min_notional": 1,
"price_range": 0.02,
"price_scope": 0.4,
"std_liquidation_fee": 0.03,
"liquidator_fee": 0.015,
"claim_insurance_fund_discount": 0.0075,
"funding_period": 8,
"cap_funding": 0.000375,
"floor_funding": -0.000375,
"interest_rate": 0.0001,
"created_time": 1684140107326,
"updated_time": 1685345968053,
"base_mmr": 0.05,
"base_imr": 0.1,
"cap_ir": 0.0003,
"floor_ir": -0.0003,
"imr_factor": 0.025,
"liquidation_tier": 1,
"global_max_oi_cap": 11111
}
]
},
"timestamp": 1702989203989
}