Everything I've heard is that Rancher considers their REST API to be for their own use (i.e. not stable for others as they won't announce or soft roll-out changes).
However recent versions of Rancher try to do more and more through Kubernetes, so you may be able to use kubectl for what you're aiming for.