Ask us anything. We're here to help.

Displaying historical purchases leveraging the Zero Hash API

If you want to display the history of purchases made by your customer's on a front end, follow the below steps:

1. Execute some buys or sells.

2. Hit the GET /trades endpoint and use the party_code query parameter, specifying the 6 digit participant code associated with the customer of interest.

. Pick and choose relevant fields of your choice, ie trade_quantitytrade_priceside (ensure that this is the side associated with the customer), symbol, or accepted_timestamp (this is when Zero Hash received the transaction), and symbol. Among others.