Luchtmeetnet API

⭐ Beginner's Pick Environment / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

Luchtmeetnet API provides real-time and predicted air quality measurements from the official Dutch national air quality monitoring network (RIVM). It is completely free with no authentication required, covering pollutants like NO2, PM10, PM2.5, and ozone across hundreds of stations in the Netherlands. Developers can fetch station data, component measurements, and LKI (air quality index) values with simple GET requests.

💡

Beginner Tip

No API key is needed — just browse the available stations first using the /stations endpoint, then use a station number to fetch current measurements. The API returns metric-based pollution data, so check the Luchtmeetnet docs for the list of supported component codes like "NO2" or "PM25".

Available Data

prediction result with confidence score
input name or text
statistical data

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Luchtmeetnet",
    "description": "Predicted and actual air quality components for The Netherlands (RIVM)",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

data List of station or measurement objects returned by the query
data[].number Unique station identifier code used to reference the monitoring station in other endpoints
data[].location Human-readable location name or description of the monitoring station
data[].value Measured concentration value for the requested air quality component
data[].timestamp_measured ISO 8601 timestamp indicating when the measurement was recorded
pagination Pagination metadata including total record count and current page information

Implementation Example

const url = "https://api-docs.luchtmeetnet.nl/";
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

404 Not Found The station number or component code used in the URL does not exist
First query /stations to get valid station numbers, then use those exact values in measurement endpoints
Empty data array No measurements are available for the requested time range or component at that station
Try a recent time window (last 1 hour) and verify the station reports the specific component you are querying
Rate limit / 429 Too many requests sent in a short period
Add a short delay between requests when iterating over multiple stations; cache responses where possible

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 1857ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Environment
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →