The world's fastest carbon footprint API for businesses, developers, and sustainability platforms.
Every company globally must track carbon emissions for ESG compliance, but current solutions are:
- Slow - Take days/weeks for calculations
- Expensive - $10K-100K+ annual enterprise licenses
- Limited - Only work for large corporations
- Manual - Require complex spreadsheet uploads
CarbonAPI provides instant carbon footprint calculations for ANY activity through a simple REST API:
POST /api/v1/calculate
{
"activity": "shipping",
"weight": 500,
"from": "NYC",
"to": "London",
"transport": "air"
}
# Response in <100ms
{
"carbon_footprint": 2.4,
"unit": "tons_co2e",
"breakdown": {...},
"suggestions": [...]
}- Sub-100ms Response Time - Real-time calculations
- Global Coverage - All countries, transport modes, activities
- 99.9% Accuracy - Based on latest IPCC data
- Easy Integration - RESTful API, SDKs available
- Real-time Analytics - Dashboard and reporting
- Enterprise Ready - SOC2, GDPR compliant
- High-performance API server
- Real-time carbon calculation engine
- Emission factors database
- User management and analytics
- Auto-scaling Lambda functions
- RDS PostgreSQL for data
- Redis for caching
- CloudFront CDN for global speed
- S3 for document storage
- GitHub Actions automation
- Terraform infrastructure as code
- Automated testing and deployment
- Monitoring and alerting
Frontend: React Dashboard (planned)
Backend: Golang + Fiber Framework
Database: PostgreSQL + Redis
Cloud: AWS (Lambda, RDS, S3, CloudFront)
IaC: Terraform
CI/CD: GitHub Actions
Monitoring: CloudWatch + Prometheus
- Go 1.21+
- AWS Account with CLI configured
- Terraform 1.5+
- PostgreSQL (local development)
# Clone and setup
git clone https://github.com/ObeeJ/CarbonAPI.git
cd CarbonAPI
# Install dependencies
cd api && go mod tidy
# Setup database
psql -f database/schema.sql
# Run locally
go run main.go# Deploy infrastructure
cd terraform && terraform init
terraform plan && terraform apply
# Deploy application
cd .. && ./scripts/deploy.sh| Endpoint | Method | Description |
|---|---|---|
/api/v1/calculate |
POST | Calculate carbon footprint |
/api/v1/activities |
GET | List supported activities |
/api/v1/factors |
GET | Get emission factors |
/api/v1/analytics |
GET | Usage analytics |
/api/v1/health |
GET | Health check |
- Freemium: 1,000 free API calls/month
- Startup: $99/month for 50K calls
- Business: $499/month for 500K calls
- Enterprise: Custom pricing for unlimited usage
Target Market Size: $50B+ ESG compliance market
- 50,000+ companies need carbon tracking by 2025 (EU CSRD)
- $366B+ sustainability market growing 20% annually
- Zero dominant API player in real-time carbon calculation
- First-mover advantage in developer-friendly carbon tools
- Speed: 100x faster than existing solutions
- Cost: 90% cheaper than enterprise alternatives
- Accuracy: Latest IPCC emission factors
- Developer-First: Simple API, great documentation
- Global: Works anywhere, any activity type
Q1 2025:
- ✅ Core API development
- ✅ AWS infrastructure setup
- ✅ MVP launch
Q2 2025:
- React dashboard
- Mobile SDKs
- Enterprise features
Q3 2025:
- AI-powered suggestions
- Blockchain verification
- Global partnerships
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
- Website: https://carbonapi.io
- Email: hello@carbonapi.io
- Twitter: @CarbonAPI
- LinkedIn: CarbonAPI
Built for a sustainable future