Trades

The trades endpoint allows the retrieval of past public trades and includes details such as price, size, and time. Optional parameters can be used to limit the number of results; you can specify a start and end timestamp, a limit, and a sorting method.

Response Fields

For trading pair symbols (ex. tBTCUSD)

IndexFieldTypeDescription
[0]IDintID of the trade
[1]MTSintMillisecond epoch timestamp
[2]AMOUNTfloatHow much was bought (positive) or sold (negative)
[3]PRICEfloatPrice at which the trade was executed

For funding currency symbols (ex. fUSD)

IndexFieldTypeDescription
[0]IDintID of the trade
[1]MTSintMillisecond epoch timestamp
[2]AMOUNTfloatHow much was bought (positive) or sold (negative)
[3]RATEfloatRate at which funding transaction occurred
[4]PERIODintAmount of time the funding transaction was for

Rate Limit: 15 reqs/min (requests per minute)
Language
Click Try It! to start a request and see the response here!