API - Link any action on your software to trigger a tree

Our API empowers you to automate the process of planting trees for your company or customers through specific actions on your website or software. This feature stands as our most robust tool, offering unparalleled flexibility and customization

Our digital tree-gifting feature seamlessly integrates with various products or services, activated by any user-defined action. This capability is particularly suited for extensive projects, applications, and Software as a Service (SAAS) platforms. Discover the full range of integrations we provide.


What the API does

Our API provides the capability to plant and gift trees in response to any action. It enables customization in terms of selecting the project, species, and the option to receive a URL for the Tree-Gift. This URL allows the recipient to engage in the planting process on our platform. Additionally, you have the choice to delegate the task of sending the Tree-Gift email containing the URL, either through Tree-Nation or personally.

Furthermore, our API offers the flexibility to use a default tree message or craft unique ones.

Included in our API package are RSS feeds, allowing you to gather information about specific projects or your forest. These feeds can be directly integrated into your software for seamless content management.

The operational aspects beyond these functionalities are efficiently managed on our platform.

With more advanced features, you can create a Tree-Nation user profile for your corporate clients. You can also manage and allocate credits to those clients.

Tree creation

The main function of the API is to trigger/create a tree. When triggered, the API gives back a unique tree URL, which can be passed on to the end-user and serve as proof of planting and its own tree certificate.

Each URL redirects its recipient to your Tree-Nation forest to collect their Tree-Gift.

How tree-gifting works

If Tree-Nation is tasked to send the Tree-Gift emails, the recipient’s name and email can be passed through the API.

Each tree is linked to 2 forests: the corporate client forest (seen as the one gifting the tree) and the end-user forest (seen as the one receiving the tree).

  • All the trees are thus visible in the SAAS platform forest.
  • Each client has as many trees as they order, under your forest (the gifting company) and his forest as well (the recipient).

Terms and Conditions of species selection

The methodology for selecting tree species for planting is as follows:

Selection by Price: This user-friendly option allows for planting through predefined species packages, each anchored to a specific price point. The composition of species within these packages is dynamically managed by Tree-Nation and may vary periodically to align with the predetermined price. Opting for this method ensures cost stability and simplifies the selection process.

Note: We also have advanced options in the API that allows you to:

  • Plant specific species
  • Tree and CO2 counters for your forest
  • Project and forest updates

If you are interested in these options please contact us.

Start testing

To get started, please create an account in our test website and fill the form below. There you will be able to test the integration of the API. We will get back to you within 2 business days with a token code for our test and live website.

Check our documentation

Click on this link to find our API documentation on Postman.

Request API Token


We keep improving it

Our API is built to be the ultimate gamification tool. We will make sure that it fits your configuration requirements and plan to keep developing its functionalities in the function of our client's feedback. So please do not hesitate to ask us for new features that would make sense for your business, we’ll try very hard to make it happen!