For security reason you can't access those infos from front-end, you will need custom app and third part server, where you can keep api pass and key and then do requests to admin, but not direct from theme.
Because if you able to do this, everyone will do this, just pasting the ajax call in browser console and get all admin info... this is nonsense )))
Yes of course I do not want to pass and sensitive information through the browser. I was excited I could access price_rules through the test site by using the url Admin and not having to put in any API keys or passwords. I will now rework the project so I can access that data through a private application and 3rd party server.