Here is the complete and updated n8n integration guide, reflecting the new HTTP Basic Auth standard and the removal of the organizationId parameter.

We're currently developing an official n8n integration! A first version is already available as a Community Node here, though it's not yet fully stable for production use.
In the meantime, you can seamlessly connect both platforms using the Bloomy Earth Public API and n8n's HTTP Request node. This guide walks you through the essential steps, explains required fields for each API call, and provides ready-to-import cURL commands for instant configuration. We'll update this documentation once the official integration is production-ready.
To use the Bloomy Earth API, you need:
Authentication now uses HTTP Basic Auth with your Bloomy Earth platform credentials. The x-api-key header and organizationId parameter are no longer used.
Credentials to Use:
Configuring Credentials in n8n:
You have two primary options for setting up these credentials securely in your n8n workflows:
| Method | Steps |
|---|---|
| Via n8n Credentials Manager | 1. Go to Credentials in the left sidebar. <br> 2. Click "New Credential" > Select "Generic Credential Type" > Choose "HTTP Basic Auth". <br> 3. Enter your Bloomy Earth Username and Application Password. <br> 4. Save it with a name like "Bloomy Earth API" and select it in your HTTP Request nodes. |
| Directly in the HTTP Request Node | When configuring an HTTP Request node: <br> 1. In the "Authentication" dropdown, select "Generic Credential Type". <br> 2. For Credential Type, choose "HTTP Basic Auth". <br> 3. Enter your Username and Password directly. |

YOUR_USERNAME and YOUR_APP_PASSWORD with your actual Bloomy Earth credentials.n8n automatically populates: Method, URL, Headers, JSON Body, and most importantly, the Authentication settings based on the imported cURL command, streamlining your setup process.
Plant trees and generate official planting certificates instantly - This core endpoint allows you to plant a specific number of trees in Bloomy Earth reforestation projects and automatically generate verifiable planting certificates.
Complete API documentation: Plant Trees Endpoint Reference
HTTP Request Configuration:
https://api.bloomy.earth/v1/treesContent-Type: application/jsonJSON Body:
{
"trees": 3,
"projectId": "2056",
"sendEmail": true,
"gift": {
"giftRecipientName": "John Doe",
"giftRecipientEmail": "john@example.com",
"giftMessage": "Your trees have been planted."
}
}
Field Explanations:
trees (minimum 1).projectId, sendEmail, gift object.
projectId: If omitted, trees will be planted in a default project costing 1 credit per tree. Find available projects on your Dashboard.giftRecipientName (required), giftRecipientEmail (required), giftMessage (optional).Ready-to-Import cURL:
curl -X POST "https://api.bloomy.earth/v1/trees" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"trees": 3,
"projectId": "2056",
"sendEmail": true,
"gift": {
"giftRecipientName": "John Doe",
"giftRecipientEmail": "john@example.com",
"giftMessage": "Your trees have been planted."
}
}'
Monitor your available tree credits before automated planting - This endpoint retrieves your current Tree Credit balance.
Complete API documentation: Credit Balance Endpoint Reference
HTTP Request Configuration:
https://api.bloomy.earth/v1/creditsResponse Includes:
credits: remaining tree credits.organizationId: your organization ID (now inferred from your credentials).Ready-to-Import cURL:
curl -X GET "https://api.bloomy.earth/v1/credits" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD"
Offset a precise amount of COâ‚‚ emissions. Each tonne corresponds to 20 Tree Credits. Optionally add VCS certification for an extra 10 credits per tonne.
Complete API documentation: COâ‚‚ Offset Endpoint Reference
HTTP Request Configuration:
https://api.bloomy.earth/v1/offset-by-tonneContent-Type: application/jsonJSON Body:
{
"tonnes": 1.25,
"vcs": true
}
Field Notes:
tonnes must be greater than 0.vcs enables certified VCS credits if available.Ready-to-Import cURL:
curl -X POST "https://api.bloomy.earth/v1/offset-by-tonne" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"tonnes": 1.25,
"vcs": true
}'
Access comprehensive certificate history for dashboards and reporting - Returns a paginated list of all your certificates.
Complete API documentation: List Certificates Endpoint Reference
HTTP Request Configuration:
https://api.bloomy.earth/v1/certificatesQuery Parameters:
view: summary (default) or detail.page: page number.perPage: items per page (1-100).Ready-to-Import cURL:
# Summary view
curl -X GET "https://api.bloomy.earth/v1/certificates?view=summary" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD"
# Detailed view
curl -X GET "https://api.bloomy.earth/v1/certificates?view=detail&page=1&perPage=10" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD"
# Single certificate
curl -X GET "https://api.bloomy.earth/v1/certificates/CERTIFICATE_ID" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD"
Share sustainability achievements with your community - Publishes updates on your Bloomy Earth profile.
Complete API documentation: Post Activity Endpoint Reference
HTTP Request Configuration:
https://api.bloomy.earth/v1/post-activityContent-Type: application/jsonJSON Body:
{
"title": "New trees planted!",
"content": "We have added 10 new trees to our project."
}
Field Limits:
title: ≤ 120 characters.content: ≤ 3000 plain-text characters after HTML normalization.Ready-to-Import cURL:
curl -X POST "https://api.bloomy.earth/v1/post-activity" \
-u "YOUR_USERNAME:YOUR_APP_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"title": "New trees planted!",
"content": "We have added 10 new trees to our project."
}'
The API returns meaningful error messages in this format:
{
"error": "RATE_LIMIT",
"message": "Too many requests",
"retryAfter": 8
}
Recommended n8n Strategies:
Combine n8n with Bloomy Earth to build:
You now have a complete guide for:
Everything works through simple HTTP requests, making Bloomy Earth's climate actions accessible through any n8n workflow you design.