EcoMatcher’s API Details

EcoMatcher’s API provides functionality to get information on the trees available on the EcoMatcher’s platform. You can get information on a single tree based on the tree’s unique track code, you can get the track codes of the trees that you have and you can get the track codes of trees of a certain group. Note that not all of these endpoints are available to everyone. Some endpoints require an API key; please contact us for more information here.

Public API

1. Getting Tree Data

URL : https://esglntv423.execute-api.ap-southeast-1.amazonaws.com/v1/dcus/{TrackCode}
HTTP Method : GET

Returns a set of information about a tree, including farmer name, tree name, company name, company URL, company image, tree latitude and longitude, etc.

 

2. Getting Trees Data of a person

URL : https://esglntv423.execute-api.ap-southeast-1.amazonaws.com/v1/customers/{CustomerID}
HTTP Method : GET

Returns a set of information about the trees that belong to a certain user, including TrackCode, farmer, village, tree latitude and longitude, etc.

 

3. Getting Trees Data based on the SKU

URL : https://esglntv423.execute-api.ap-southeast-1.amazonaws.com/v1/causes/{SKU}/dcus
HTTP Method : GET

Returns a set of information about the trees based on a certain SKU.

 

4. Getting Trees Data by Gift Code

URL : https://esglntv423.execute-api.ap-southeast-1.amazonaws.com/v1/gifts/{GiftCode}
HTTP Method : GET

Returns a set of information about the trees based on a gift code.