PitCanary is available from January 2027. Subscribe to the newsletter and we email you the day ordering opens. Subscribe

PitCanary

The PitCanary API for indoor air quality data

The PitCanary API returns the CO₂, temperature, humidity, light, sound and Room score of every room, every minute, as JSON over HTTPS. Read the readings, the timeline and alerts with your own key. Part of every plan, the free plan included.


What is the PitCanary API?

The PitCanary API is a REST API for the indoor air quality and climate data of the rooms a PitCanary measures. PitCanary is an indoor climate monitor for offices and home offices: one device per room measures 15 things and posts a summary every 60 seconds. The API serves the data the dashboard shows: rooms, readings for every minute, the Room score, the timeline of what happened and why, alerts, standards and comparisons. It is the same API our dashboard, MCP server and exports run on.

Base address
https://api.pitcanary.com
Format
HTTPS and JSON. Every answer carries "success": true or false.
Access
It reads. With the right key it also changes rooms, thresholds and alert rules.
Plans
Included in every plan.
OpenAPI
An OpenAPI 3.1 description of every route on this page: pitcanary.com/openapi.json.

How do I start with the PitCanary API?

You start with an account, an API key and one test call to /key/, then list your rooms.

  1. Have an account

    Every key belongs to one PitCanary account. The free plan with one PitCanary is enough.

  2. Create a key

    The account owner signs in, opens the API keys page and chooses Generate new key. The key starts with pk_live_. Choose an access level:

    Read onlyRooms, readings, alerts, advice and benchmarks. Nothing changes.
    Read and changeIt can also edit rooms, ranges, alert rules and locations.

    Start with Read only.

    The key is shown once.Copy it straight away. We store only a hash and cannot show it again.
  3. Make the first call

    /key/ is the cheapest call, and it tells you whether the key works.

    GET/key/bash
    curl -H "X-API-Key: pk_live_your_key" \
      https://api.pitcanary.com/key/
    200json
    {
      "success": true,
      "key": {
        "type": "named",
        "label": "Office dashboard",
        "last4": "3f4a",
        "scope": "read",
        "locations": "all"
      }
    }

    type is named for a key from the API page. scope is read or write. locations is all for an account key.

  4. List your rooms, then read one

    GET/rooms/bash
    curl -H "X-API-Key: pk_live_your_key" \
      https://api.pitcanary.com/rooms/
    200json
    {
      "success": true,
      "rooms": [
        {
          "id": 12,
          "name": "Meeting room 2",
          "location": "",
          "location_id": 3,
          "room_type": "meeting_room",
          "active_device_id": 41,
          "last_seen": "2026-11-22 09:41:03",
          "hw_revision": "V1.0 Rev A"
        }
      ]
    }

    Take the id of the room and ask /room/12/render/. Every section of the dashboard comes back already labelled, with units and a status.

Reading the answer

Look at success first. On an error, error holds one sentence, see Limits and errors. Times are local server time, and most answers also carry uts in Unix seconds, see Time and units.

How does API key authentication work?

Every call carries a PitCanary API key in the X-API-Key header, and the key decides what the call may read and change.

  • Send the key in a header

    Headerhttp
    X-API-Key: pk_live_your_key

    The API also accepts ?api_key= in the query string. Query strings end up in logs and browser history, so use the header. There is no Authorization: Bearer header on this API.

  • What a key may see

    A key from the API page belongs to the account and reads every location and room. A Read and change key also gets room.write and location.write.

  • What no key can do

    • Create other keys
    • Invite people
    • Change the plan or billing
    • Factory reset a PitCanary, wipe its data, release it, or delete a room

    Keys and the plan need the signed-in owner. The rest needs the owner or an admin.

  • Team members

    Each team member has a role (viewer, editor or admin) and optionally a set of locations. A key of a team member sees only those locations. A viewer reads. An editor also changes rooms.

  • Switching a key off

    On the API page a key can be disabled, enabled again or deleted. A disabled or deleted key stops answering at once, with a 401. The same switch closes the MCP server for that key.

  • A read key on a change route

    It gets a 403.“This API key may only read. Create a key on the API keys page with its access set to "Read and change", and use that one.”
  • Calls from a browser

    Calls from any origin are allowed (Access-Control-Allow-Origin: *). Never put a key in a public web page. Fetch from your own server.

How does PitCanary model a building?

PitCanary models a building as an account with locations, rooms and devices, where a room reads whatever its device posted while the two were paired.

  1. Account

    Your organisation. It has an owner, optionally team members, and one plan.

  2. Location

    A building or site, with a name and an address. GET /locations/

  3. Room

    A space with a name and a room type, such as office, meeting_room or hotel_room. The room type sets its default ranges and the rooms it is compared with. GET /rooms/

  4. Device

    A PitCanary. It measures and posts a summary every 60 seconds. It has its own id. In /rooms/ it appears as active_device_id.

  5. Pairing

    The data belongs to the device, and a room is a set of time windows. A room shows whatever its PitCanary posted while it was paired to that room. Move a PitCanary to another room and the old room keeps its history up to the move.

    Meeting room 2/room/12/...Board room/room/18/...
    PitCanary 41/device/41/...
    1 OctMoved on 3 Nov
    /room/{id}/... gives the windows of the room. /device/{id}/... gives everything that device ever posted.
  6. Readings and resolution

    History comes in tiers. The length of the window picks the tier for you. There is no parameter to choose one.

    1. Up to 6 hoursrawOne reading, about every minute
    2. Up to 2 daystenmin10 minutes: avg, min, max
    3. Up to 31 dayshourOne hour
    4. Up to 400 daysdayOne day
    • from and to take a date (2026-11-21) or a date and time (2026-11-21 09:00:00).
    • A bare from means 00:00:00. A bare to means 23:59:59, so both ends are inclusive.
    • Without either, you get today and the 6 days before it.
    • period=hour|day|week|month|year counts back from now.
    • A window cannot start before 2025-01-01, end after tomorrow, or be longer than 400 days. Breaking any of these gives a 400.
  7. Room score

    One number from 0 to 100 for how the room feels. For rooms people use, it weighs five pillars: Air 25, Thermal 25, Acoustic 20, Light 18 and Humidity 12. The weighting is our own method. On the wire it is comfort.score, with band (excellent, good, fair, poor, critical) and worst_driver.

  8. Timeline

    The day of the room told as events per hour, such as “The temperature fell”, each with its cause, readings and an action. GET /room/{id}/timeline/?schema=2

    Each event has an id, a type, a relevance (hidden, info, relevant, important) and a text block with title, detail, effect and action.

  9. Alerts

    Rules per room, like “CO₂ goes above 1,000 ppm for 5 min”. When a rule holds, an alert opens. It can be acknowledged, snoozed or resolved.

  10. Reports

    Scheduled emails, daily, weekly or monthly, at a whole hour in the time zone of the location.

  11. Benchmarks

    Compare your own rooms with each other. Optionally compare a room with similar rooms of other accounts that share, once there are at least 10 of them.

  12. Standards

    How much of the time a room stayed inside each range of the standard its room type follows, for example EN 16798.

  13. Regulation check

    One reading against the rules of one country. It is informative and never a verdict.

Which endpoints does the API have?

The API has read routes for keys, locations, rooms, history, timelines, presence, alerts, standards and benchmarks, and change routes for rooms, devices, alerts, locations and reports. Every path keeps its trailing slash. A GET without the slash gets a 301 redirect. A POST works with or without it. All read routes work with a Read only key.

Who and where

  • GET/key/Who this key is: type, label, last four characters, read or write, locations
  • GET/locations/Locations: id, name, address, city, country, room and device counts
  • GET/rooms/Rooms: id, name, room type, location, active device, last seen
  • GET/account/firmware/Your PitCanaries: id, name, firmware version, model, last seen

A room now

  • GET/room/{id}/render/The dashboard model: labelled sections, ranges, recommendations and the story. Schema render.v1, about 15 KBExample/room/12/render/
  • GET/room/{id}/latest/The latest reading plus everything worked out from it, about 35 KBExample/room/12/latest/
  • GET/room/{id}/settings/Name, room type, ranges, alert rules, active hoursExample/room/12/settings/

A room over time

  • GET/room/{id}/history/Buckets or raw points. Takes from, to, period, metricsExample/room/12/history/?from=2026-11-21&to=2026-11-21&metrics=co2,temp
  • GET/room/{id}/timeline/One day as events per hour, with now and the day. Takes schema=2, date, min_relevanceExample/room/12/timeline/?schema=2&date=2026-11-21
  • GET/room/{id}/presence/Per day: a level per 10 minutes, minutes in use, arrival, departure, peak. Takes days (1 to 31), dateExample/room/12/presence/?days=7
  • GET/room/{id}/trends/Records, weekday patterns, active hours. Takes from, toExample/room/12/trends/?from=2026-10-01&to=2026-10-31
  • GET/room/{id}/nights/The nights of a room people sleep in: rest period, score, conditions. For hotel rooms, B&Bs and holiday homes. Takes from, to. The last 7 by default, at most 31Example/room/31/nights/
  • GET/room/{id}/spectra/Sound and light spectra for one day, about 220 KB. Takes dateExample/room/12/spectra/?date=2026-11-21
  • GET/room/{id}/events/Notes people wrote about the roomExample/room/12/events/
  • GET/location/{id}/timeline/One day of a building: presence lanes per room and headline events. Takes dateExample/location/3/timeline/?date=2026-11-21

Alerts, standards, comparisons

  • GET/account/alerts/Alerts with a summary. status is firing, acknowledged, snoozed or resolved. Default firingExample/account/alerts/?status=firing
  • GET/room/{id}/alerts/Today’s alert episodes in a room, with peak and durationExample/room/12/alerts/
  • GET/room/{id}/standards/Per check: value, threshold, share of time inside, source. Takes from, to. About 30 days by defaultExample/room/12/standards/
  • GET/rooms/benchmark/Your rooms side by side, with min, median and max. Takes from, to
  • GET/room/{id}/peers/This room against similar rooms elsewhere, when the pool is large enoughExample/room/12/peers/

A PitCanary directly

Rarely needed. The room routes come first.

  • GET/device/{id}/latest/Latest reading of one PitCanary, wherever it is paired
  • GET/device/{id}/render/Its dashboard model
  • GET/device/{id}/history/Everything it posted, same rules as room history

Reference and rules

  • GET/reference/What PitCanary knows about reading a room: measurements, room types, guides, glossary. JSON, or markdown with Accept: text/markdownExample/reference/room-types/meeting_room/
  • GET/regulations/check/One reading against the sources of one country, nearest firstExample/regulations/check/?country=nl&room=office&co2_ppm=1150
The regulation check answers one question at a time.The full library cannot be downloaded or browsed. Without an account, the same check is free through the MCP server.

Change routes

Needs Read and change

The body is JSON, sent with Content-Type: application/json.

  • POST/account/rooms/Create a roomBody{"name":"Meeting room 3","room_type":"meeting_room","location_id":3}
  • POST/room/{id}/edit/Rename it, change its type, or move it to another locationBody{"name":"Board room"}
  • POST/room/{id}/archive/Archive a room
  • POST/room/{id}/settings/Ranges, alert rules, active hours, room contextBody{"settings":{"comfort_ranges":{"co2":{"min":400,"max":900}}}}
  • POST/room/{id}/pair/Put a PitCanary in a roomBody{"pairing_code":"K7Q2PX"}
  • POST/device/claim/Add a PitCanary to the accountBody{"pairing_code":"K7Q2PX"}
  • POST/device/{id}/rename/Name a PitCanaryBody{"name":"Hall tile"}
  • POST/device/{id}/unpair/Take it out of its room. The history stays
  • POST/device/{id}/identify/Make its light flash for 60 seconds
  • POST/device/{id}/reboot/Restart it
  • GETPOST/device/{id}/settings/Read or change the settings of a PitCanary. The body has the shape the settings page uses
  • POST/room/{id}/events/Write down what happenedBody{"event_at":"2026-11-21 14:00:00","title":"Window cleaners in","body":"Doors open all afternoon."}
  • POST/room/{id}/events/delete/Remove a noteBody{"id":123}
  • POST/alert/{id}/acknowledge//alert/{id}/snooze/?hours=4/alert/{id}/resolve/Handle an alert. Snooze takes 1 to 168 hours
  • GETPOST/account/locations/List or create locationsBody{"name":"Head office","address":"..."}
  • POST/account/locations/{id}/Change a locationBody{"name":"Head office, 2nd floor"}
  • POST/account/locations/{id}/archive/Archive a location
  • GETPOST/account/reports//account/reports/{id}/List, create and change scheduled reportsBody{"scope":"account","cadence":"weekly","send_hour":7,"send_weekday":1,"recipients":[0]}
  • POST/account/reports/{id}/pause//account/reports/{id}/resume//account/reports/{id}/delete/Pause, resume or delete a report
  • Room settings change only what you send. The keys inside settings are comfort_ranges, alerts, active_hours, expected_hours, nap_blocks, night_window and context. alerts replaces the whole rule set of the room. A rule it cannot read is skipped. A rule has metric, dir (goes above, drops below, goes outside), value or range, and duration (1 min, 5 min, 15 min, 30 min, 1 hour).
  • Some reads live on the change lane. GET /account/locations/, GET /account/reports/ and GET /device/{id}/settings/ need a Read and change key. With a Read only key, use GET /locations/.
  • A wrong pairing code. After 5 wrong codes in an hour, the next try gets a 429.
  • Over the plan. Pairing a PitCanary, or moving its room, beyond the plan gives a 402 with a structured body, see Limits and errors.

Examples of requests and responses.

These are real requests with shortened responses, one per family of routes. The field names are real, the values are made up.

A room now

GET/room/12/render/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/room/12/render/
200json
{
  "success": true,
  "schema": "render.v1",
  "posted_at": "2026-11-21 10:02:03",
  "room_id": 12,
  "device_id": 41,
  "sections": [
    {
      "id": "comfort",
      "title": "Room score",
      "items": [
        {
          "key": "comfort.score",
          "label": "Room score",
          "value": 81,
          "status": "good"
        }
      ]
    }
  ],
  "ranges": [
    {
      "key": "co2",
      "label": "CO₂",
      "value": 940,
      "unit": "ppm",
      "min": 400,
      "max": 1000,
      "status": "within"
    }
  ],
  "recommendations": [
    {
      "id": "air.purge",
      "title": "...",
      "pillar": "air"
    }
  ]
}

On the wire the Room score is comfort.

History

GET/room/12/history/bash
curl -H "X-API-Key: pk_live_your_key" \
  "https://api.pitcanary.com/room/12/history/?from=2026-11-21&to=2026-11-21&metrics=co2,temp"
200json
{
  "success": true,
  "room_id": 12,
  "resolution": "tenmin",
  "from": "2026-11-21 00:00:00",
  "to": "2026-11-21 23:59:59",
  "buckets": [
    {
      "bucket": "2026-11-21 10:00:00",
      "n": 10,
      "co2": { "avg": 912.4, "min": 861, "max": 968 },
      "temp": { "avg": 21.6, "min": 21.5, "max": 21.8 },
      "uts": 1795251600
    }
  ]
}

A raw window, 6 hours or less, answers data instead of buckets. Each item looks like {"co2":573,"posted_at":"2026-11-22 10:59:03","uts":1795341541}.

Timeline

GET/room/12/timeline/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/room/12/timeline/?schema=2
200json
{
  "success": true,
  "schema": "timeline.v2",
  "room_id": 12,
  "room_type": "meeting_room",
  "date": "2026-11-21",
  "now": {
    "headline": "CO₂ rising while in use",
    "action": {
      "text": "Open a window or turn up the ventilation"
    },
    "tone": "negative"
  },
  "hours": [
    {
      "from": "2026-11-21 14:00",
      "to": "2026-11-21 15:00",
      "presence": "present",
      "events": [
        {
          "id": "ev_20261121_1440_air_stuffy",
          "type": "air.stuffy",
          "relevance": "relevant",
          "t_start": "14:40",
          "text": {
            "title": "High CO₂",
            "detail": "CO₂ rose from 934 ppm at 14:10 and passed this room's line of 1000 ppm at 14:40.",
            "action": "Let some outside air in."
          },
          "readings": { "co2": 1180, "temp": 22.4 }
        }
      ]
    }
  ],
  "score": { "now": 74, "word": "Mostly fine" }
}

Presence

GET/room/12/presence/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/room/12/presence/?days=1
200json
{
  "success": true,
  "schema": "presence.v1",
  "room_id": 12,
  "days": [
    {
      "date": "2026-11-21",
      "levels": [0, 0, "... 144 values ..."],
      "in_use_minutes": 230,
      "arrival": "08:50",
      "departure": "17:20",
      "peak": "10:10"
    }
  ]
}

levels has 144 slots of 10 minutes. 0 means nobody, 1 to 5 means how busy. It is never a number of people. null means no data.

Alerts

GET/account/alerts/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/account/alerts/
200json
{
  "success": true,
  "status": "firing",
  "summary": {
    "firing": { "total": 1, "high": 0, "medium": 1, "low": 0 },
    "acknowledged": 0,
    "snoozed": 0,
    "resolved_week": 6
  },
  "alerts": [{ "id": 875, "room_id": 12, "metric": "co2", "dir": "goes above", "severity": "medium", "fired_at": "2026-11-21 14:40:00", "status": "firing" }]
}

Standards

GET/room/12/standards/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/room/12/standards/
200json
{
  "standard_id": "EN16798_1",
  "check_id": "temperature",
  "label": "Temperature",
  "value": 21.4,
  "unit": "°C",
  "status": "indicative",
  "time_within_pct": 86,
  "threshold": "CAT II 20 – 24 °C",
  "basis": "proxy",
  "standard": "EN 16798",
  "authority": "European committee"
}

One check from the answer. time_within_pct is the share of the period the room stayed inside the range.

Benchmark

GET/rooms/benchmark/bash
curl -H "X-API-Key: pk_live_your_key" \
  https://api.pitcanary.com/rooms/benchmark/
200json
{
  "success": true,
  "count": 3,
  "benchmark": {
    "co2": {
      "min": 610,
      "max": 1240,
      "median": 880,
      "count": 3
    }
  },
  "rooms": [
    {
      "room_id": 12,
      "name": "Meeting room 2",
      "comfort": { "score": 81, "band": "good" },
      "readings": {
        "temp": 21.6,
        "co2": 912,
        "hum": 44.1,
        "sound": 41,
        "lux": 420
      }
    }
  ]
}

Regulation check

GET/regulations/check/bash
curl -H "X-API-Key: pk_live_your_key" \
  "https://api.pitcanary.com/regulations/check/?country=nl&room=office&co2_ppm=1150"
200json
{
  "success": true,
  "country": "nl",
  "notes": [
    "Informative: what each source says, as read on the date shown. This answer does not judge a room against any rule."
  ],
  "results": [
    {
      "quantity": "co2_ppm",
      "value": 1150,
      "unit": "ppm",
      "sources_total": 5,
      "sources": [
        {
          "name": "Arboregeling, bijlage XIII, lijst wettelijke grenswaarden: kooldioxide",
          "binding": true,
          "kind": "limit",
          "max": 5000,
          "result": "inside",
          "statement": "1150 ppm is inside the limit of at most 5000 ppm.",
          "applies_when": "8 hour time-weighted average exposure",
          "checked": "2026-11-20",
          "enforced_by": "Nederlandse Arbeidsinspectie"
        }
      ]
    }
  ]
}

Shortened to one of five sources. The answer is informative. It says what each source states and leaves the judgement to you.

A change

POST/room/12/settings/bash
curl -X POST -H "X-API-Key: pk_live_your_write_key" \
  -H "Content-Type: application/json" \
  -d '{"settings":{"alerts":[{"metric":"co2","dir":"goes above","value":1000,"duration":"5 min"}]}}' \
  https://api.pitcanary.com/room/12/settings/

Sets one alert rule: CO₂ above 1,000 ppm for 5 minutes. alerts replaces the whole rule set of the room.

What are the rate limits and error codes?

Each key may send 10 requests a second after a burst of 60, each account has a daily number of calls, and every error comes back as JSON with an HTTP status code.

Daily limit per account

Every key, team member key and MCP tool call counts toward one daily number. It resets at 00:00 UTC. Calls the server answered count, including 400 and 404. A 401 and a 429 do not count.

Your daily limit grows with your plan and is shown on the API keys page.

Per-second limit

Per key: 60 requests at once, then 10 a second. Per client address: 120 at once, then 20 a second. Over either limit you get a 429 with Retry-After in seconds.

Error shape

Every error is JSON with one sentence in error.

429json
{ "success": false, "error": "Daily rate limit reached" }

A 402 is the exception. Its body is structured.

402json
{
  "blocked": true,
  "reason": "...",
  "required_plan": "medium",
  "price": 99,
  "message": "..."
}

Status codes

StatusMeaningExample error
200OK
301A GET without the trailing slash. Follow it
400Bad parameter or window“from must be before to”, “The window cannot be longer than 400 days”
401No key, unknown key or disabled key“Missing API key”, “Invalid API key”
402The plan does not cover this PitCanary or locationA structured body, see above
403The key may not do this“This API key may only read...”
404Unknown room, device or record“Not found”
409Conflict with the current state
422The firmware of the PitCanary is too old for this setting
429Daily or per-second limit, or too many wrong pairing codes“Daily rate limit reached”, “Too many requests per second. Try again in 3 s.”
500Our fault“Internal server error”
503Try again shortly

Which time zone and units does the API use?

Times are Central European time (Europe/Amsterdam) with a Unix timestamp beside them, and every measurement has a fixed unit: ppm for CO₂, °C for temperature, % for humidity, dBA for sound and lx for light.

Times
Fields such as posted_at, bucket, from and to are in Central European time (Europe/Amsterdam), mostly written YYYY-MM-DD HH:MM:SS. Timeline events give t_start as HH:MM. That holds for every location.
uts
The same instant in Unix seconds. Use this field across time zones.
Daily limit
Resets at 00:00 UTC.
Reports
Sent in the time zone of the location.
Interval
One reading every 60 seconds by default.

Units and names

Metrics have two names.Ranges and alert rules use one name. History buckets and metrics= use another. Unknown names in metrics= are ignored, not refused.
MeasurementUnitIn ranges and alert rulesIn history and metrics=
Room score0 to 100scorecomfort
Temperature°Ctemptemp
CO₂ppmco2co2
Humidity%humhum
VOC indexnonetvocvoc
NOx indexnonenoxnox
SounddBAsounddba
Illuminancelxlightlux
UVnone, raw sensor outputuvuv
Daylight share%daylightdaylight
Colour temperatureKcctcct
Blue light share%blueblue_light
Presence% busy, never a headcountoccupancyocc
PressurehPapresspressure
Vibrationmgvibvibration
Flicker%flickerflicker

Ranges take temp, co2, hum, tvoc, sound and light. Alert rules take every name in this column.

How is the API versioned?

The API is version 1.0, named in a header rather than in the path, and several answers name the schema of their own shape.

Header
Every answer carries X-API-Version: 1.0.
Schemas
Several answers name their own shape: render.v1, timeline.v2, presence.v1, location_timeline.v1, and schema_version: 2 inside the reading.
Path
There is no version in the path.

What does the API never return?

The API never returns a headcount, audio, images, Bluetooth or Wi-Fi identities, or another account's data.

  • A headcount

    Presence is a level of how busy a room is, never how many people.

  • Audio or images

    The device records neither. Sound is classified on the device, and only labels leave it.

  • Bluetooth or Wi-Fi identities

    The API does not return Bluetooth addresses, nearby device names, Wi-Fi network names, the network address of the device, or the pairing code. A key receives counts and summaries. Lists come back empty with radio_withheld: true.

  • Another account

    A key sees only its account. A key of a team member sees only their locations.

  • Data outside the EU

    Data stays in the EU. You can download it or delete it.

Other ways to get the data.

Besides the API, PitCanary data reaches an AI assistant through MCP, Home Assistant through MQTT, your own network through a local API, and a spreadsheet through CSV export.

  • MCP server for Claude and ChatGPT

    https://mcp.pitcanary.com/mcp. The same keys, and each tool call is one request from the same daily budget. Four tools are free without an account: check_values, find_regulations, get_regulation and get_reference.

    The MCP server
  • MQTT and Home Assistant

    Each PitCanary publishes a JSON reading every minute straight to your own broker, without passing our servers. Home Assistant adds it by itself through MQTT discovery.

    Home Assistant
  • Local API on the PitCanary

    http://pitcanary-xxxxxx.local/api/v1/current on your own network. No account, no internet, no plan. It carries the current reading and the Room score the device worked out itself, and no presence or Bluetooth.

    Integrations
  • Exports

    CSV of any room and period from the dashboard, and scheduled reports by email.

    Dashboard and export

Questions about the PitCanary API.

Is the PitCanary API free?

Yes, the API is included in every plan, the free plan with one PitCanary too. Every call counts toward one daily number per account, shown on the API keys page.

Do I need a PitCanary?

Yes, for your own data. Without one, the MCP server checks readings from any sensor against the rules of 76 countries. About the MCP server.

Can I use it without an account?

No. Every call needs a key from an account.

Which key should I use?

Read only for dashboards and BI. Read and change only for a script that sets things up.

How fresh is the data?

A PitCanary posts every 60 seconds by default, so the latest reading is usually less than a minute old.

How far back can I read?

From the day the PitCanary started, up to 400 days per request.

Why do the metric names differ?

Ranges and alert rules use one name, history uses another. The table under Time and units lists both.

Can I download the regulation library?

No. The check answers one reading at a time.

Does the API count people?

No. Presence is a level of how busy a room is, from 0 for nobody to 5, never a number of people.

What happens at the daily limit?

You get a 429 until 00:00 UTC.

Is there an OpenAPI description?

Yes, OpenAPI 3.1 at pitcanary.com/openapi.json, with every route on this page and the read and write scopes.

One key, and every room answers.

The API is part of every plan, the free plan with one PitCanary too.

Contents