CodeCanyon

Learn How to Use the Envato Marketplaces API

2524 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Forum Moderator
  • Author had a Free File of the Month
  • Blog Editor
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
JeffreyWay says

Hidey ho, everyone! Some of you may not be aware that the Envato marketplaces have an API that can be used to display your recent items, author stats, most popular items, verify purchases, practically anything.

You can read the documentation here: http://marketplace.envato.com/api/documentation/

We’ve also, just today, launched a new YouTube channel – envatoMarketplaces, where we’ll teach you how to execute various neat tricks with the API . Be sure to subscribe to stay up to date on the latest lessons.

PHP Wrapper Class

If you work with PHP , and need a super-simple method to interact with the marketplaces and the marketplace API :
1 year ago via CodeCanyon |
JeffreyWay is a moderator
70 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Germany
  • Referred between 10 and 49 users
bogdanspn says

Goody! Let the vids flow…

1 year ago via ThemeForest |
1743 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Germany
  • Referred between 1 and 9 users
BroOf says

Nice video tutorial ;) Thank you!

1 year ago via ThemeForest |
606 posts
  • Has been a member for 1-2 years
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Bangladesh
  • Referred between 1 and 9 users
DarkNurbs says

YES ! i’ve been wanting this for a long time. A suggestion..also make a video where it shows how to upload items, what to include, etc. because starters have a lot of difficulties with it..

1 year ago via VideoHive |
472 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
Thecodingdude says

I was going to make a tutorial on this :(

You beat me too it, I sent a pitch in as well. :P

1 year ago via CodeCanyon |
3335 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Italy
doru says

lol I was the first who give a “thumb up” to that video! I’m awesome.

Great video, need to learn this envato API at some point and this video helps a lot.

1 year ago via ActiveDen |
134 posts Ahoy, me Hearties!
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
ChrisMooney says

Great stuff. Can we do requests? :p

A way for authors to identify verified buyers for support forums would be great.

1 year ago via ThemeForest |
2425 posts Customer Service Manager aka SuperDrew
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
CreatingDrew says

Great stuff. Can we do requests? :p A way for authors to identify verified buyers for support forums would be great.

Hi Chris,

This already exists, see the documentation for verifying purchases through the API . A lot of authors have been using this to integrate verification into their own apps.

1 year ago via ThemeForest |
CreatingDrew is an Envato staff member
134 posts Ahoy, me Hearties!
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
ChrisMooney says

Hi Chris, This already exists, see the documentation for verifying purchases through the API . A lot of authors have been using this to integrate verification into their own apps.

Whoops, my bad! Thanks for pointing it out, I’ll get dug in :)

1 year ago via ThemeForest |
2524 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Forum Moderator
  • Author had a Free File of the Month
  • Blog Editor
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
JeffreyWay says

Just added a verify_purchase method to this class: https://github.com/JeffreyWay/Envato-Marketplace-API-Wrapper-in-PHP

You can use it like so:

require 'Envato_marketplaces.php';
$Envato = new Envato_marketplaces();
$Envato->set_api_key('your api key');

// Ensure that somebody bought your item.
// If successful, $verify will be an object which
// contains all of the purchase information.
$verify = $Envato->verify_purchase('your username', 'buyer purchase code');

// Quickie test. 
if ( isset($verify->buyer) ) echo 'bought';
else echo 'did not buy';
1 year ago via CodeCanyon |
JeffreyWay is a moderator
by
by
by
by
by