Bahrain Open Data Portal
Public recordsBHdata.gov.bh
Bahrain's national open-data portal: search the catalogue and query rows out of any dataset.
Capabilities (6)
GET /v1/data/datagovbh/catalogue-facets1 creditReturns the catalogue-level facets - theme, keyword, publisher, licence, language and more - each with its distinct values and the number of datasets under them.
GET /v1/data/datagovbh/dataset1 creditReturns one dataset's full metadata record: titles, description, themes, keywords, publisher, licence, modified date, record count and the complete field schema with each column's name, label and type.
GET /v1/data/datagovbh/dataset-facets1 creditReturns the facetable columns of one dataset with every distinct value and its row count - a value histogram without downloading the rows.
GET /v1/data/datagovbh/datasets1 creditReturns the portal's datasets with their dataset_id, titles, description, themes, keywords, publisher, record count and field schema, plus a total_count for the whole catalogue.
GET /v1/data/datagovbh/records1 creditReturns the actual rows of one dataset as JSON objects keyed by column name, with a total_count, and supports ODSQL filtering, sorting, field selection and server-side aggregation.
GET /v1/data/datagovbh/records-export1 creditReturns up to 1,000 rows of one dataset as a plain JSON array, bypassing the 100-row and 10,000-offset ceilings the records endpoint enforces.
Licence
Bahrain Open Government Data License v1.0 (20 May 2025), the purpose-written national licence, read in full.
https://nea.gov.bh/Documents/OpenDataLicense.pdfAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Bahrain Open Data Portal
Cache: up to 3600s
