Skip to main content
tree.co
Partner API

Integrate Tree Planting Into Your Platform

Our REST API makes it easy to plant trees programmatically. Perfect for e-commerce checkouts, employee benefits, and sustainability programs.

API documentation available upon approval

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/plant

Plant trees in a specific project

GET
/v1/projects

List all available projects

GET
/v1/impact/:organizationId

Get impact statistics for your organization

POST
/v1/certificates/generate

Generate 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

Starter
Up to 1,000 trees
$2,000
$2.00 per tree
  • API access
  • Basic dashboard
  • Email support
Most Popular
Growth
Up to 10,000 trees
$18,000
$1.80 per tree
  • Everything in Starter
  • Webhooks
  • Priority support
  • Custom certificates
Enterprise
Up to 100,000+ trees
Custom
From $1.50 per tree
  • Everything in Growth
  • Dedicated account manager
  • White-label options
  • SLA guarantee

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.

Ready to Get Started?

Contact us to discuss your integration needs and get API credentials.