Help for Envato Api


I want to get response form the envato api using JS like this -

    $(document).ready(function() {
		key: 'MY_API_KEY'},
			$.each(data.DATA, function(DATA){


How can I do like this…

Can anyone give me a demo file?

Thank you…

I think for v1 you need to send the authorization headers with the Bearer key.

Try this code. I hope this will work for you :smiley:

    url: "",
    headers: {"Authorization": "Bearer MY_BEARER_API_KEY"}
}).done(function (data) {
}).fail(function (jqXHR, textStatus) {
    alert("error: " + textStatus);

Really thank you for working for me… But Bro I need more help form you… The code didn’t work. I don’t know why. If you help me more, I will be very pleased.

Here is the exact thing what I wanna do-

I want to track the sale of some of my items on envato through my browser (I just want to gather all data in a page). I am not a web developer. I don’t know code much. Can you please help me how I can access privet data by envato API?

Thank you what you have done for me.

Hello Avagon,
Firstly you have to create the Bearer key from the envato API. Check for the step by step method.

Finally with this step you’ll get the bearer key:


This bearer key will only valid for one hours. You can save your REFRESH_TOKEN for later use.
Every one hour later if you want to check then you will need to send a POST request again and then with the bearer key again send it to your envato api. Create an app for CLIENT_ID and CLIENT_SECRET. Save those infos also.

I am also trying to make an app for envato sale API. Hope it will be done soon. I can then send you the files. :slight_smile:

RedQ Team

i also want that file :stuck_out_tongue:

Check our script :slight_smile: