Skip to main content
GET
/
public
/
v1
/
market-trades
/
{symbol}
List Market Trades
curl --request GET \
  --url https://api.pro.daya.co/public/v1/market-trades/{symbol}
{
  "success": true,
  "message": "Market trades retrieved successfully",
  "data": [
    {
      "id": "660e8400-e29b-41d4-a716-446655440000",
      "symbol": "USD-NGN",
      "price": "1545.50",
      "quantity": "100.00",
      "side": "buy",
      "created_at": "2024-01-15T10:35:01Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440001",
      "symbol": "USD-NGN",
      "price": "1545.00",
      "quantity": "50.00",
      "side": "sell",
      "created_at": "2024-01-15T10:34:55Z"
    }
  ]
}

Overview

Get a list of recent trades executed on a specific market. This is public market data and does not require authentication. Unlike the List Trades endpoint, this returns anonymous market-wide trades rather than your personal trade history.

Path Parameters

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

Query Parameters

limit
integer
Maximum number of trades to returnDefault: 50Range: 1 to 100

Request Examples

curl --request GET \
  --url 'https://api.pro.daya.co/public/v1/market-trades/USDT-NGN?limit=20'

Response

success
boolean
required
Indicates if the request was successful
message
string
required
Human-readable response message
data
array
required
Array of market trade objects

Success Response

{
  "success": true,
  "message": "Market trades retrieved successfully",
  "data": [
    {
      "id": "660e8400-e29b-41d4-a716-446655440000",
      "symbol": "USD-NGN",
      "price": "1545.50",
      "quantity": "100.00",
      "side": "buy",
      "created_at": "2024-01-15T10:35:01Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440001",
      "symbol": "USD-NGN",
      "price": "1545.00",
      "quantity": "50.00",
      "side": "sell",
      "created_at": "2024-01-15T10:34:55Z"
    }
  ]
}

Error Responses

{
  "success": false,
  "message": "Market not found",
  "error": {
    "code": "SYMBOL_NOT_FOUND",
    "message": "Market not found"
  }
}

Notes

  • Trades are returned in reverse chronological order (most recent first).
  • The side field indicates the taker side of the trade (the order that triggered the match).
  • This endpoint returns anonymous market data. For your personal trade history with fee details, use the authenticated List Trades endpoint.

Rate Limits

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

Next Steps

Get Last Price

Get the latest price for a market

Get Orderbook

View market depth for a trading pair