Open Government, Spain

Spain's open-data catalogue as a linked-data API

🏛 GovernmentUNMONITORED
AUTH NONECORS ✓AGENT ?HTTPS ✓COMMERCIAL ?

datos.gob.es, Spain's national open-data initiative, exposes its catalog through a linked-data-api (apidata) that returns JSON. Page through datasets and read DCAT metadata with URI-typed fields. No key required.

—HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://datos.gob.es/apidata/catalog/dataset?_pageSize=1&_page=0

{
  "format": "linked-data-api",
  "version": "0.2",
  "result": {
    "items": [
      {
        "_about": "https://datos.gob.es/catalogo/e05068001-mapas-estrategicos-de-ruido",
        "accrualPeriodicity": "http://publications.europa.eu/resource/authority/frequency/OP_DATPRO"
      }
    ]
  }
}
Call itcurl · fetch · python
curl "https://datos.gob.es/apidata/catalog/dataset?_pageSize=1&_page=0"
const res = await fetch("https://datos.gob.es/apidata/catalog/dataset?_pageSize=1&_page=0");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://datos.gob.es/apidata/catalog/dataset?_pageSize=1&_page=0")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — GET /catalog/dataset?_pageSize=1&_page=0 awaits first probe
GET/catalog/dataset?_pageSize=1&_page=0PROBED

Spain's open-data catalogue as a linked-data API

GET/catalog

Catalog — documented GET route.

GET/catalog/1

Catalog details by ID (example: 1).

GET/catalog?limit=10

Catalog — documented GET route.

GET/catalog/search?q=test

Search by query parameters.

GET/catalog/dataset?limit=5

Dataset — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Open Government, Spain: common questions

Is Open Government, Spain free to use?

Yes — Open Government, Spain is a free government API. Free tier: Free — no key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Open Government, Spain need an API key?

No — Open Government, Spain needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Open Government, Spain from the browser?

Yes — Open Government, Spain returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Open Government, Spain up right now?

Open Government, Spain is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.