Skip to main content
GET
/
v1
/
dflow
/
trades
Get Dflow Trades
curl --request GET \
  --url https://api.predexon.com/v1/dflow/trades \
  --header 'x-api-key: <api-key>'
{
  "trades": [
    {
      "tx_hash": "5xKpN2...",
      "wallet": "7vfCXTUXx...",
      "market_ticker": "BTCPRICE-26JAN",
      "outcome_mint": "8xPqM3...",
      "trade_type": "BUY_FILL",
      "shares": 100,
      "price": 0.65,
      "cost_usd": 65.00,
      "timestamp": 1705420800,
      "title": "Bitcoin above $100k by Jan 2026?",
      "category": "Crypto",
      "side": "YES"
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 127,
    "has_more": true
  }
}
Fetch trade history for a wallet on Dflow with market metadata.
{
  "trades": [
    {
      "tx_hash": "5xKpN2...",
      "wallet": "7vfCXTUXx...",
      "market_ticker": "BTCPRICE-26JAN",
      "outcome_mint": "8xPqM3...",
      "trade_type": "BUY_FILL",
      "shares": 100,
      "price": 0.65,
      "cost_usd": 65.00,
      "timestamp": 1705420800,
      "title": "Bitcoin above $100k by Jan 2026?",
      "category": "Crypto",
      "side": "YES"
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 127,
    "has_more": true
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get your free key at dashboard.predexon.com

Query Parameters

wallet
string
required

Wallet address to fetch trades for

market_ticker
string | null

Filter by market ticker

outcome_mint
string | null

Filter by outcome mint address

trade_type
enum<string> | null

Filter by trade type: BUY_FILL, SELL_FILL, or REDEEM Dflow trade type enum.

Available options:
BUY_FILL,
SELL_FILL,
REDEEM
start_time
integer | null

Unix timestamp (seconds) for start

end_time
integer | null

Unix timestamp (seconds) for end

limit
integer
default:100

Number of trades to return

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of trades to skip

Required range: 0 <= x <= 100000
order
enum<string>
default:desc

Sort order: asc or desc

Available options:
asc,
desc

Response

Successful Response

Dflow trades endpoint response.

trades
DflowTrade · object[]
required
pagination
Pagination · object
required

Offset-based pagination model.