Portal BASE Contract Scraper avatar

Portal BASE Contract Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Portal BASE Contract Scraper

Portal BASE Contract Scraper

Scrape Portal BASE contract records. Search and collect record details. Export available fields to Excel, CSV or JSON.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

ScrapingMonkey

ScrapingMonkey

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Extract Portal BASE contract records for tender discovery, buyer research and procurement monitoring. Portal BASE Contract Scraper collects public information into one complete dataset table, ready to export as Excel, CSV or JSON.

Use search filters or individual public record links, set how many results you need and start the Actor. Search finds matching records; Details retrieves the available information for records you already know.

At a glanceDetails
📥 InputSearch filters or individual public record links
📋 Collection modesSearch contract records; Get contract details
📤 OutputOne row per record, or a failed row for an unsuccessful input
📄 PaginationAutomatic, up to maxResults while more records are available
🔐 Website loginNot required
💾 ExportOne dataset view with all fields; Excel, CSV and JSON

What the Portal BASE scraper collects 📋

ModeWhat you receive
Search contract recordsMatching contract records and the fields published in the search results.
Get contract detailsAvailable public information for each supplied record. The full output example below shows its actual fields.

The field table and complete examples below show the information this Actor returns. Optional values depend on what the source publishes for the selected record.

How to scrape Portal BASE 🚀

  1. Choose Search contract records or Get contract details.
  2. Complete the search filters or individual public record links.
  3. Set Maximum results. The minimum is 1.
  4. Start the Actor and review the saved dataset.
  5. Export the results or connect them to your workflow.

Search contract records — input example

{
"mode": "search",
"maxResults": 10
}

Get contract details — input example

{
"mode": "details",
"recordUrls": [
"https://www.base.gov.pt/Base4/pt/detalhe/?type=contratos&id=15706385"
],
"maxResults": 1
}

maxResults limits all saved rows for each search or supplied record, including a failed row. It does not guarantee that the source has that many matching records. A detail lookup normally returns one record, although sources with multiple revisions or establishments can return more.

Portal BASE data fields and complete output 📦

Each result stays in one row. Every returned field appears in the same dataset view, including list fields and additional published facts. Fields unavailable for a particular record remain empty.

FieldIncluded data
result_typeSelected collection mode.
inputSubmitted search settings, record link or record number.
statusSuccess or failed outcome.
error_codeFailure category for an unsuccessful input.
error_messageReadable explanation for an unsuccessful input.
contractedContracted, when published.
contractingContracting, when published.
contracting_procedure_typeContracting procedure type, when published.
publication_datePublication date, when published.
ccpCcp, when published.
object_brief_descriptionObject brief description, when published.
initial_contractual_priceInitial contractual price, when published.
signing_dateSigning date, when published.
idId, when published.
record_idStable identifier for the source record.
urlPublic source link when the website provides one.
additional_fields.nameNames of additional published fields, when present.
additional_fields.valueTheir corresponding values in the same order.
contract_fundamentation_typeContract fundamentation type, when published.
contracting_procedure_urlContracting procedure url, when published.
documents.descriptionDocuments / description, when published.
documents.idDocuments / id, when published.
direct_award_fundamentation_typeDirect award fundamentation type, when published.
announcement_idAnnouncement id, when published.
total_effective_priceTotal effective price, when published.
contestants.nifContestants / nif, when published.
contestants.descriptionContestants / description, when published.
contestants.idContestants / id, when published.
inviteesInvitees, when published.
observationsObservations, when published.
ambient_criteriaAmbient criteria, when published.
end_of_contract_typeEnd of contract type, when published.
causes_deadline_changeCauses deadline change, when published.
causes_price_changeCauses price change, when published.
incrementsIncrements, when published.
framework_agreement_procedure_idFramework agreement procedure id, when published.
framework_agreement_procedure_descriptionFramework agreement procedure description, when published.
close_dateClose date, when published.
contracted.nifContracted / nif, when published.
contracted.descriptionContracted / description, when published.
contracted.idContracted / id, when published.
cocontratantesCocontratantes, when published.
aquisition_state_member_ueAquisition state member ue, when published.
info_aquisition_state_member_ueInfo aquisition state member ue, when published.
normalNormal, when published.
special_measuresSpecial measures, when published.
contracting.nifContracting / nif, when published.
contracting.descriptionContracting / description, when published.
contracting.idContracting / id, when published.
execution_placeExecution place, when published.
material_criteriaMaterial criteria, when published.
execution_deadlineExecution deadline, when published.
centralized_procedureCentralized procedure, when published.
contract_typesContract types, when published.
cpvsCpvs, when published.
non_written_contract_justification_typesNon written contract justification types, when published.
contract_type_csContract type cs, when published.
incomeIncome, when published.
contract_statusContract status, when published.
group_membersGroup members, when published.
regimeRegime, when published.
cpvs_typeCpvs type, when published.
cpvs_designationCpvs designation, when published.
cpvs_valueCpvs value, when published.
descriptionDescription, when published.

The complete result below is included for every mode. Text and lists are not shortened. These are examples from validation runs; the source can change.

Search contract records — complete JSON result

{
"result_type": "search",
"input": "{\"keywords\": null}",
"contracted": "Viagens Abreu, S.A.",
"contracting": "Universidade de Coimbra",
"contracting_procedure_type": "Ao abrigo de acordo-quadro (art.º 259.º)",
"publication_date": "29-09-2026",
"ccp": false,
"object_brief_description": "26Y00544 - Aquisição de viagem aérea Porto/Salzburgo/Porto para trabalhador(a) UC, de 04 a 08/10/2026, para participação e apresentação de uma comunicação no \"96th Séminaire Lotharingien de Combinatoi...",
"initial_contractual_price": "540,01 €",
"signing_date": "16-09-2026",
"id": 15708466,
"status": "success",
"record_id": "15708466",
"url": "https://www.base.gov.pt/Base4/pt/detalhe/?type=contratos&id=15708466",
"additional_fields.name": [],
"additional_fields.value": []
}

Get contract details — complete JSON result

{
"result_type": "details",
"input": "https://www.base.gov.pt/Base4/pt/detalhe/?type=contratos&id=15706385",
"contract_fundamentation_type": "Artigo 20.º, n.º 1, alínea a) do Código dos Contratos Públicos",
"contracting_procedure_url": "https://www.acingov.pt/acingovprod/2/zonaPublica/zona_publica_c/donwloadProcedurePiece/MTA5MDg1NQ",
"documents.description": [
"Contrato 286_2026 Lote 7.pdf"
],
"documents.id": [
2631307
],
"direct_award_fundamentation_type": "Não aplicável",
"announcement_id": 444746,
"total_effective_price": null,
"contestants.nif": [
"507367260",
"-",
"501547282",
"501299254",
"500572739",
"502139498",
"507514424",
"500292540",
"500548625",
"517378264",
"505424398",
"500573115",
"506325393",
"503176605"
],
"contestants.description": [
"VTC - Viagens e Turismo Castrense, Lda.",
"António Lopes do Vale",
"Associação de Solidariedade Social, Cultural e Recreativa Coutoense",
"Associação de Solidariedade Social de Farminhão - ASSF",
"MARTINS & MARTINS, LDA",
"Centro Soc. da Paroquia de Torredeita",
"Sousitaxi Unipessoal, Lda",
"UNIÃO DE SÁTÃO&AGUIAR DA BEIRA, LDA",
"Taxisilva, Lda",
"Mobinst, Unipessoal Lda",
"Autotaxi Mário & Rebelo",
"António de Almeida Marques & Filhos, Lda",
"Táxis Grão Vasco, Lda.",
"Ass.Solid. Social as Costureirinhas de Cavernães"
],
"contestants.id": [
242578,
26526,
3940669,
259254,
154862,
632602,
974941,
688,
1084468,
5046729,
4055964,
2166,
4035431,
101111
],
"invitees": [],
"observations": null,
"publication_date": "29-09-2026",
"ccp": false,
"ambient_criteria": false,
"end_of_contract_type": null,
"causes_deadline_change": null,
"causes_price_change": null,
"increments": false,
"framework_agreement_procedure_id": "Não aplicável.",
"framework_agreement_procedure_description": "Não aplicável.",
"close_date": null,
"contracted.nif": [
"502139498"
],
"contracted.description": [
"Centro Soc. da Paroquia de Torredeita"
],
"contracted.id": [
632602
],
"cocontratantes": false,
"aquisition_state_member_ue": false,
"info_aquisition_state_member_ue": null,
"normal": true,
"special_measures": null,
"contracting.nif": [
"506697320"
],
"contracting.description": [
"Município de Viseu"
],
"contracting.id": [
1241
],
"execution_place": "Portugal, Viseu, Viseu",
"material_criteria": false,
"execution_deadline": "320 dias",
"centralized_procedure": false,
"contract_types": "Aquisição de serviços",
"cpvs": "60130000-8",
"contracting_procedure_type": "Concurso público",
"object_brief_description": "PAQ 131/2026 - Prestação de Serviços de Transportes de Alunos em Circuitos Especiais, e de Alunos de Educação Inclusiva e com dificuldades de locomoção, para o ano letivo 2026-2027 - EDOC/2026/34316",
"non_written_contract_justification_types": "",
"contract_type_cs": false,
"income": false,
"contract_status": null,
"initial_contractual_price": "25.080,00 €",
"group_members": null,
"signing_date": "10-09-2026",
"regime": "Código dos Contratos Públicos (DL111-B/2017) e Lei n.º 30/2021, de 21.05",
"cpvs_type": "Principal",
"cpvs_designation": "Serviços de transporte rodoviário de passageiros com finalidade específica",
"cpvs_value": "25080.0 € ",
"description": "PAQ 131/2026 - Prestação de Serviços de Transportes de Alunos em Circuitos Especiais, e de Alunos de Educação Inclusiva e com dificuldades de locomoção, para o ano letivo 2026-2027 - EDOC/2026/34316",
"id": 15706385,
"status": "success",
"record_id": "15706385",
"url": "https://www.base.gov.pt/Base4/pt/detalhe/?type=contratos&id=15706385",
"additional_fields.name": [],
"additional_fields.value": []
}

Input settings ⚙️

SettingWhat to enter
What to collect (mode)Choose the information you need.
Maximum results per search or link (maxResults)Collect up to this many saved results for each search or record link. Minimum: 1.
Keywords (keywords)Words to search for in public contract records. Leave empty to browse all available results.
Contract links (recordUrls)Paste one individual public record link per line. Use this field in Details mode.

Portal BASE scraping use cases 🎯

Build a tender or contract shortlist

Search the supported procurement collection and export matching records. Keep deadlines, buyer names and original references together when reviewing opportunities.

Research public buyers

Compare available buyer, supplier and contract information across records. Preserve the published currency and value type when working with amounts.

Monitor published procurement records

Schedule repeated exports and compare stable record IDs to identify newly published notices and changes. A search result is not confirmation that bidding remains open.

Pricing and saved-result behavior 💰

See the Actor’s Pricing tab for the current rate. Under dataset-item pricing:

  • Each saved record is one result. Lists and additional details attached to it do not create extra rows.
  • A saved failed row is also one billable dataset item. This includes invalid inputs, unavailable records, empty searches and exhausted retries.
  • At most one failed row is saved per input. Retry attempts do not create additional dataset rows.
  • maxResults caps all saved rows for the input. Duplicate copies of the same input are processed once.

Portal BASE scraper API and integrations 🔌

Replace $ACTOR_ID with the ID shown in the Actor’s API tab and $APIFY_TOKEN with your Apify token.

curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode":"search","maxResults":10}'

Use Apify schedules for recurring collection, webhooks for completion notifications, and integrations for Google Sheets, Make, Zapier, cloud storage or your own application.

Reliability and public-data limits ⚠️

Temporary request failures are retried up to five total attempts. Invalid record inputs save a failed row without a website request. Confirmed missing records are not retried unnecessarily. If a later request fails, records already saved remain in the dataset. Normal pagination completion does not add a failed row. Collection stops after two consecutive pages return no new records. Configuration, data-saving or request-scheduling failures stop the run.

Portal BASE controls the available records and fields. Search records can contain less information than a full public card. The Actor preserves published values and does not fill missing facts with estimates.

Frequently asked questions ❓

Do I need a Portal BASE account?

No. This Actor collects the supported public information without your website login.

Which search filters can I use?

The input form supports keywords. Only the displayed filters are supported.

How many records can I collect?

Set maxResults to the maximum saved rows you want for each input. The minimum is 1. Collection can finish earlier when the source runs out of results or stops returning new records.

Why are some fields empty?

The source may not publish a value for that record or mode. Optional information remains empty.

Can I export all the fields?

Yes. All returned fields are included in one dataset view. Nested lists remain attached to their parent record.

Support 🛟

For a reproducible issue, share the run ID, selected mode and a safe public example through the Actor’s support channel. Keep tokens, passwords and proxy credentials private.