Carbon Interface vs Website Carbon
Both are solid Environment APIs. Choose based on your specific requirements.
Carbon Interface
API to calculate carbon (C02) emissions estimates for common C02 emitting activities
Website Carbon
API to estimate the carbon footprint of loading web pages
Carbon Interface
- Simple API key authentication
- HTTPS supported
- CORS enabled for frontend use
Website Carbon
- No authentication required
- HTTPS supported
| Feature | Carbon Interface | Website Carbon |
|---|---|---|
| Authentication | apiKey | None |
| HTTPS | Yes | Yes |
| CORS | Yes | Unknown |
When to use which?
Website Carbon is the better choice for quick prototypes and hackathons since it requires no authentication. Carbon Interface works directly from the browser with CORS enabled, making it better for frontend-only apps.