Compost piles, country by country.
Readings from the bins on CompostIQ, summed up per country for each day or for a whole period: temperature, moisture, oxygen, CO₂ and ammonia, with how often each alert happens. Available to anyone with a free researcher account and an API key.
$ curl -H "x-research-key: $COMPOSTIQ_KEY" \ "https://api.compostiq.win/research/overview?country_code=ID" { "start": "2026-09-19T08:00:00+00:00", "end": "2026-10-19T08:00:00+00:00", "country_code": "ID", "data": [{ "country_code": "ID", "bin_count": 3, "reading_count": 25920, "temperature_c": 47.92, "temperature_c_max": 64.311, "moisture_percent": 53.274, … }] }
Live figures from the CompostIQ API.
Every research endpoint also answers in CSV: add format=csv. · Changelog
One row per country, per day.
Readings from every bin in a country are summed up for each UTC day (/research/daily) or for the whole period you ask for (/research/overview). JSON and CSV carry the same fields.
| Field | Type · unit | What it means |
|---|---|---|
country_code | ISO 3166-1 alpha-2 | Where the bins are, at country level only. For example ID. |
day | ISO 8601 · UTC | The UTC day the row covers. Daily rows only. |
bin_count | integer | How many bins sent readings. |
reading_count | integer | How many readings the row sums up. |
temperature_c | number · °C | Average core temperature of the piles. |
moisture_percent | number · % | Average moisture content. |
o2_percent | number · % | Average oxygen in the piles, 0 to 21. |
co2_percent | number · % | Average carbon dioxide in the piles. |
nh3_ratio | number · 0–1 | Average relative ammonia intensity. Not a ppm value. |
…_min, …_max, …_sd | number | For each sensor above: its lowest and highest reading, and the standard deviation. Every figure is rounded to 3 decimals. |
/research/alerts has one row per country and alert type instead:
| Field | Type · unit | What it means |
|---|---|---|
country_code | ISO 3166-1 alpha-2 | Where the bins are. |
type | enum | too_hot, too_dry, too_wet, low_oxygen or high_co2. |
alert_count | integer | How many alerts of this type were raised in the window. |
bin_count | integer | How many bins raised them. |
avg_hours_to_resolve | number · hours | How long they took to clear, on average. Alerts still open are left out of it, and it is null while none has cleared. |
Everything about the pile. Nothing about the person.
- Names and email addresses
- Bin names
- Addresses and coordinates
- Device MAC addresses and hardware IDs
- Account, bin and device database IDs
- Location becomes a country code
- Time becomes UTC days, or the whole period you ask for
- Every bin in a country becomes one row
- Bins with no country set
- Offline alerts, which are never stored
- A deleted account's bins, at once: every request reads the live data
Read this before you publish.
Averages hide spread
Every sensor comes with its minimum, maximum and standard deviation (_min, _max, _sd). Check them before comparing averages.
Ammonia is relative
nh3_ratio runs from 0 to 1. It shows when ammonia rises and falls, not how much is present.
Modelled, not measured
Today's readings come from the CompostIQ emulator and simulator, which model piles from the stage ranges below. Treat them as modelled data until physical sensors report.
A tropical baseline
The models use a 28 °C ambient, like the pilot site in Mataram, so piles start near 28 °C and cool back to it. Expect higher floors than temperate data.
Days are UTC
Daily rows follow UTC days. The pilot site is at UTC+8, so one local day spans two rows.
The ranges behind each stage.
The ranges the emulator and simulator model piles from, and the stage model was trained on (simulator/composting_stages.py). Peak decomposition starts once the core has held 55 °C for 6 hours.
| Stage | Temperature | Moisture | Oxygen | CO₂ | Typical length |
|---|---|---|---|---|---|
| 0 Early mesophilic | 28–45 °C | 60–65 % | 15.5–21 % | 0.5–5.5 % | 1–3 days |
| 1 Active thermophilic | 45–60 °C | 55–60 % | 12–17.5 % | 3.5–9 % | 2–4 days |
| 2 Peak decomposition | 55–65 °C | 50–58 % | 10–16.5 % | 4.5–11 % | 4–7 days |
| 3 Cooling | 30–60 °C | 45–55 % | 11–20 % | 1–10 % | 5–10 days |
| 4 Maturation | 28–32 °C | 40–50 % | 19–21 % | 0.3–2 % | 24–36 days |
Using the figures? Cite them.
The figures change as bins report, so give the date you fetched them:
CompostIQ (2026). CompostIQ research API: country aggregates of compost bin readings. https://compostiq.win/open-data/ (retrieved on the date you fetched them)
Ready for your first request?
The quickstart takes about five minutes: get a key, then load a country's daily figures into a pandas DataFrame.