CarbonTxtFile

A carbon.txt file is the data structure that acts as an index for supporting evidence for green claims made by a specific organisation. It is intended to links to machine readable data or supporting documentation in the public domain. This class represents the version 0.6 syntax, which adds an optional description attribute for disclosures, the `measurement-data` disclosure type, and support for optional certification schemes.

CompanySustainabilityGreen HostingCarbon EmissionsClimateOpen DataNon-Profit

Properties

Name Type Description
version string
last_updated object
upstream object
org object
View JSON Schema on GitHub

JSON Schema

green-web-foundation-carbon-txt-schema.json Raw ↑
{"$defs": {"CertificationScheme": {"additionalProperties": false, "description": "A `CertificationScheme` represents an externally verified commitment by an organization to some level of carbon redution,\nbacked by some evidence as disclosures. At a minimum it should refer to a `url` detailing the certification requirements\nand the verifying organization, and an arbitary `id` for reference in `Disclosure` objects. It may optionally include\na string `title` and `description`.", "properties": {"id": {"title": "Id", "type": "string"}, "url": {"title": "Url", "type": "string"}, "title": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Title"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Description"}}, "required": ["id", "url"], "title": "CertificationScheme", "type": "object"}, "Disclosure": {"additionalProperties": false, "description": "Disclosures are essentially supporting documentation shared by an organisation than can\nbe to be used to substantiate a claim like running on green energy, and so on.\nIn the carbontxt version 0.6 syntax, disclosures have all the same fields as in\nversion 0.5, plus an optional description string, and we add the new `measurement-data`\ndocument type to the enumeration of possible values, and the optional ability to refer\nto a list of `certification_schemes` supported by this disclosure.", "properties": {"doc_type": {"enum": ["web-page", "annual-report", "sustainability-page", "certificate", "csrd-report", "ai-model-card", "measurement-data", "other"], "title": "Doc Type", "type": "string"}, "url": {"title": "Url", "type": "string"}, "domain": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Domain"}, "valid_until": {"anyOf": [{"format": "date", "type": "string"}, {"type": "null"}], "default": null, "title": "Valid Until"}, "title": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Title"}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Description"}, "certification_schemes": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "default": null, "title": "Certification Schemes"}}, "required": ["doc_type", "url"], "title": "Disclosure", "type": "object"}, "Organisation": {"additionalProperties": false, "description": "An Organisation is the entity making the claim to running its infrastructure\non green energy. In the very least it should have some disclosures point to, even\nif it is exclusively relying on services from upstream providers for its green claims.\nThis class represents the Organization object in version 0.6 which adds support for certification\nscheme declarations.", "properties": {"disclosures": {"items": {"$ref": "#/$defs/Disclosure"}, "minItems": 1, "title": "Disclosures", "type": "array"}, "certification_schemes": {"anyOf": [{"items": {"$ref": "#/$defs/CertificationScheme"}, "type": "array"}, {"type": "null"}], "default": null, "title": "Certification Schemes"}}, "required": ["disclosures"], "title": "Organisation", "type": "object"}, "Service": {"additionalProperties": false, "description": "A service in this context is a hosted service, offered by a provider\nof hosted services.\nThe domain is used as key for looking up a corresponding provider in the\nGreen Web Platform", "properties": {"domain": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Domain"}, "name": {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null, "title": "Name"}, "service_type": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "string"}, {"type": "null"}], "default": null, "title": "Service Type"}}, "required": ["domain"], "title": "Service", "type": "object"}, "Upstream": {"additionalProperties": false, "description": "Upstream refers to one or more hosted services that the Organisation\nis relying on to operate a digital service, like running a website, or application.", "properties": {"services": {"anyOf": [{"items": {"anyOf": [{"$ref": "#/$defs/Service"}, {"type": "string"}]}, "type": "array"}, {"type": "null"}], "default": null, "title": "Services"}}, "title": "Upstream", "type": "object"}}, "additionalProperties": false, "description": "A carbon.txt file is the data structure that acts as an index for supporting evidence\nfor green claims made by a specific organisation. It is intended to links to\nmachine readable data or supporting documentation in the public domain.\nThis class represents the version 0.6 syntax, which adds an optional description\nattribute for disclosures, the `measurement-data` disclosure type, and support for\noptional certification schemes.", "properties": {"version": {"pattern": "^(?P<major>0|[1-9]\\d*)\\.(?P<minor>0|[1-9]\\d*)(?:\\.(?P<patch>0|[1-9]\\d*))?(?:-(?P<prerelease>(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", "title": "Version", "type": "string"}, "last_updated": {"anyOf": [{"format": "date", "type": "string"}, {"type": "null"}], "default": null, "title": "Last Updated"}, "upstream": {"anyOf": [{"$ref": "#/$defs/Upstream"}, {"type": "null"}], "default": null}, "org": {"$ref": "#/$defs/Organisation"}}, "required": ["version", "org"], "title": "CarbonTxtFile", "type": "object"}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/green-web-foundation-carbon-txt"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.