Introduction to Climategames Impact API
Welcome to the Climategames Impact API where you can connect your commerce to climate action and give something back to the planet with every sale!
How it Works
A growing body of businesses want to make a positive planetary impact as they grow their business, showing their customers that they care about people, planet and profit.
The Climategames Impact API is a simple plug-in solution to:
- Connect your business transactions to tree planting, plastic waste removal or carbon reduction
- Choose the environmental project which matters most to you, all with the highest accreditation standards
- Track and share your growing impact on our dashboard
- Build brand reputation and customer loyalty through your sustainability commitments
Our Climate Projects
Our API connects to a range of highly accredited projects:
- 🌱 Tree Planting – Fund agroforestry or mangrove reforestation projects in the UK, US and around the world with automated tree planting triggered by customer purchases
- 🔄 Carbon Sequestration – Offset emissions whilst you decarbonise through verified carbon removal and reduction projects, reducing kilograms of Co2e with every sale
- 🌊 Plastic Removal – Fund initiatives that remove plastic waste from oceans and waterways, and support jobs for local communities, measured in kilograms removed
- 🪸 Coral Reef Restoration – Support the development of coral nurseries and reef restoration projects in areas hardest hit by warming seas
- 🌿 Kelp Farming – Fund the growth of vital kelp farms that sequester carbon and improve marine ecosystems
Example Use Cases
Here are some ways businesses are using the Climategames Impact API:
- E-commerce: Plant a tree or remove grams / kilograms of plastic for each purchase
- Financial Services: Offer climate action as rewards for card transactions
- Travel & Hospitality: Offset carbon footprint of bookings
- Food & Beverage: Convert a percentage of sales into environmental impact
- Retail: Create sustainable product lines with direct climate action for each sale
Getting Started
To start using the Climategames Impact API, follow these steps:
- Book a demo - Schedule a 15-minute demo to discuss your specific needs
- Create a free business account - Sign up at Climategames. This is where you can view our environmental projects
- Get your API keys - Receive both Sandbox and Production API keys so you can test then go live when you're ready
- Implement the integration - Use our API guidelines to plug us into your systems
Testing vs. Production
We provide two environments to help you develop and deploy your API integration:
- Sandbox Environment – Use this for testing and development without incurring charges for environmental impact
- Production Environment – Use this for live transactions and real-world impact
E-commerce Integration
We offer seamless integration with popular e-commerce platforms:
Shopify Integration (Coming Soon) Our Shopify integration will allow you to connect your e-commerce operations directly to positive environmental impact with no complex setup required. Stay tuned for this upcoming feature!
// Example of the upcoming Shopify integration
const shopifyWebhook = async (req, res) => {
const { order_id, total_price, line_items } = req.body;
// Calculate impact based on order
const response = await fetch('https://api.climategames.com/v1/transactions', {
method: 'POST',
headers: {
'x-api-key': process.env.CLIMATEGAMES_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
transactionId: order_id,
amount: total_price,
projectId: "your-selected-project-id"
})
});
const impactData = await response.json();
// Store impact data for customer communications
res.status(200).send('Impact created successfully');
};
Authentication
All API endpoints require authentication using an API key in the x-api-key
header:
curl -X GET "https://api.climategames.com/projects" \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json"
You can obtain your API key from the Climategames customer dashboard.
Support
If you have any questions or need help, you can:
- Contact us at hello@climategames.com
- Book a demo at climategames.com
Next Steps
Ready to dive deeper? Check out our API Reference or explore our examples to see the API in action.
API Reference
For complete API documentation, including endpoints, request/response formats, and interactive testing, please visit our full API Reference.