Closed bobiq closed 12 months ago
Hi @bobiq
If you have correct bearer token, you can API calls and get tokens data. Looking at what you wrote you used python. I don't know exactly because i'm not use python. But it's not problem because api call is all same architecture.
First you can check like this
endpoint="https://apis.mintscan.io/v1/cosmos/assets"
headers={"Authorization": "Bearer YOUR_BEARER_TOKEN"}
requests.get(endpoint, headers=headers).json()
It will be gave you want to data
And account balance is not work now.
Because data migration is in progress. So account, validator etc data is to be available again in a few days. Sorry to waiting.
now you can do it
Thanks for letting me know.
Hi,
I keep getting these errors
Status Code 502(Error Occurred) Content Type application/json; charset=utf-8 Content Length 229
The token seems to work on some more simple API calls like this though. https://docs.cosmostation.io/apis/reference/utilities/assets
How can I make it work in python? Where would I put the API-Key? There is no place for it in the http addresss...