Climatiq API

Environment / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Climatiq is an API for calculating carbon emissions and environmental footprint across a wide range of activities including travel, energy use, and shipping. It provides scientifically-backed emission factors sourced from global databases, making it easy to integrate carbon accounting into any application. Beginners can start calculating CO2 equivalents with a single POST request.

Beginner Tip

You need a free API key from climatiq.io to get started. The main endpoint accepts an activity ID and parameters to return CO2e in kilograms — check the emission factor library in their docs to find the right activity ID for your use case.

Available Data

Climatiq data via REST API

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Climatiq",
    "description": "Calculate the environmental footprint created by a broad range of emission-generating activities",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

co2e The calculated CO2-equivalent emissions in the unit specified by co2e_unit
co2e_unit Unit for the CO2e value, typically "kg" for kilograms
co2e_calculation_method Methodology used for the calculation, e.g. "ar5" (IPCC Assessment Report 5)
emission_factor Details of the emission factor used, including name, category, region, and source database
constituent_gases Breakdown of individual greenhouse gases (co2, ch4, n2o) contributing to the total CO2e

Implementation Example

Request
const url = "https://docs.climatiq.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid Bearer token in Authorization header
Sign up at climatiq.io to get a free API key and include it as: Authorization: Bearer YOUR_API_KEY
422 Unprocessable Entity The activity_id does not exist or the parameters are mismatched for that activity
Browse the Climatiq emission factor library to find the exact activity_id and required parameters for your use case
400 Bad Request Malformed JSON body or missing required fields in the request
Ensure the request body includes both emission_factor (with activity_id) and parameters objects with valid numeric values

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Environment
Difficulty Intermediate
Verified: 2026-04-07

Related Tags

Similar APIs

View All →