GET
/
api
/
trade
/
market
/
{marketId}
curl --request GET \
  --url https://api.data.adj.news/api/trade/market/{marketId} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "trade_id": "<string>",
      "market_id": "<string>",
      "event_id": "<string>",
      "title": "<string>",
      "amount": 123,
      "yes_price": 123,
      "no_price": 123,
      "price": 123,
      "side": "buy",
      "maker_side": "buy",
      "created_at": "<string>",
      "platform": "<string>",
      "trader_id": "<string>",
      "transaction_hash": "<string>",
      "metadata": {}
    }
  ],
  "meta": {
    "count": 123,
    "limit": 123,
    "offset": 123,
    "hasMore": true
  }
}

Get Trades for a Specific Market

This endpoint retrieves all trades for a specific market identified by its marketId, with support for pagination.

Path Parameters

  • marketId (required): The unique identifier for the market

Query Parameters

  • limit (optional): Number of results to return (default: 50)
  • offset (optional): Number of results to skip (default: 0)

Response Format

{
  "data": [
    {
      "id": "trade_123",
      "trade_id": "platform_trade_123",
      "market_id": "market_abc",
      "amount": 100.5,
      "price": 0.65,
      "side": "buy",
      "created_at": "2025-03-26T14:22:31Z",
      "platform": "polymarket"
    },
    // More trade records...
  ],
  "meta": {
    "count": 120,
    "limit": 50,
    "offset": 0,
    "hasMore": true
  }
}

Use Cases

  1. Market Activity Analysis: Track all trades for a specific market
  2. Price Movement Tracking: Analyze how prices have changed over time
  3. Volume Analysis: Study trading patterns and volume for a market
  4. Trade History: View complete trade history for research purposes

Example Query

# Get the first 50 trades for a specific market
curl "https://api.data.adj.news/api/trade/market/polymarket_will-trump-win-2024-election"

# Get the next 50 trades
curl "https://api.data.adj.news/api/trade/market/polymarket_will-trump-win-2024-election?offset=50"

# Get just 10 trades
curl "https://api.data.adj.news/api/trade/market/polymarket_will-trump-win-2024-election?limit=10"

Notes

  • Trades are returned in reverse chronological order (newest first)
  • The response includes pagination metadata to help navigate through all trades
  • The hasMore field indicates whether more trades are available beyond the current page

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token

Path Parameters

marketId
string
required

The unique identifier for the market

Query Parameters

limit
integer
default:50

Number of results to return

offset
integer
default:0

Number of results to skip

Response

200
application/json
Trades for the specified market

The response is of type object.