Any way to get top 5 gainers and losers on NSE and SENSEX

Ok, this question will sound silly, but is there a way to get the top 5 gainers and losers via API, or what would be the HL approach to get this done? Which endpoint could i tap into

2
5 replies