Analytics
Business segments
GET
Revenue by business segment.
bearerAuthheader
AuthorizationBearer <token>Your partner API key, e.g. Authorization: Bearer fk_live_...
exchange*stringExchange of the stock. NSE or BSE.
Value in
"NSE""BSE"token*stringInstrument token of the stock on that exchange (from masterdata). An unknown token returns an empty data list.
type?stringC = consolidated (default), S = standalone.
Default
"C"Value in
"C""S"Segments.
application/json- response
status?stringdata?array<>curl -X GET 'https://api.finkhoz.com/platform/v1/analytics/NSE/1333/segments'Example Response
{ "status": "string", "data": [ { "exchange": "string", "token": "string", "type": "string", "period": "string", "items": [ { "name": "string", "period": "string", "revenue": 0, "net_revenue": 0 } ], "series": [ { "name": "string", "period": "string", "revenue": 0, "net_revenue": 0 } ] } ]}