Datasets-API
GA
Get a dataset
Fetch full metadata for one dataset by table name, description, quality grade, field analysis, sample URLs, and locale support.
Get a dataset
Fetch the full record for a single dataset, addressed by its table name. This endpoint is public and costs no credits. Use it to render a dataset detail page or to decide whether to spend credits on a download.
Endpoint
GET /v1/dataset/:table
Path and query parameters
| Parameter | In | Description |
|---|---|---|
table |
path | Dataset identifier, for example transport_infrastructure_bushaltes. |
locale |
query | Language for localized text fields: en (default) or nl. |
Request
curl "https://api.topolab.nl/v1/dataset/transport_infrastructure_bushaltes?locale=en"
Response
{
"id": "d3f1c2a0-1b2c-4d5e-8f90-abc123def456",
"table": "transport_infrastructure_bushaltes",
"title": "Dutch Bus Stops",
"description": "Every public bus stop in the Netherlands with address, geocode, and stop attributes, refreshed monthly.",
"country": "nl",
"type": "point",
"totalRecords": 51532,
"metadata": {
"theme": "transportation",
"accrualPeriodicity": "monthly",
"modified": "2026-05-01",
"issued": "2024-09-12",
"keywords": ["public transport", "bus", "points of interest"],
"spatial": "Netherlands",
"license": "Topolab Commercial License v1"
},
"qualityGrade": { "grade": "A", "score": 0.93 },
"fieldAnalysis": [
{ "field": "location", "type": "string", "nullRatio": 0.0, "distinctCount": 48210 },
{ "field": "city", "type": "string", "nullRatio": 0.0, "distinctCount": 2412 },
{ "field": "postal_code", "type": "string", "nullRatio": 0.02, "distinctCount": 18740 },
{ "field": "category", "type": "string", "nullRatio": 0.0, "distinctCount": 3 },
{ "field": "harvest_date", "type": "date", "nullRatio": 0.0, "distinctCount": 1 }
],
"coverage": { "country": "nl", "spatial": "Netherlands", "bbox": [3.36, 50.75, 7.22, 53.55] },
"accessLevel": "licensed",
"availability": "available",
"sampleCsvUrl": "https://api.topolab.nl/v1/dataset/transport_infrastructure_bushaltes/sample/csv",
"sampleJsonUrl": "https://api.topolab.nl/v1/dataset/transport_infrastructure_bushaltes/sample/json",
"thumbnailUrl": "https://assets.topolab.nl/thumbnails/transport_infrastructure_bushaltes.png"
}
| Field | Description |
|---|---|
id |
Internal UUID for the dataset record. |
table |
Dataset identifier used in every other dataset and OGC endpoint. |
title |
Localized name (per locale). |
description |
Localized long description (per locale). |
country |
ISO country code. |
type |
Geometry type: point, polygon, or line. |
totalRecords |
Number of rows. |
metadata.theme |
Catalogue theme slug. |
metadata.accrualPeriodicity |
Refresh cadence, for example monthly. |
metadata.modified |
Date of the most recent refresh. Watch this to detect updates, see Refresh hooks. |
metadata.issued |
Date the dataset was first published. |
metadata.keywords |
Search/classification tags. |
metadata.spatial |
Geographic coverage. |
metadata.license |
License under which the data is provided. |
qualityGrade |
Letter grade (A–F) and numeric score (0–1). |
fieldAnalysis[] |
Per-field profile: name, type, null ratio, distinct count, and numeric min/max where applicable. Use it to plan queries and downloads without pulling rows. |
coverage |
Geographic extent: country, spatial, and a WGS84 bbox as [minLon, minLat, maxLon, maxLat]. |
accessLevel |
Whether the dataset is openly available or licensed (requires an addon/license to download). |
availability |
Whether the dataset is currently available for access. |
sampleCsvUrl, sampleJsonUrl |
Direct links to free samples, see Sample rows. |
thumbnailUrl |
Preview image. |
Coordinates are always WGS84 (EPSG:4326). Topolab does not serve geometry in RD New (EPSG:28992).
Products that include this dataset
A dataset may be sold inside one or more commerce products. To list them:
curl "https://api.topolab.nl/v1/dataset/transport_infrastructure_bushaltes/products"
This is public and costs no credits. It returns the products (price, license, slug) that bundle the dataset, so you can link a developer to a purchase page. Some datasets are B2B-only and have no product; in that case the array is empty.
Errors
| Status | Meaning |
|---|---|
404 |
Unknown table. |
429 |
Rate limited, see Rate limits & credits. |
Next
- Sample rows, free schema and row inspection.
- Download files, full exports and coordinates (credits +
API_ACCESS). - List datasets, find other tables.