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
Indicates if the request was successful
Human-readable response message
Array of market objects
Show market properties
Show market properties
Market ID (UUID)Example:
550e8400-e29b-41d4-a716-446655440000Trading pair identifierExample:
USDT-NGNBase asset of the pair (always
USD - unified balance)Example: USDQuote asset of the pairExample:
NGNMarket statusValues:
active, suspended, maintenanceISO 8601 creation timestamp
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 Balance: The API accepts
USDT-NGN, USDC-NGN, or USD-NGN as input symbols. All are treated equivalently and map to a single unified USD balance. Responses will show USD as the base asset.| Input Symbol | Mapped To | Description |
|---|---|---|
USDT-NGN | USD-NGN | Tether USD to Nigerian Naira (recommended) |
USDC-NGN | USD-NGN | USD Coin to Nigerian Naira |
USD-NGN | USD-NGN | US Dollar to Nigerian Naira |
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
⌘I