CodeCarbon
CodeCarbon is an open-source project (mlco2 on GitHub) that estimates the carbon emissions of computing. Its Python package and CLI track energy use of CPU, GPU and RAM during code execution, and optionally upload runs to the CodeCarbon dashboard through a FastAPI-based REST API at api.codecarbon.io covering organizations, projects, experiments, runs and emissions.
CodeCarbon publishes 2 API contracts, indexed on the APIs.io network as 10 APIs, including Auth API, CodeCarbon API, Emissions API, and 7 more. Tagged areas include Company, Carbon Emissions, Sustainability, Machine Learning, and Open Source.
The CodeCarbon catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
CodeCarbon’s developer surface includes authentication, documentation, API reference, engineering blog, getting-started guide, and 16 more developer resources.
Kin Score
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 10
Individual APIs this provider publishes, each with its own machine-readable definition.
CodeCarbon Auth API
The Auth API from CodeCarbon — 4 operation(s) for auth.
CodeCarbon CodeCarbon API
The CodeCarbon API API from CodeCarbon — 1 operation(s) for codecarbon api.
CodeCarbon Emissions API
The Emissions API from CodeCarbon — 3 operation(s) for emissions.
CodeCarbon Experiments API
The Experiments API from CodeCarbon — 4 operation(s) for experiments.
CodeCarbon Fast API
The FastAPI API from CodeCarbon — 1 operation(s) for fastapi.
CodeCarbon Organizations API
The Organizations API from CodeCarbon — 6 operation(s) for organizations.
CodeCarbon Project tokens API
The Project tokens API from CodeCarbon — 2 operation(s) for project tokens.
CodeCarbon Projects API
The Projects API from CodeCarbon — 4 operation(s) for projects.
CodeCarbon Runs API
The Runs API from CodeCarbon — 5 operation(s) for runs.
CodeCarbon Telemetry API
The Telemetry API from CodeCarbon — 1 operation(s) for telemetry.
Scroll for all 10
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Codecarbon Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.
CodeCarbon API Rules
SPECTRALJSON Schema 6
Standalone JSON Schema definitions for this provider's data models.
EmissionCreate
JSON SCHEMAEmission
JSON SCHEMAExperimentReport
JSON SCHEMARunReport
JSON SCHEMARun
JSON SCHEMATelemetryCreate
JSON SCHEMASecurity Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access (API Evangelist recommendations) 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 1
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 7
Pagination, idempotency, versioning, errors, and events
Scroll for all 7
Build 3
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Company 2
The organization behind the API
Other 3
Properties that don't map to a standard resource type
Source (apis.yml)
CodeCarbon API — frequently asked questions
Does CodeCarbon have an API?
Yes. APIs.io lists 10 APIs from CodeCarbon, including CodeCarbon Auth API, CodeCarbon CodeCarbon API and CodeCarbon Emissions API, and 7 more.
Is there an OpenAPI specification for the CodeCarbon API?
Yes. APIs.io indexes 10 OpenAPI specifications for CodeCarbon, each linked for download from this page.
How do I authenticate with the CodeCarbon API?
CodeCarbon uses bearer-token authentication (apiKey/http · 2 schemes). The details are profiled on APIs.io as CodeCarbon Authentication.
Is the CodeCarbon API ready for AI agents?
CodeCarbon has a Kin Score of 35.7 out of 100 (thin) and an Agent Readiness score of 28.0 (agent-aware), scored by API Evangelist on 2026-11-28.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.