# CodeCarbon

**Canonical:** https://apis.io/providers/codecarbon/  
**Website:** https://codecarbon.io/  
**APIs profiled:** 2

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.

## Kin Score — 35.7 / 100 (thin)

Scored 2026-11-28 under rubric 0.30.0.

| Facet | Score |
|---|---|
| Discoverability | 66.1 |
| Contract Quality | 69.1 |
| Contract Governance | 22.0 |
| Operational Transparency | 4.8 |
| Developer Ergonomics | 50.0 |
| Access Clarity | 0.0 |

Regulatory layer — **Horizontal (data, software, accessibility, platform)**: 10.0 (matched via fallback).

## Agent readiness — 28.0 (agent-aware)

| Dimension | Value |
|---|---|
| Spec Presence | yes |
| Agentic Access | derived |
| Reversibility Documented | no |
| MCP Server | no |
| Auth Clarity | bearer |
| Idempotency | no |
| Error Semantics | verified |
| OpenAPI Examples | verified |
| Rate Limit Signal | no |
| Event Surface Described | no |
| Agent Skills | no |
| Well Known Catalog | no |
| Consent Identity | no |
| Agent Card | no |
| Dry Run Mode | no |
| Delegated Identity | no |
| Protected Resource Metadata | no |
| Dynamic Client Registration | no |
| Agentic Commerce | no |
| Pagination Ratio | no |
| Operation Distinctiveness | distinct |
| MCP Tool Quality | na |
| Onboarding Descriptor | no |
| Dns Aid Index | na |
| Markdown Negotiation | na |
| Unattended Agent Grants | na |

## Access

Unknown — onboarding: unknown, pricing: unknown, trial: no (confidence: low).

## APIs (10)

- **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.

## Agentic access (1)

- **CodeCarbon Agentic Access** — 37 operations · 13 acting

## Security (2)

- **CodeCarbon Authentication** — apiKey/http · 2 schemes
- **CodeCarbon Domain Security** — TLSv1.3 · HSTS · DMARC

## Tags

Company, Carbon Emissions, Sustainability, Machine Learning, Open Source, Python, Green Software

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/codecarbon` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/providers/codecarbon/). Scores are computed from the provider's own public artifacts under a published rubric.
