Skip to main content

Overview

The Cough Radar REST API provides geospatial coughing analytics, enabling health monitoring applications to display coughing heatmaps and retrieve classification levels (normal, elevated, high) for specific geographic locations. A typical integration displays an interactive map with cough-intensity heatmap overlays, accompanied by a panel showing the current classification and historical trends for the selected region. To build this:
  1. Use /v1/tiles to get tile URLs for rendering heatmap overlays on your map. The response is compatible with standard map libraries like Google Maps, Apple Maps, and Mapbox.
  2. Use /v1/classifications to fetch the cough activity level (normal, elevated, high) and trend data for the user’s current view or location. Display the classification status and render the time series data in a graph.

Authentication

All API requests require authentication via the API-Key header. Your API key must have the coughRadar capability enabled.

Base URL

Endpoints

POST /v1/tiles

Fetch available heatmap tile data for a date range. Returns tile metadata including URLs for rendering map overlays. Request
Request Body Response (200 OK)

POST /v1/classifications

Get coughing classification (normal, elevated, high) for a geographic location or bounding box on a specific date. You can specify the location using either:
  • coordinate - A single point. The API returns aggregated data for the surrounding area (approximately 200 km radius).
  • bounding_box - A geographic rectangle. The API returns aggregated data for the specified region.
Request (with coordinate)
Request (with bounding box)
Request Body *Either coordinate or bounding_box must be provided. Response (200 OK)

Data Types

Classification Values

Classifications compare current cough levels against historical data from the same location over the past year:

Coughing Data Time Series Object

Historical trend data for the requested location.

Coordinate Object

Bounding Box Object


Error Codes