Plant Trees Programmatically
Plant trees directly from your application with a single API call.
Track Impact
Get real-time statistics on trees planted, carbon offset, and project details.
Verified Projects
Access only QCM-verified projects with transparent carbon sequestration data.
Webhooks
Receive real-time notifications when trees are planted or orders complete.
Simple REST API
Clean, RESTful endpoints with JSON responses
Available Endpoints
POST
/v1/trees/plantPlant trees in a specific project
GET
/v1/projectsList all available projects
GET
/v1/impact/:organizationIdGet impact statistics for your organization
POST
/v1/certificates/generateGenerate a PDF certificate for planted trees
Quick Example
// Plant 10 trees
const response = await fetch(
'https://api.tree.co/v1/trees/plant',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
quantity: 10,
project: 'ankilahila-madagascar',
reference: 'order-12345',
}),
}
);
const result = await response.json();
// {
// success: true,
// trees_planted: 10,
// carbon_kg: 2620,
// certificate_url: "..."
// }Partner Pricing
Volume discounts for API partners
Most Popular
Growth
Up to 10,000 trees
Integration Ideas
E-commerce
Plant a tree with every order. Show customers their impact at checkout.
HR & Benefits
Give employees monthly tree planting as part of their benefits package.
Travel & Hospitality
Automatically offset guest stays or flight bookings with trees.
