Get list of trades
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/trades \
--header 'x-api-key: <api-key>'{
"trades": [
{
"count": 1,
"countFp": "<string>",
"createdTime": 1,
"noPrice": 1,
"noPriceDollars": "<string>",
"price": 1,
"takerSide": "<string>",
"ticker": "<string>",
"tradeId": "<string>",
"yesPrice": 1,
"yesPriceDollars": "<string>"
}
],
"cursor": "<string>"
}Trades
Get Trades
API reference for GET /api/v1/trades
GET
/
api
/
v1
/
trades
Get list of trades
curl --request GET \
--url https://dev-prediction-markets-api.dflow.net/api/v1/trades \
--header 'x-api-key: <api-key>'{
"trades": [
{
"count": 1,
"countFp": "<string>",
"createdTime": 1,
"noPrice": 1,
"noPriceDollars": "<string>",
"price": 1,
"takerSide": "<string>",
"ticker": "<string>",
"tradeId": "<string>",
"yesPrice": 1,
"yesPriceDollars": "<string>"
}
],
"cursor": "<string>"
}Authorizations
API key for authentication. Contact hello@dflow.net to obtain an API key.
Query Parameters
Maximum number of trades to return (1-1000, default 100)
Required range:
x >= 0Pagination cursor (trade ID) to start from
Filter by market ticker
Filter trades after this Unix timestamp
Required range:
x >= 0Filter trades before this Unix timestamp
Required range:
x >= 0⌘I