Skip to main content

Get Trade History

Get trade history for equity segment

curl --location 'https://api.upstox.com/v2/charges/historical-trades?segment=EQ&start_date=2022-04-01&end_date=2023-03-31&page_number=1&page_size=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Get trade history for futures and options segment

curl --location 'https://api.upstox.com/v2/charges/historical-trades?segment=FO&start_date=2022-04-01&end_date=2023-03-31&page_number=1&page_size=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'