This is the most comprehensive database with the Zip Codes from Portugal. It's created for developers and all data can be retrieved via REST and GraphQL APIs. Ready to use code over Swift, NodeJS, Javascript, Python, etc is available and fully integrated with the dataset.
This is a ready-to-use database containing all the cities in Portugal. All data can be fetched through REST and GraphQL APIs, or just by cloning the database to your app. Data source: GeoNames.