List Markets
curl --request GET \
--url https://api.pro.daya.co/public/v1/marketsimport requests
url = "https://api.pro.daya.co/public/v1/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pro.daya.co/public/v1/markets', 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.pro.daya.co/public/v1/markets",
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.pro.daya.co/public/v1/markets"
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.pro.daya.co/public/v1/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pro.daya.co/public/v1/markets")
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,
"message": "Markets retrieved successfully",
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"symbol": "USD-NGN",
"base_asset": "USD",
"quote_asset": "NGN",
"status": "active",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
]
}
Markets
List Markets
Retrieve all available trading markets
GET
/
public
/
v1
/
markets
List Markets
curl --request GET \
--url https://api.pro.daya.co/public/v1/marketsimport requests
url = "https://api.pro.daya.co/public/v1/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pro.daya.co/public/v1/markets', 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.pro.daya.co/public/v1/markets",
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.pro.daya.co/public/v1/markets"
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.pro.daya.co/public/v1/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pro.daya.co/public/v1/markets")
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,
"message": "Markets retrieved successfully",
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"symbol": "USD-NGN",
"base_asset": "USD",
"quote_asset": "NGN",
"status": "active",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
]
}
Overview
Get a list of all available trading markets on the Pro platform. This endpoint does not require authentication.Request Examples
curl --request GET \
--url https://api.pro.daya.co/public/v1/markets
const response = await fetch('https://api.pro.daya.co/public/v1/markets');
const data = await response.json();
console.log(data.data);
import requests
response = requests.get('https://api.pro.daya.co/public/v1/markets')
data = response.json()
print(data['data'])
package main
import (
"encoding/json"
"fmt"
"net/http"
)
func main() {
resp, err := http.Get("https://api.pro.daya.co/public/v1/markets")
if err != nil {
panic(err)
}
defer resp.Body.Close()
var data map[string]interface{}
json.NewDecoder(resp.Body).Decode(&data)
fmt.Println(data["data"])
}
Response
boolean
required
Indicates if the request was successful
string
required
Human-readable response message
array
required
Array of market objects
Show market properties
Show market properties
string
Market ID (UUID)Example:
550e8400-e29b-41d4-a716-446655440000string
Trading pair identifierExample:
USD-NGNstring
Base asset of the pair (always
USD - unified balance)Example: USDstring
Quote asset of the pairExample:
NGNstring
Market statusValues:
active, suspended, maintenancestring
ISO 8601 creation timestamp
string
ISO 8601 last update timestamp
Success Response
{
"success": true,
"message": "Markets retrieved successfully",
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"symbol": "USD-NGN",
"base_asset": "USD",
"quote_asset": "NGN",
"status": "active",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
]
}
Available Markets
Unified USD balance: USDT and USDC deposits credit the same USD balance. Use the exact active
symbol returned by this endpoint for quotes, orders, order books, and filters. The current market symbol is USD-NGN.Rate Limits
- 100 requests per minute per IP address
- No authentication required
Next Steps
Get Orderbook
View market depth for a trading pair
Place Order
Place your first trade