REST API for solarwinds to fetch data.
SolarWinds Orion has a REST API:
https://github.com/solarwinds/OrionSDK/wiki/REST
Since you are posting in the Orion SDK forum, I'm assuming that is the API you are interested in. There are also REST-based APIs for other SolarWinds products (AppOptics, Loggly, etc.).