Prediction markets are decentralized platforms where users can trade on the outcome of future events. These markets leverage blockchain technology to ensure transparency, security, and open access, allowing participants to buy and sell shares of event outcomes. Polymarket is a leading prediction market protocol on Polygon, providing a liquid and transparent venue for event-based trading. Allium indexes and provides access to detailed prediction market trade data, enabling users to analyze market activity, volumes, and participant behavior across supported protocols.

Prediction Markets Data Coverage

CategoryProtocols SupportedNotes
TradesPolymarketIncludes all trades on Polymarket. Market metadata to come.

Blockchain Coverage

EcosystemBlockchain Supported
EVM-CompatiblePolygon

Models Supported

The following model is supported for prediction markets:
ModelDescriptionUse Case
TradesTracks all trades on prediction markets, including event, participants, and share pricing.Analyze trading activity, volumes, and user participation in prediction markets.

Table Columns

Column NameDescription
event_nameName of the prediction market event.
projectName of the project (e.g., Polymarket).
protocolProtocol name (e.g., polymarket).
exchange_typeType of exchange (e.g., Polymarket Fixed Product Market Maker, Orderbook).
condition_idUnique identifier for the event condition.
market_addressAddress of the prediction market contract.
order_hashUnique hash of the order.
makerAddress of the maker in the trade.
takerAddress of the taker in the trade.
asset_idIdentifier for the traded asset.
collateral_amount_rawRaw collateral amount (unnormalized).
token_amount_rawRaw share amount (unnormalized).
price_strShare price as a string.
priceShare price as a float.
maker_amount_rawRaw amount provided by the maker.
taker_amount_rawRaw amount provided by the taker.
fee_rawRaw fee amount.
collateral_token_addressAddress of the collateral token.
collateral_token_nameName of the collateral token.
collateral_token_symbolSymbol of the collateral token.
collateral_token_decimalsDecimals of the collateral token.
collateral_amountCollateral amount (normalized).
fee_amountFee amount (normalized).
usd_exchange_rateUSD exchange rate of the collateral token at the time of trade.
usd_collateral_amountCollateral amount in USD.
usd_fee_amountFee amount in USD.
transaction_indexIndex of the transaction in the block.
transaction_hashHash of the transaction.
log_indexLog index of the trade event.
block_timestampTimestamp of the block containing the trade.
block_numberBlock number of the trade.
block_hashHash of the block containing the trade.
unique_idUnique identifier for the trade.

Sample Query

Query all trades on Prediction Markets in the last 30 days.
select
  event_name,
  project,
  protocol,
  maker,
  taker,
  price,
  collateral_amount_raw,
  collateral_token_address,
  collateral_token_name,
  collateral_token_symbol,
  usd_exchange_rate,
  usd_collateral_amount,
  block_timestamp,
  transaction_hash,
  unique_id
from polygon.predictions.trades
where block_timestamp >= current_timestamp - interval '30 days'
order by block_timestamp desc