this is my command
curl -X POST https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/gainersLosers
-H 'Content-Type: application/json'
-H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IlYyOTgxMTciLCJyb2xlcyI6MCwidXNlcnR5cGUiOiJVU0VSIiwidG9rZW4iOiJleUpoYkdjaU9pSklVelV4TWlJc0luUjVjQ0k2SWtwWFZDSjkuZXlKemRXSWlPaUpXTWprNE1URTNJaXdpWlhod0lqb3hOekEzTXpFeE9USTRMQ0pwWVhRaU9qRTNNRGN5TVRnMk5UUXNJbXAwYVNJNkltWTVZMkV3WVdaa0xXUm1aVFl0TkdJeU9DMWhNVFprTFdOaU56UXhZMk5sTVRRMU9DSXNJbTl0Ym1WdFlXNWhaMlZ5YVdRaU9qUXNJbk52ZFhKalpXbGtJam9pTXlJc0luVnpaWEpmZEhsd1pTSTZJbU5zYVdWdWRDSXNJblJ2YTJWdVgzUjVjR1VpT2lKMGNtRmtaVjloWTJObGMzTmZkRzlyWlc0aUxDSm5iVjlwWkNJNk5Dd2ljMjkxY21ObElqb2lNeUlzSW1SbGRtbGpaVjlwWkNJNkltTTNNREJqWXpobUxXUmhOemt0TXpNeU9TMWhNMkl4TFRKak9XVTNabVJoTXpSalppSXNJbUZqZENJNmUzMTkuVEZtaXFqeEcwa05tQWlaSFl4YkRiX2c3WG9taDY0UXE4Uk9hRDJCeHBBQkJCM0t1VE9LTFNXTGF5NG14N0EzX3hNNzFXakdDNlpLdzN5V1JiY1ZuWUEiLCJBUEktS0VZIjoiRXJIQzdaQVEiLCJpYXQiOjE3MDcyMTg3MTQsImV4cCI6MTcwNzMxMTkyOH0.IV9koO9BYznkt5prdFuhjppthALXlQ0FlVcxsN1KtGvMo0MGiECZ3-CeFnLDA8JtfRWZsH9ilt6DxNjRuK6eGg'
-d '{
"datatype":"PercOIGainers",
"expirytype":"NEAR"
}'