# dados.gov.pt Site API

**Canonical:** https://apis.io/apis/open-government-portugal/open-government-portugal-site-api/  
**Provider:** dados.gov.pt — https://apis.io/providers/open-government-portugal/  
**Base URL:** https://dados.gov.pt/api/1  
**Documentation:** https://dados.gov.pt/pt/recursos/desenvolvimento/referencia-api

dados.gov.pt Site API is one of 23 APIs that [dados.gov.pt](https://apis.io/providers/open-government-portugal/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Site. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 2 JSON Schemas.

Site global namespace

## Operations (27)

| Method | Path | Summary |
|---|---|---|
| GET | `/activity/` | Fetch site activity, optionally filtered by user or org |
| GET | `/site/` | Site-wide variables |
| PATCH | `/site/` | Set site |
| GET | `/site/catalog` | Root RDF endpoint with content negociation handling |
| GET | `/site/catalog.{_format}` | Return the RDF catalog in the requested format |
| GET | `/site/check_url/` | Check if a URL is publicly reachable (HEAD request, 5 s timeout) |
| POST | `/site/contact/` | Send a support email composed from the public support form |
| GET | `/site/context.jsonld` | Get site json ld context |
| GET | `/site/data.{_format}` | Root RDF endpoint with content negociation handling |
| GET | `/site/dataservices.csv` | Get site dataservices csv |
| GET | `/site/datasets-listing/` | Aggregated payload for the datasets listing page |
| GET | `/site/datasets.csv` | Get site datasets csv |
| GET | `/site/harvests.csv` | Get site harvests csv |
| GET | `/site/home/` | Aggregated homepage data with lightweight serialization |
| GET | `/site/home/datasets/` | Return the editorially selected featured datasets for the homepage |
| PUT | `/site/home/datasets/` | Replace the list of featured homepage datasets with the given IDs |
| GET | `/site/home/reuses/` | Return the editorially selected featured reuses for the homepage |
| PUT | `/site/home/reuses/` | Replace the list of featured homepage reuses with the given IDs |
| GET | `/site/logs/` | List log files available on the host (admin only) |
| GET | `/site/logs/{filename}/` | Return the (tailed) content of a log file (admin only) |
| GET | `/site/migrations/` | Classify every database migration record (admin only) |
| GET | `/site/organizations-listing/` | Aggregated payload for the organizations listing page |
| GET | `/site/organizations.csv` | Get site organizations csv |
| GET | `/site/resources.csv` | Get site resources csv |
| GET | `/site/reuses-listing/` | Aggregated payload for the reuses listing page |
| GET | `/site/reuses.csv` | Get site reuses csv |
| GET | `/site/tags.csv` | Get site tags csv |

## Machine-readable artifacts (5)

- **OpenAPI** — https://artifacts.apis.io/open-government-portugal/openapi/open-government-portugal-site-api-openapi.yml
- **Documentation** — https://dados.gov.pt/pt/recursos/desenvolvimento/referencia-api
- **APIReference** — https://dados.gov.pt/api/1/
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-activity-page-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-support-contact-schema.json

## Other dados.gov.pt APIs (12)

- [dados.gov.pt Access Type API](https://apis.io/apis/open-government-portugal/open-government-portugal-access-type-api/)
- [dados.gov.pt Captchetat API](https://apis.io/apis/open-government-portugal/open-government-portugal-captchetat-api/)
- [dados.gov.pt Contacts API](https://apis.io/apis/open-government-portugal/open-government-portugal-contacts-api/)
- [dados.gov.pt Dataservices API](https://apis.io/apis/open-government-portugal/open-government-portugal-dataservices-api/)
- [dados.gov.pt Datasets API](https://apis.io/apis/open-government-portugal/open-government-portugal-datasets-api/)
- [dados.gov.pt Discussions API](https://apis.io/apis/open-government-portugal/open-government-portugal-discussions-api/)
- [dados.gov.pt Harvest API](https://apis.io/apis/open-government-portugal/open-government-portugal-harvest-api/)
- [dados.gov.pt Me API](https://apis.io/apis/open-government-portugal/open-government-portugal-me-api/)
- [dados.gov.pt Notifications API](https://apis.io/apis/open-government-portugal/open-government-portugal-notifications-api/)
- [dados.gov.pt Organizations API](https://apis.io/apis/open-government-portugal/open-government-portugal-organizations-api/)
- [dados.gov.pt Pages API](https://apis.io/apis/open-government-portugal/open-government-portugal-pages-api/)
- [dados.gov.pt Posts API](https://apis.io/apis/open-government-portugal/open-government-portugal-posts-api/)

## Tags

Site

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/open-government-portugal/open-government-portugal-site-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/open-government-portugal/.
