# MyCO2 Suite Activity-Based Carbon Calculator

> MyCO2 Suite Activity-Based Carbon Calculator is a paid API for AI agents from api.myco2suite.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Converts a physical quantity of fuel, electricity, or materials into verified CO2e emissions for a specified country and year, covering 1,000+ activity types.

## Facts

- Endpoint: POST https://api.myco2suite.io/api/v1/activity?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/myco2-suite-activity-based-carbon-calculator-30738c53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yExKNKHOwSED4eL33Fny7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability myco2-suite-activity-based-carbon-calculator-30738c53 -d '<json body>'
```

Example prompt: Calculate the CO2e emissions for burning 500 litres of diesel fuel in Germany for the year 2023.

## When to prefer this

Choose this endpoint when you have a specific physical activity quantity (litres of fuel, kWh of electricity, kg of material) and need a verified, country- and year-specific CO2e figure for Scope 1 or Scope 2 carbon accounting. Prefer it over spend-based carbon when physical data is available for higher accuracy. Use the batch endpoint instead when converting 2 or more activities in a single call to reduce latency and cost.

## Known failure modes

- Unsupported activity type — returns error if the activity code is not in the 1,000+ supported list
- Invalid country code — returns error for unrecognised or unsupported country identifiers
- Out-of-range year — returns error if no emission factor exists for the requested year
- Missing required fields — quantity, unit, or activity type absent causes validation error
- Unit mismatch — supplying a quantity in a unit incompatible with the activity type
- Insufficient payment — x402 payment not provided or underfunded returns payment error

## How this service works

Activity-based carbon: convert a physical quantity (fuel, electricity, materials; 1,000+ activity types) into verified CO2e for a given country and year.

## Output

Returns verified CO2e mass (kg or tonne), the emission factor applied, its unit, source methodology, and country/year context for the given activity, enabling auditable carbon accounting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "year": {
   "type": "number",
   "description": "Data year (optional)"
  },
  "country": {
   "type": "string",
   "description": "ISO 3166-1 alpha-2 (optional; defaults GLO)"
  },
  "quantity": {
   "type": "number",
   "description": "Amount in the activity's native unit (>0)"
  },
  "activity_type": {
   "type": "string",
   "description": "e.g. 'electricity', 'diesel', 'natural gas'"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myco2-suite-activity-based-carbon-calculator-30738c53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.myco2suite.io](https://www.zero.xyz/host/api.myco2suite.io/llms.txt)
