Open Government, Ireland API

Free to Use
62 C
Measured Score 0 50 100 Speed 11/30 Consistency 17/20 Security 20/20 Browser access 10/15 Transparency 4/15 TESTED 2026-08-10

Overview

The Open Government Ireland API provides free access to Irish government datasets through a CKAN-based platform, covering topics like transport, environment, demographics, and public finances. No authentication is required — you can start fetching data immediately with a simple HTTP GET request. It is ideal for developers building civic applications or doing research on Irish public data.

Beginner Tip

Use the CKAN API at https://data.gov.ie/api/3/action/package_search to discover datasets. Append ?q=your_keyword to search by topic, and use the returned id values to fetch full dataset details or download resources.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://data.gov.ie/api/3/action/package_search?q=transport&rows=5
Result
HTTP 200 · application/json · 30,891 bytes
Response time
314 ms (median of 3) · fastest 291 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Let's Encrypt
Browser CORS
Allowed — Access-Control-Allow-Origin: https://superset.data.gov.ie
Served by
nginx/1.30.4
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
count integer 829
facets object {0 fields}
results array [1 item]
sort string featured desc,score desc,metadata_created desc
search_facets object {0 fields}

Captured Response

Captured from a real request to https://data.gov.ie/api/3/action/package_search?q=transport&rows=5 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "help": "https://data.gov.ie/api/3/action/help_show?name=package_search",
  "success": true,
  "result": {
    "count": 829,
    "facets": {},
    "results": [
      {
        "…": "(40 more fields)"
      }
    ],
    "sort": "featured desc,score desc,metadata_created desc",
    "search_facets": {}
  }
}

Field Reference

success Whether the API request was processed successfully

Implementation Example

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

Request
const url = "https://data.gov.ie/api/3/action/package_search?q=transport&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.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist text/html

Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.

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.

result.count is 0 The search term is too specific or uses Irish-language spelling not indexed
Try broader English keywords like transport or housing and browse the portal categories to find dataset IDs directly
Resource URL returns a file download instead of JSON The resource is a CSV or Excel file, not an API endpoint
Check the resource format field; use the datastore_search action instead if the dataset has been loaded into the CKAN datastore
404 on package_show action The dataset name or ID is incorrect or the dataset was removed
Use package_search to find current datasets and retrieve valid IDs before calling package_show

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 11/30
Consistency 17/20
Security 20/20
Browser access 10/15
Transparency 4/15
Endpoint Response Time 314ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Endpoint last called: 2026-08-10

Similar APIs

View All →