dados.gov.pt Datasets API

Dataset related operations

GitHub OpenAPI

Operations 50

GET /datasets/ List or search all datasets #
POST /datasets/ Create a new dataset #
GET /datasets/badges/ List all available dataset badges and their labels #
GET /datasets/community_resources/ List all community resources #
POST /datasets/community_resources/ Create a new community resource #
DELETE /datasets/community_resources/{community}/ Delete a given community resource #
GET /datasets/community_resources/{community}/ Retrieve a community resource given its identifier #
PUT /datasets/community_resources/{community}/ Update a given community resource #
POST /datasets/community_resources/{community}/upload/ Update the file related to a given community resource #
GET /datasets/extensions/ List all allowed resources extensions #
GET /datasets/frequencies/ List all available frequencies #
GET /datasets/licenses/ List all available licenses #
GET /datasets/proxy/download/ Fetch an external resource server-side and stream it back with #
GET /datasets/r/{id} Stream the latest version of a resource as a forced download #
GET /datasets/recent.atom Recent datasets atom feed #
GET /datasets/resource_types/ List all resource types #
GET /datasets/schemas/ List all available schemas #
GET /datasets/suggest/ Datasets suggest endpoint using mongoDB contains #
GET /datasets/suggest/formats/ Suggest file formats #
GET /datasets/suggest/mime/ Suggest mime types #
DELETE /datasets/{dataset}/ Delete a dataset given its identifier #
GET /datasets/{dataset}/ Get a dataset given its identifier #
PUT /datasets/{dataset}/ Update a dataset given its identifier #
POST /datasets/{dataset}/badges/ Create a new badge for a given dataset #
DELETE /datasets/{dataset}/badges/{badge_kind}/ Delete a badge for a given dataset #
DELETE /datasets/{dataset}/featured/ Unmark the dataset as featured #
POST /datasets/{dataset}/featured/ Mark the dataset as featured #
GET /datasets/{dataset}/rdf Rdf dataset #
GET /datasets/{dataset}/rdf.{_format} Rdf dataset format #
POST /datasets/{dataset}/resources/ Create a new resource for a given dataset #
PUT /datasets/{dataset}/resources/ Reorder resources #
GET /datasets/{dataset}/resources/ Get the given dataset resources, paginated #
DELETE /datasets/{dataset}/resources/{rid}/ Delete a given resource on a given dataset #
GET /datasets/{dataset}/resources/{rid}/ Get a resource given its identifier #
PUT /datasets/{dataset}/resources/{rid}/ Update a given resource on a given dataset #
POST /datasets/{dataset}/resources/{rid}/upload/ Upload a file related to a given resource on a given dataset #
POST /datasets/{dataset}/upload/ Upload a file for a new dataset resource #
POST /datasets/{dataset}/upload/community/ Upload a new community resource #
DELETE /datasets/{id}/followers/ Unfollow an object given its ID #
GET /datasets/{id}/followers/ List all followers for a given object #
POST /datasets/{id}/followers/ Follow an object given its ID #
GET /datasets/resources/{rid}/ Get resource #
GET /datasets/search/ List or search all datasets #
DELETE /datasets/{dataset}/extras/ Delete a given dataset extras key on a given dataset #
GET /datasets/{dataset}/extras/ Get a dataset extras given its identifier #
PUT /datasets/{dataset}/extras/ Update a given dataset extras #
DELETE /datasets/{dataset}/resources/{rid}/extras/ Delete a given resource extras key on a given dataset #
GET /datasets/{dataset}/resources/{rid}/extras/ Get a resource extras given its identifier #
PUT /datasets/{dataset}/resources/{rid}/extras/ Update a given resource extras on a given dataset #
GET /datasets/{dataset}/schemas/ Get a dataset schemas given its identifier #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/open-government-portugal:open-government-portugal-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

open-government-portugal-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Open Government Portugal Datasets API
  version: '1.0'
  description: 'Operations tagged datasets across 2 of this provider''s published API definitions: dados-gov-pt-api-v1-swagger.json, dados-gov-pt-api-v2-swagger.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/1
- url: /api/2
tags:


# --- truncated at 32 KB (90 KB total) ---
# Full source: https://artifacts.apis.io/open-government-portugal/openapi/open-government-portugal-datasets-api-openapi.yml