REST API - ZAPIER - WEBHOOKS - AI-READY

Build with trees.
Your app,
real forests.

Add photo-verified tree planting to any workflow - in minutes. Whether you're writing code, using Zapier, or prompting Lovable, OneSeed connects your product to real reforestation.

$0.65
per tree, from
GPS
photo-verified
REST
clean JSON API
7
planting countries
sponsor_trees - POST
// POST https://api.oneseed.eco/api/sponsor_trees // Header: api_token: your_api_token { "project": "your_project_id", "name": "Acme Corp", "customer_id": "user_8821", "treeCount": 1, "send_email": false }
// 200 OK { "status": "success", "forest_id": "frst_a7f3d9", "tree_count": 1, "species": "Ceiba pentandra", "project": "La Esperanza, Mexico", "photo_url": "https://cdn.oneseed.eco/t/...", "gps_lat": 17.4124, "gps_lng": -92.8731, "planted_date": "2026-04-09", "forest_url": "oneseed.eco/f/user_8821" }
curl -X POST \ https://api.oneseed.eco/api/sponsor_trees \ -H "api_token: YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "project": "your_project_id", "name": "Acme Corp", "customer_id": "user_8821", "treeCount": 1, "send_email": false }'
DOWN FOR DEVELOPERS
Writing code? Start with the REST API.
Clean JSON endpoints, sandbox environment, Zapier and 20+ platform connectors. Your token is waiting the moment you create a project.
.
DOWN FOR AI-ASSISTED BUILDERS
Building with Lovable, Replit, or Cursor?
We've written the system prompt for you. Paste it into your AI tool and your app can plant trees with one API call - no docs-reading required.
Getting started

From signup to first tree in minutes

No sales call. No approval queue. Create a free account, set up a project, and your API token is live.

01 -

Create a free account

Sign up as a corporate account. You get 20 free tree credits on joining - no card required.

-> impact.oneseed.eco/createaccount
-> Select "Corporate"
Sign up free ->
02 -

Create a project, get your token

In your Account Portal, go to Integrations -> create a project. Your API token and Project ID appear immediately on the Rest API tab - ready to copy.

Portal: Integrations -> Rest API
Copy: api_token + project_id
Open the docs ->
03 -

Make your first call

POST to /api/sponsor_trees. Pass your project ID, a customer identifier, and a name. Every response includes a photo and GPS coordinates proving the tree was planted.

POST /api/sponsor_trees
<- photo_url + gps + forest_url
Full API reference ->
🧪
Test environment included. Use sandbox mode in your Account Portal to plant test trees at zero cost before going live. Switch to production when you're ready - same token, same endpoints. See docs ->
Why OneSeed

Photo-verified.
GPS-tracked.
Actually planted.

Most tree-planting APIs route through aggregators. You get a count, not a confirmation. OneSeed works directly with field partners across 7 countries. Every tree has a photo, GPS coordinates, and a named planting team - and your API response proves it.

📸

photo_url in every response

A real image of the planted tree. Show it in your app. Your users notice - and remember.

📍

GPS coordinates, not just country codes

gps_lat + gps_lng for every tree. Embed in a certificate, link to a map, or display in a dashboard.

🌱

Direct planting partners - no middlemen

Mexico, Kenya, Philippines, Nepal, Bolivia, Honduras, Thailand. UN Decade on Ecosystem Restoration partner.

🌳

A living forest your users can visit

Each customer_id builds a personal digital forest at oneseed.eco/forests - shareable, branded, growing.

API RESPONSE ● 200 OK
{ "status": "success", "forest_id": "frst_a7f3d9", "tree_count": 1, "species": "Ceiba pentandra", "project": "La Esperanza, Mexico", "photo_url": "https://cdn.oneseed.eco/...", "gps_lat": 17.4124, "gps_lng": -92.8731, "planting_partner": "Ponterra", "planted_date": "2026-04-09", "forest_url": "oneseed.eco/f/user_8821" }
📸 photo_url and GPS coordinates are unique to OneSeed. No other tree-planting API returns visual proof of each planted tree.
No-code and low-code

Every stack, every workflow

Build with the API or connect through tools you already use. Zapier alone covers 3,000+ apps - if it has a trigger, OneSeed can plant a tree on it.

Also supported: N8N - Pipedream - Make - Merge - Integrately - Pabbly - Fillout - Typeform - JotForm - Google Forms - Beehiiv - Substack - ActiveCampaign - Eventify - cVent - Sevenrooms - BigCommerce - Salesforce - Pipedrive
Any platform that supports REST API calls or webhooks can connect to OneSeed. Ask us about your stack ->
API reference

Core endpoints

REST, JSON-encoded, authenticated via api_token header. Full reference in the Knowledge Base.

POST

/api/sponsor_trees

Plant trees for a customer. Returns photo_url, GPS, species, and a personal forest link.

View docs ->
GET

/api/sponsored_list

List all forests and trees under your account. For dashboards and impact reporting.

View docs ->
GET

/api/sponsored_forest

Fetch a specific forest - species, photos, GPS, planting partner details.

View docs ->
GET

/api/sponsor_stats

Tree counts, totals, and impact metrics for your account or a specific project.

View docs ->
GET

/api/sponsored_gforest

All trees for a specific customer_id - powers the personal forest experience.

View docs ->
POST

Webhooks

Real-time notifications when planting events fire in your projects.

View docs ->
For AI-assisted builders - Lovable - Replit - Cursor - Windsurf

Building with AI?
We've done the prompting for you.

Paste one block of text into your AI tool and it knows exactly how to integrate OneSeed - endpoint, auth, parameters, response shape, and all. No docs-reading. No trial and error.

🌿

Built by OneSeed, entirely with AI: LoyaltyTree

LoyaltyTree - OneSeed's free eco-loyalty Shopify app - was designed, built, and launched using AI-assisted development. It plants trees on every loyalty redemption, runs on the same OneSeed API you're about to use, and is live in the Shopify App Store today. If you're building a loyalty, rewards, or sustainability feature into your app, LoyaltyTree.eco is the proof of concept.

🤖 AI-built 🛒 Live on Shopify 🌳 OneSeed-powered 💸 Free to install
What vibe coders are building
LOVABLE / BOLT

SaaS apps with built-in sustainability

Prompt your way to a full-stack app that plants a tree on every signup, purchase, or milestone. The OneSeed API is simple enough for an AI to wire up in one session.

REPLIT / CURSOR

Loyalty and rewards features

Add tree planting as a reward tier to any existing app. Users earn trees for actions - and see their personal forest grow. GPS photos make it tangible.

ZAPIER AI / MAKE

Automated impact triggers

No code at all. Connect any trigger - form submit, CRM event, checkout, email open - to tree planting with a Zapier flow built in minutes.

MCP / CLAUDE / GPT

Agent-driven reforestation

OneSeed's REST API is already compatible with any AI agent workflow. Build an MCP server or tool call that plants trees as part of a larger automated pipeline.

COPY-READY SYSTEM PROMPT - paste into Lovable, Replit, Cursor, or any AI tool
## OneSeed Tree Planting API Use the OneSeed REST API to plant verified trees on behalf of users. ### Authentication All requests require an api_token header: Header: api_token: YOUR_API_TOKEN ### Plant a tree - primary endpoint POST https://api.oneseed.eco/api/sponsor_trees Required body parameters (JSON): project - your Project ID (from the Integrations page in your OneSeed Account Portal) name - display name for the company or user planting the tree customer_id - unique identifier for the end user (email, user ID, etc.) treeCount - integer, number of trees to plant (default 1) send_email - boolean, whether to email the user a certificate (usually false for API use) Optional parameters: logo_uri - HTTPS URL to a 512x512 company logo customer_trans - transaction reference (e.g. order number); combined with customer_id must be unique customer_trans_message - message shown on the tree (e.g. "Thank you for your purchase") ### Success response (200 OK) Returns a JSON object including: photo_url - direct URL to a photo of the planted tree (unique to OneSeed) gps_lat/lng - GPS coordinates of the planted tree forest_url - shareable URL to the user's personal digital forest species - tree species planted planted_date - ISO date of planting ### Account setup 1. Sign up free at impact.oneseed.eco/createaccount (select Corporate) 2. In the Account Portal, go to Integrations and create a project 3. Copy the Account API Token and Project ID from the Rest API tab 4. Use sandbox mode for testing - same endpoint, no charge ### Pricing Trees cost from $0.65 each. New accounts receive 20 free credits. Full API docs: impact.oneseed.eco/kb
This prompt gives your AI tool everything it needs to write a working OneSeed integration from scratch. Replace YOUR_API_TOKEN and your Project ID before use. Full parameter reference ->
How to use this in 4 steps
01 -

Sign up free

Create a Corporate account at impact.oneseed.eco. Takes 2 minutes. 20 free trees included.

02 -

Grab your credentials

In Integrations -> Rest API tab, copy your API token and Project ID.

03 -

Paste the prompt above

Drop it into Lovable, Cursor, Replit, or Claude. Tell your AI what you want to build. It knows what to do.

04 -

Plant your first tree

Run in sandbox mode first. When you're happy, switch to production. Real trees, real photos, real GPS.

Ready to build?

Start planting trees
in your app today

Free account. 20 tree credits included. API token ready the moment your first project is created. No card required.