Ecosystem API questions

I am trying to use the ecosystem API. The page says to grab authentication token from the browser. This totally seems sus to me. If I am trying to write some code to integrate licensing, grabbing a token that way to auth seems broken. Is testToken API supposed to be used to grab the auth token?

I notice the web gui uses accesstokenrequest endpoint, but they do something to the password and then base64 encode it, should i be doing something similar?

I notice the ecosystem API uses https://live.tradovateapi.com/auth/accesstokenrequest. When I go to that documentation, it doesn’t explain what sec is supposed to be?

I’m not familiar with the API, but you usually give it your credentials and then receive the access token in response. You then use that access token with additional calls to some end point. So… it’s not sus or broken. This is common.

When I look at the documentation, it shows required fields to use the API, but the documentation doesn’t make clear or explain what the fields should be set to, so how am I supposed to figure out what they need?

I figured it out. I ended up having to use the testToken endpoint in the ecosystem API.

1 Like