PM2.5 Open Data Portal API
Overview
PM2.5 Open Data Portal provides free access to low-cost PM2.5 (fine particulate matter) sensor data from the LASS community network across Asia, particularly Taiwan. No API key is required, making it instantly accessible for developers and researchers. The API returns sensor readings in JSON format and supports filtering by device ID, location, or time range.
Beginner Tip
No registration required — you can start fetching PM2.5 sensor data immediately using the REST endpoints. Use the /project/all/ endpoint to browse available data projects, then narrow down to specific device readings using a device ID.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"status": "success",
"data": {
"result": "Data from PM2.5 Open Data Portal",
"description": "Open low-cost PM2.5 sensor data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
device_id Unique identifier of the LASS sensor device that recorded the measurement feeds Array of time-stamped sensor readings from the device feeds[].AirBox.s_d0 PM2.5 concentration in micrograms per cubic meter (μg/m³) from the primary sensor channel feeds[].timestamp ISO 8601 timestamp indicating when the measurement was recorded by the sensor source Data source identifier indicating which sensor network or project provided the data Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://pm25.lass-net.org/API-1.0.0/project/all/?format=JSON";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →CO2 Offset
⭐ Beginner's PickCO2 Offset API calculates and validates the carbon footprint of electricity consumption using the Sustainable Scope 2 framework.
Danish data service Energi
Danish data service Energi provides programmatic access to open energy data from energinet to society via REST API.
GrünstromIndex
⭐ Beginner's PickGrünstromIndex (Green Power Index) provides real-time and forecast data about the proportion of renewable energy in the German electricity grid.
Luchtmeetnet
⭐ Beginner's PickLuchtmeetnet API provides real-time and predicted air quality measurements from the official Dutch national air quality monitoring network (RIVM).
Carbon Interface
Carbon Interface API calculates estimated CO2 emissions for common activities such as electricity usage, flights, vehicle travel, and shipping.