Overview

The Open Government Belgium API provides free access to Belgian federal government datasets, covering areas including economy, environment, mobility, and social statistics. No API key is required, and the portal uses the standard CKAN API interface. Data is available in multiple languages reflecting Belgium's multilingual nature (French, Dutch, German).

Beginner Tip

Belgium's data portal supports CKAN's package_search endpoint; try filtering by organization using the fq=organization:NAME parameter to find datasets from a specific Belgian federal agency.

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.

Use case: Integrate belgium government open data data into web and mobile applications
Open Government, Belgium data via REST API

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.

JSON Response · Illustrative
{
  "status": "success",
  "data": {
    "result": "Data from Open Government, Belgium",
    "description": "Belgium Government Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

success True when the API call completed without errors.
result The main response payload containing search results or dataset details.
count Number of datasets matching the search query.
title Dataset title; may be a multilingual object with fr/nl/de keys.
resources Links to the actual data files or APIs for the dataset.
organization The Belgian government body responsible for publishing the dataset.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://data.gov.be/api/3/action/package_search?q=environment&rows=5";
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.

Multilingual field confusion Dataset metadata fields like title and description may appear as objects with language keys rather than plain strings.
Parse the response carefully and select the language key you need (e.g., result.title.fr for French).
404 on resource download The data file URL stored in the resource may be outdated.
Visit the dataset page on data.gov.be to confirm the current download URL.
No results for English keywords Dataset titles are often in French or Dutch only.
Try equivalent French (mobilite, environnement) or Dutch (mobiliteit, milieu) keywords in your search query.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Listing details not endpoint-verified

Similar APIs

View All →