Public APIs
openSenseMap favicon

openSenseMap

Weather

Data from Personal Weather Stations called senseBoxes.

openSenseMap's website screenshot

About openSenseMap

openSenseMap is a REST API for a citizen science sensor network, providing endpoints to retrieve and submit environmental sensor data from distributed measurement stations called "boxes." It supports operations for listing boxes and their sensors, fetching current and historical measurements, retrieving statistics and interpolated data, and posting new sensor readings.

The API also includes a user account system with registration, sign-in, password reset, and email confirmation, along with authenticated routes for managing boxes: creating, updating, deleting, claiming, and transferring ownership, as well as deleting individual measurements. Authentication for protected routes is handled via JWT.

This API is intended for developers building applications that consume or contribute environmental sensor data, such as tools for visualizing measurements, managing sensor box deployments, or integrating citizen-collected environmental readings into other systems.

Key features

  • Register and manage sensor boxes (senseBoxes) via REST API
  • Post new sensor measurements to individual or multiple sensors
  • Retrieve latest measurements and historical data by box or sensor
  • Query box locations and metadata
  • Compute inverse distance weighting (IDW) interpolation statistics across sensor data
  • JWT-based user authentication with registration, sign-in, and password reset

Frequently asked questions

What is openSenseMap used for?

It is an API for managing openSenseMap senseBoxes and their sensor measurements, including posting and retrieving environmental sensor data.

Does it require authentication?

Some routes like GET /boxes and GET /stats require no authentication, while routes like creating boxes or managing users require a valid JWT.

What data format or protocol does the API use?

It is a REST API accessed over HTTP with GET, POST, PUT, and DELETE routes.

Where can I find full API documentation?

Detailed reference documentation is available at docs.opensensemap.org.

Can I query data from multiple sensor boxes at once?

Yes, the /boxes/data and /boxes/data/bytag routes allow retrieving measurement data across multiple boxes, including grouping by tag.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product