🤖 New: DFlow Agent CLI. Give your AI agent a Solana wallet and let it trade. Get started
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/onchain-trades \
--header 'x-api-key: <api-key>'{
"trades": [
{
"createdAt": 1,
"eventType": "<string>",
"feeAmount": 123,
"feeMint": "<string>",
"fillRecipient": "<string>",
"id": 123,
"inputAmount": 123,
"inputMint": "<string>",
"orderAccount": "<string>",
"outputAmount": 123,
"outputMint": "<string>",
"refundRecipient": "<string>",
"transactionSignature": "<string>",
"wallet": "<string>",
"contracts": 123,
"marketTicker": "<string>",
"side": "<string>",
"usdPricePerContract": 123
}
],
"cursor": "<string>"
}API reference for GET /api/v1/onchain-trades
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/onchain-trades \
--header 'x-api-key: <api-key>'{
"trades": [
{
"createdAt": 1,
"eventType": "<string>",
"feeAmount": 123,
"feeMint": "<string>",
"fillRecipient": "<string>",
"id": 123,
"inputAmount": 123,
"inputMint": "<string>",
"orderAccount": "<string>",
"outputAmount": 123,
"outputMint": "<string>",
"refundRecipient": "<string>",
"transactionSignature": "<string>",
"wallet": "<string>",
"contracts": 123,
"marketTicker": "<string>",
"side": "<string>",
"usdPricePerContract": 123
}
],
"cursor": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Contact hello@dflow.net to obtain an API key.
Maximum number of trades to return (1-250, default 100)
x >= 0Pagination cursor (trade ID) to start from
Filter by wallet address
Filter by mint address (input_mint or output_mint)
Filter by market ticker
Sort by column: "createdAt" (default), "inputAmount", or "outputAmount"
Sort direction: "desc" (default) or "asc"
Minimum trade amount in raw token units (6 decimals). Matches if input_amount or output_amount >= this value.
Maximum trade amount in raw token units (6 decimals). Matches if input_amount or output_amount <= this value.