Jump to content

Stake API help


wregsgsb3

Featured Comment

Posted

cf_cleareance is not missing in your cookies, they simply delete it.

You don't need it to access Stake via API, you should have a cookie named "__cf_bm", this is the only one required (F12->Application->cookies or F12->Network).

The 2 headers you need to copy too are "x-access-token" and 'user-agent", you don't need more.

You can now use your favoriste method to access via api ( in my case requests with python).

To get the query you have to send, it's the same way, F12->Network and filter by "graphql". To see if it work the best way is to try to retrieve your balance with the api, go on home page, clear the network tab, and then refresh the page, filter by "graphql", and the first request is the balance query, you can just copy it, by clicking on the graphql line, and then "payload".

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

Privacy Policy Terms of Use