GCC Open Data Search (Qatar, Bahrain) avatar

GCC Open Data Search (Qatar, Bahrain)

Pricing

from $2.00 / 1,000 results

Go to Apify Store
GCC Open Data Search (Qatar, Bahrain)

GCC Open Data Search (Qatar, Bahrain)

Search the official Qatar and Bahrain open data portals and get clean dataset records with licence, publisher, CSV/JSON export links and a ready-made attribution.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Aadam Ahmed

Aadam Ahmed

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share

GCC Open Data Search: Qatar and Bahrain Datasets with Licence

Search the official Qatar (data.gov.qa) and Bahrain (data.gov.bh) open data portals and get one clean dataset record per hit, with the licence, publisher, export links and a ready-made attribution line.

What you get

Per dataset: title, description (HTML stripped), publisher, themes and keywords, licence as stated by the portal, last-modified date, record count, API and CSV/JSON export links, dataset page URL, and an attribution string. Optionally up to 5 sample rows per dataset. See the example output below.

Use cases

  • Find official Gulf open data on a topic (population, trade, health, energy) and see at once whether you may reuse it.
  • Feed a research assistant or AI agent a list of citable Qatar and Bahrain datasets with the correct credit line.
  • Monitor the newest datasets published on both portals (an empty query returns the newest first).
  • Build a catalogue of dataset licences for compliance review.

What it does

  • Calls each portal's public Opendatasoft Explore API v2.1: GET {portal}/api/explore/v2.1/catalog/datasets with where=search("<query>"), order_by=modified desc, limit and offset paging.
  • Optionally fetches up to 5 sample rows per dataset from /catalog/datasets/{dataset_id}/records?limit=5.
  • Polite by design: sequential requests (about 1 per second), a descriptive user-agent, retries with backoff on HTTP 429/5xx.
  • If a portal answers HTTP 403, the run fails with a clear message. The actor never uses proxies or other workarounds to get around access controls.
  • Metadata only (plus optional samples). No login, no scraping, no personal data.

Note: the UAE federal portal (opendata.fcsc.gov.ae) blocks requests from outside the UAE and bayanat.ae has no public API, so the UAE is not supported.

Input

FieldMeaning
queryFree-text search; empty returns the newest datasets
portalsqatar, bahrain (default both)
maxItems1-1000 datasets in total (default 50)
includeRecordsSampleAdd up to 5 sample rows per dataset (default false; one extra request per dataset)
languageOptional two-letter language filter, e.g. en

Example input and output

Input (bundled test-input.json): {"query": "population", "maxItems": 3, "includeRecordsSample": true}.

The record below uses illustrative values only; real results depend on what the portals hold when you run it (a recorded API fixture is used in our tests).

{
"portal": "qatar",
"dataset_id": "population-by-nationality",
"title": "Population by Nationality",
"description": "Mid-year population estimates & shares.",
"publisher": "Planning and Statistics Authority",
"theme": ["Demographics"],
"keywords": ["population", "census"],
"license": "CC BY 4.0",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"modified": "2026-09-30T08:15:00+00:00",
"records_count": 120,
"api_url": "https://www.data.gov.qa/api/explore/v2.1/catalog/datasets/population-by-nationality",
"export_urls": {"csv": ".../exports/csv", "json": ".../exports/json"},
"portal_url": "https://www.data.gov.qa/explore/dataset/population-by-nationality/",
"attribution": "Source: Planning and Statistics Authority via Qatar Open Data Portal, licence CC BY 4.0"
}

Pricing (pay per result)

Pay-per-event with Apify's built-in dataset-item event. The live price is set in Apify Console and shown on the Store page (see Store). Each dataset record written to the output is one result. Suggested starting price in our notes: USD 0.002 per record (proposed, not a quote).

Licences and attribution

Each dataset carries its own licence, shown in the license / license_url fields exactly as the portal states them (it may be empty). Check each dataset's licence field before reusing the data, and credit the publisher; the attribution field helps. The actor reports "not stated" rather than guessing. This actor is not affiliated with or endorsed by any government entity. Takedown requests are honoured within 24 hours.

Limitations

  • UAE federal and Saudi portals are not supported: opendata.fcsc.gov.ae blocks requests from outside the UAE and bayanat.ae has no public API.
  • Metadata only; the actor does not download or repackage dataset contents (beyond 5 optional sample rows). Depends on portal availability and portal-side rate limits. Dataset counts change over time.

FAQ

Is there a UAE open data search? Not in this actor, for the reasons above. Qatar and Bahrain only.

Can I trust the licence field? It repeats what the portal states and may be empty. Check the dataset page before reuse.

Does it scrape websites? No. It calls each portal's public Opendatasoft API at about one request per second.

Which languages? Whatever the portal holds; language filters by two-letter code.