Tradovate API Request Error!

Hey everyone – currently in the process of trying to pass a POST REST api request to Tradeovate so I can get an access key to fully use the API. I am submitting the POST request through the Requests library in python. Here is my code:

import config, requests, json
endpoint = “https://live-api-d.tradovate.com/v1/auth/accesstokenrequest
data = config.data
headers = config.request_header
r = requests.post(endpoint, data=data, headers=headers)
print(r.content)

My config file which includes the headers and data I’m passing is here:
request_header = {‘Content-Type’:‘application/json’}
data = {

'name':'x',

'password':'x',

 'appId': 'SampleApp',

 'appVersion': '0.7'

}

When this is run, I get the following error: b’Invalid request: error id: 565846d2-374e-4063-9a26-93c912558022’. Any help getting this resolved so I can get an access key would be greatly appreciated. Thanks in advance to anybody that has any thoughts!

1 Like

I don’t think they let us retail trader’s access the API

1 Like

They will at some point. A few weeks ago, they said “in a few weeks”, so I’m hoping they open it up soon. They’ve had the documentation for the API posted and live for a long time, which initially made me believe that access was already possible but alas. Therefore, the reason I was getting this error in the first place wasn’t that my code was wrong, but because the API simply isn’t live yet

1 Like

i really hope, so many fun data science project’s i could work on

1 Like

agreed. I hope they will be finished soon

1 Like

Yes - This would be massive for me. Any news on this?

We’re currently accepting users into the Beta here. The requirement for the Beta is for the user to have a live funded account with Tradovate. We anticipate this requirement being in place as well when we do the general public release

1 Like

Thanks for the update. Well, as of yesterday, I have put in an application for a new account. Once approved, I will fund, then, hopefully, someone there will be gracious enough to let me into the beta program. That would certainly accelerate my move away from where I am now :slight_smile:

1 Like

As soon as you are funded, send me a DM here in the forum and I can send through details on how to get access

1 Like

Hi @BWeis , I do not see the ability to send a DM (though I tried to click on the user, but no Message button for me).
It seems that I got access to API (with monthly subscription) which is apparently still in Beta. Can you please add me to the list of users with access, if it’s required?