Skip to main content
GET
/
v1
/
public
/
info
/
{symbol}
Get order rules per symbol
curl --request GET \
  --url https://api.orderly.org/v1/public/info/{symbol}
import requests

url = "https://api.orderly.org/v1/public/info/{symbol}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.orderly.org/v1/public/info/{symbol}', 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/{symbol}",
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/{symbol}"

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/{symbol}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.orderly.org/v1/public/info/{symbol}")

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": {
    "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
}

Path Parameters

symbol
string
required

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object
required
timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989