Skip to main content
GET
/
public
/
v1
/
markets
/
{symbol}
Get Market
curl --request GET \
  --url https://api.pro.daya.co/public/v1/markets/{symbol}
{
  "success": true,
  "message": "Market 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 details for a specific trading market by its symbol. This endpoint does not require authentication.

Path Parameters

symbol
string
required
Trading pair symbolExample: USDT-NGNAllowed values: USDT-NGN, USDC-NGN, USD-NGN

Request Examples

curl --request GET \
  --url https://api.pro.daya.co/public/v1/markets/USDT-NGN

Response

success
boolean
required
Indicates if the request was successful
message
string
required
Human-readable response message
data
object
required
Market details

Success Response

{
  "success": true,
  "message": "Market 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"
  }
}

Error Responses

{
  "success": false,
  "message": "Market not found",
  "error": {
    "code": "SYMBOL_NOT_FOUND",
    "message": "Market not found",
    "symbol": "INVALID-PAIR"
  }
}

Unified Balance

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. The response will show USD as the base asset.

Rate Limits

  • 100 requests per minute per IP address
  • No authentication required

Next Steps

List Markets

View all available markets

Get Last Price

Get the latest price for a market