Skip to main content

Get Report Meta Data

Get report meta data for equity segment

curl --location 'https://api.upstox.com/v2/trade/profit-loss/metadata?from_date=05-11-2023%20&to_date=19-12-2023&segment=EQ&financial_year=2324' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Get report meta data for futures and options segment

curl --location 'https://api.upstox.com/v2/trade/profit-loss/metadata?from_date=05-11-2023%20&to_date=19-12-2023&segment=FO&financial_year=2324' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'