TrimCarbon · Schema

Offset

One purchase of carbon credits through the API.

CompanyAviationCarbon OffsetPilot Tools

Properties

Name Type Description
object string
id string
livemode boolean False for test keys: nothing was charged or retired.
status string `processing` until the credits are bought and retired; `placed` once they are; `refunded` if we could not place the order and returned the charge to your balance.
kg integer kg of CO₂ offset.
amount_cents integer What the purchase took from your balance.
currency string
rate_millicents_per_kg integer Your rate in thousandths of a cent per kg: 4000 is $0.04/kg ($40 per tonne).
requested object What you asked for: kg, or an amount to spend.
reference stringnull
certificate_url stringnull The public certificate on trimcarbon.com, once the order is placed. Null for test offsets.
created string
placed object
View JSON Schema on GitHub

JSON Schema

trimcarbon-com-offset-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimcarbon-com/json-schema/trimcarbon-com-offset-schema.json",
  "title": "Offset",
  "description": "One purchase of carbon credits through the API.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimcarbon-com-openapi.json#/components/schemas/Offset",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "const": "offset"
    },
    "id": {
      "type": "string"
    },
    "livemode": {
      "type": "boolean",
      "description": "False for test keys: nothing was charged or retired."
    },
    "status": {
      "type": "string",
      "enum": [
        "processing",
        "placed",
        "refunded"
      ],
      "description": "`processing` until the credits are bought and retired; `placed` once they are; `refunded` if we could not place the order and returned the charge to your balance."
    },
    "kg": {
      "type": "integer",
      "description": "kg of CO₂ offset."
    },
    "amount_cents": {
      "type": "integer",
      "description": "What the purchase took from your balance."
    },
    "currency": {
      "type": "string",
      "const": "usd"
    },
    "rate_millicents_per_kg": {
      "type": "integer",
      "description": "Your rate in thousandths of a cent per kg: 4000 is $0.04/kg ($40 per tonne)."
    },
    "requested": {
      "type": "object",
      "properties": {
        "kg": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "amount_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "kg",
        "amount_cents"
      ],
      "additionalProperties": false,
      "description": "What you asked for: kg, or an amount to spend."
    },
    "reference": {
      "type": [
        "string",
        "null"
      ]
    },
    "certificate_url": {
      "format": "uri",
      "description": "The public certificate on trimcarbon.com, once the order is placed. Null for test offsets.",
      "type": [
        "string",
        "null"
      ]
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "placed": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "object",
    "id",
    "livemode",
    "status",
    "kg",
    "amount_cents",
    "currency",
    "rate_millicents_per_kg",
    "requested",
    "reference",
    "certificate_url",
    "created",
    "placed"
  ],
  "additionalProperties": false
}

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/trimcarbon-com-offset"
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.