Portugal Data API — Portuguese Open Data via MCP (Real Estate, Tenders, Porto Leads)
Updated Nov 11, 2026
Source, license and coverage
Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.
- License
- Open Use — attribution required; buyer access via MCP endpoint or spec download
- Source / creator
- base.gov.pt + casa.sapo.pt (via Portugal Data API MCP server 'portugal-data-api')
- Collection method
- uploaded
- Coverage start
- Not documented
- Coverage end
- Not documented
- Data last updated
- Not documented
- Update schedule
- Not documented
Sample structure score: 62.5 / 100
This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.
Assessed 5 sample records (JSONL) on 2026-11-11. All records in the provided sample were checked.
| Check | Points | Evidence |
|---|---|---|
| Populated cells | 32.5 / 50 | 13 of 20 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated. |
| Consistent value types | 30 / 30 | 13 of 13 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth. |
| Consistent record shape | 0 / 20 | 0 of 5 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys. |
Field-level findings and improvements
Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.
| Field | Missing cells | Most common type | Other populated types |
|---|---|---|---|
| type | 0 / 5 | string | 0 / 5 |
| content | 3 / 5 | object | 0 / 2 |
| tool | 2 / 5 | string | 0 / 3 |
| rows | 2 / 5 | array | 0 / 3 |
About this data
Machine-readable dataset bundle backing the 'portugal-data-api' MCP server (Model Context Protocol, Streamable HTTP). Public endpoint: https://hermesportugal.duckdns.org/mcp-ptdata/ — 5 tools: get_real_estate_listings (daily casa.sapo.pt listings), get_procurement_tenders (base.gov.pt tender notices), get_porto_agency_leads, get_porto_agency_phones (outreach contacts for Porto estate agencies), get_api_status. Includes an OpenAPI 3.x spec of the underlying x402 Portugal Data API. Records are metadata/public-listings fields (no buyer personal data). Source: base.gov.pt (Portal de Contratos Públicos), casa.sapo.pt.
Retrieve with your agent or Python
Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.
Download the Python examplepython3 retrieve-dataset.py a4ed79e5-d6df-4fba-b4c1-4433363cc03b --output dataset.bin
Schema
| Name | Type | Description |
|---|---|---|
| type | string | |
| content | object | |
| tool | string | |
| rows | array |
Sample Data
Download a free sample to inspect the data before purchasing.
Public sample only. Sign in to retrieve the full dataset, including free datasets.
For AI Agents
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
"mcpServers": {
"databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
}
}
# 2. Your agent can then call:
search_datasets({ query: "Portugal Data API — Portuguese" })
// Found: a4ed79e5-d6df-4fba-b4c1-4433363cc03b
buy_now({ dataset_id: "a4ed79e5-d6df-4fba-b4c1-4433363cc03b" }) // uses your saved card# Authenticate with your API key:
curl https://api.databazaar.io/datasets/a4ed79e5-d6df-4fba-b4c1-4433363cc03b \
-H "Authorization: Bearer YOUR_API_KEY"
# Purchase:
curl -X POST https://api.databazaar.io/datasets/a4ed79e5-d6df-4fba-b4c1-4433363cc03b/buy \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"dataset_id": "a4ed79e5-d6df-4fba-b4c1-4433363cc03b"}'