Skip to main content
GET
/
v1
/
markets
/
{market_id}
/
trades
/
aggregated
Get Trade Prices
curl --request GET \
  --url https://api.predictamarkets.com/v1/markets/{market_id}/trades/aggregated
[
  {
    "yes_trade_price": 86,
    "trade_timestamp": "2026-05-16T00:00:00",
    "market_asset_id": 199651
  },
  {
    "yes_trade_price": 10,
    "trade_timestamp": "2026-05-16T00:00:00",
    "market_asset_id": 199652
  },
  {
    "yes_trade_price": 4,
    "trade_timestamp": "2026-05-16T00:00:00",
    "market_asset_id": 199653
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.predictamarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

market_id
required

Flexible identifier type that accepts either a numeric integer ID or a human-readable qualified ID string (QID). QIDs follow a prefix convention: MA for markets, MAA for market assets, AP for account payouts. Most path parameters that accept an ID use this type so callers can use whichever form is more convenient.

Query Parameters

interval
string
default:1 month

Time interval to aggregate (e.g., 1 hour, 1 day, 1 week, 1 month, 1 year)

Pattern: ^(?:\d+)?\s*(second|minute|hour|day|week|month|year|all)s?$

Response

List of trades

yes_trade_price
number
required

Last traded price for the YES side (1–99)

trade_timestamp
string<date-time>
required

UTC timestamp of the trade

market_asset_id
integer
required

ID of the market asset (outcome) this trade belongs to