Is there any API or function I can directly use to get below technical inidicators

1.% above 50MA S&P

2.NYSE Advance/Decline

3.Nasdaq Advance/Decline

4.VIX

5.Bullish Percent Index