@ kaushik_kmk I know this isnt a REST solution. From the license manager you can monitor the roles and status. Settings > Monitoring Console. This query will also tell you the status of the server:
index=_internal sourcetype=splunkd group=tcpin_connections hostname=<splunk_servers>
| stats
max(_time) as last_connected,
sum(kb) as sum_kb by guid, hostname
| eval connected_last = strftime(last_connected, "%F %T.%3N")
| addinfo
| eval status = if(isnull(sum_kb) or (sum_kb <= 0) or (last_connected < (info_max_time - 900)), "missing", "active")
| table hostname last_connected status
... View more