Refdata
curl --request GET \
--url https://api.qfex.com/refdataimport requests
url = "https://api.qfex.com/refdata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qfex.com/refdata', 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.qfex.com/refdata",
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.qfex.com/refdata"
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.qfex.com/refdata")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qfex.com/refdata")
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{
"data": [
{
"base_asset": "<string>",
"clobPairId": "<string>",
"default_max_leverage": 1,
"lot_size": "<string>",
"margin_asset": "<string>",
"market_hours": {},
"max_price": "<string>",
"max_quantity": "<string>",
"min_price": "<string>",
"min_quantity": "<string>",
"order_time_in_force": [
"<string>"
],
"order_types": [
"<string>"
],
"price_change_24h": "<string>",
"product_category": "<string>",
"quote_asset": "<string>",
"status": "<string>",
"symbol": "<string>",
"tick_size": "<string>",
"underlier_price": "<string>"
}
],
"type": "<string>",
"$schema": "<string>"
}{
"$schema": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}market-data
Refdata
Return symbol reference data.
GET
/
refdata
Refdata
curl --request GET \
--url https://api.qfex.com/refdataimport requests
url = "https://api.qfex.com/refdata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qfex.com/refdata', 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.qfex.com/refdata",
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.qfex.com/refdata"
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.qfex.com/refdata")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qfex.com/refdata")
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{
"data": [
{
"base_asset": "<string>",
"clobPairId": "<string>",
"default_max_leverage": 1,
"lot_size": "<string>",
"margin_asset": "<string>",
"market_hours": {},
"max_price": "<string>",
"max_quantity": "<string>",
"min_price": "<string>",
"min_quantity": "<string>",
"order_time_in_force": [
"<string>"
],
"order_types": [
"<string>"
],
"price_change_24h": "<string>",
"product_category": "<string>",
"quote_asset": "<string>",
"status": "<string>",
"symbol": "<string>",
"tick_size": "<string>",
"underlier_price": "<string>"
}
],
"type": "<string>",
"$schema": "<string>"
}{
"$schema": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}⌘I