Public Tenders & Government Contracts Scraper — Spain EU LATAM avatar

Public Tenders & Government Contracts Scraper — Spain EU LATAM

Pricing

Pay per usage

Go to Apify Store
Public Tenders & Government Contracts Scraper — Spain EU LATAM

Public Tenders & Government Contracts Scraper — Spain EU LATAM

Scrape public tenders, government contracts and procurement opportunities from Spain (PLACE), EU (TED) and Colombia (SECOP II) in real time. MCP-native tool for AI agents. Filter by keywords, budget, CPV/UNSPSC and jurisdiction. Ideal for B2G sales teams, procurement, and legal AI agents.

Pricing

Pay per usage

Rating

5.0

(2)

Developer

Sergio Calvo

Sergio Calvo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Public Tenders & Government Contracts Scraper — Spain, EU & LATAM

Extract real-time public procurement data from government tender portals across Spain, the European Union and Latin America. MCP-native tool compatible with Claude, GPT, Cursor and any AI agent using Model Context Protocol.


What does this Actor do?

This Apify Actor extracts public tenders, government contracts, and procurement opportunities directly from official portals in Spain, the European Union, and Latin America. By indexing feeds and querying APIs in real time, it allows businesses, research teams, and automated agents to track and respond to new business-to-government (B2G) opportunities.

For Spain, the Actor polls the public ATOM feed of the Plataforma de Contratación del Sector Público (PLACE). This enables direct extraction of Spanish government contract folders, tender specifications, budgets, and deadlines. It bypasses the complex, certificate-based authentication requirements of PLACE by utilizing the open, public syndication channels.

For the European Union, the Actor queries the official Tenders Electronic Daily (TED) API v3, which publishes notices of high-value public procurement across the European Economic Area. This provides access to European-wide bids, cross-border tenders, and municipal contract notices in a normalized format.

For Latin America, the Actor queries the official Colombia SECOP II API (Socrata Open Data) in real time. This allows querying Colombian public tenders, municipal contracts, and school/institution bids. It uses UNSPSC codes for categorization, which are normalized alongside CPV codes.

Finally, this Actor is designed MCP-native. It means it exposes its interface via Model Context Protocol, allowing AI assistants like Claude, GPT, or Cursor to execute searches, filter by budget, query specific CPV codes, and analyze contract terms on behalf of users without needing separate integrations or custom API integrations.


Use cases

  • B2G Sales Teams: Monitor open tenders matching your products or services and receive alerts on new bids.
  • Procurement Intelligence: Aggregate public procurement data to analyze market trends, competitor awards, and agency spending.
  • Legal & Compliance AI Agents: Automate the discovery of regulatory contracts, public terms, and municipal contract notices.
  • Startups & SMEs: Automate bid tracking with keyword and budget filters to discover accessible public projects.

Input parameters

The Actor accepts the following input parameters:

Field NameTypeDefaultDescription
keywordsstring(optional)Keywords to search tenders and contracts (e.g. 'software management', 'IT consulting'). Searches both titles and summaries.
cpv_codestring(optional)Filter by CPV (Common Procurement Vocabulary) code or UNSPSC (Colombia) code (e.g., 72000000 or prefix 72).
countrystring (enum)"ALL"Jurisdiction to query: ES (Spain PLACE), EU (European Union TED), CO (Colombia SECOP II), or ALL (all combined).
min_budget_eurinteger0Minimum estimated contract value in EUR to filter results.
max_resultsinteger20Maximum number of tenders to return (1-50, maximum 50).

Output fields

Every returned tender record is normalized to a clean JSON structure optimized for LLM consumption. It contains exactly these 12 fields:

Field NameTypeDescription
tender_idstringUnique identifier from the source portal.
titlestringOfficial title of the tender.
contracting_authoritystringName of the government body or public authority issuing the tender.
countrystringISO 3166-1 alpha-2 country code (e.g., ES, FR, DE).
budget_eurnumberEstimated contract value in EUR. Normalized from other currencies. null if not specified.
cpv_codestringCommon Procurement Vocabulary classification code (e.g. 72000000).
cpv_descriptionstringHuman-readable category description matching the CPV code.
deadlinestringISO 8601 date-time string indicating the submission deadline.
publishedstringISO 8601 date-time string indicating when the tender was published.
statusstringCurrent state of the tender: open, closed, awarded, or cancelled.
tender_urlstringDirect link to the official tender document or portal detail page.
sourcestringThe source portal: PLACE, TED, or SECOP.

CPV Code Reference — Most Searched Categories

Use these common Common Procurement Vocabulary (CPV) codes as filters for high-demand B2G categories:

CPV CodeCategory Description
72000000IT services: consulting, software development, internet and support
72200000Software programming and consultancy
72300000Data services (archiving, processing, database management)
72500000Computer-related services (hardware maintenance, networking)
48000000Software packages and information systems
45000000Construction work
79000000Business services: law, marketing, consulting, recruitment
85000000Health and social work services
80000000Education and training services
60000000Transport services (excluding waste transportation)

Data sources

  • Spain: Plataforma de Contratación del Sector Público (PLACE) — Polled via open Atom feeds without authentication or certificate requirements.
  • European Union: Tenders Electronic Daily (TED) — Queried via the official REST API v3 notices search endpoint.
  • Latin America (Colombia): SECOP II — Queried via Socrata Open Data API without authentication.
  • Latin America (Mexico): Fase 3 (CompraNet Mexico) — Coming soon.

MCP Integration

This Actor can be connected directly to your local AI agents (Claude Desktop, Cursor, or GPTs) using the Apify Model Context Protocol bridge.

Add the following to your claude_desktop_config.json or Cursor MCP settings:

{
"mcpServers": {
"apify-public-tenders": {
"command": "npx",
"args": [
"-y",
"@apify/cli",
"mcp",
"run",
"scalvo/public-tenders-government-contracts-scraper",
"--token",
"YOUR_APIFY_API_TOKEN"
]
}
}
}

Example AI Agent Tool Call

{
"name": "search_tenders",
"arguments": {
"keywords": "gestión documental",
"country": "ES",
"min_budget_eur": 30000,
"max_results": 5
}
}

Output Example

Here is an example of the output structure containing three realistic tenders (one from Spain's PLACE, one from the EU's TED, and one from Colombia's SECOP II):

[
{
"tender_id": "Sum.10/2026 Montijo",
"title": "Suministro, en régimen de alquiler, instalación y desmontaje de ornamentación Navideña de Montijo y Lacara",
"contracting_authority": "Alcaldía del Ayuntamiento de Montijo",
"country": "ES",
"budget_eur": 132495.0,
"cpv_code": "34991000",
"cpv_description": "Other public contract category",
"deadline": "2026-06-23T23:59:00.000Z",
"published": "2026-06-08T18:26:35.972Z",
"status": "open",
"tender_url": "https://contrataciondelestado.es/wps/poc?uri=deeplink:detalle_licitacion&idEvl=kUZQw3xwExp%2BF6L2uCfUWg%3D%3D",
"source": "PLACE"
},
{
"tender_id": "14-2026",
"title": "Españaa – Servicios de vigilancia y seguridad privada de polígono industrial, edificios y recintos del Consorcio",
"contracting_authority": "Consorcio de la Zona Franca de Barcelona",
"country": "ES",
"budget_eur": 2150000.00,
"cpv_code": "79710000",
"cpv_description": "Business services: law, marketing, consulting",
"deadline": "2026-07-15T12:00:00.000Z",
"published": "2026-06-02T11:00:00.000Z",
"status": "open",
"tender_url": "https://ted.europa.eu/en/notice/-/detail/14-2026",
"source": "TED"
},
{
"tender_id": "CO1.REQ.2907228",
"title": "acuerdo marco de precios tecnologia",
"contracting_authority": "COLOMBIA COMPRA EFICIENTE",
"country": "CO",
"budget_eur": 125000.0,
"cpv_code": "72101516",
"cpv_description": "IT services / Software / Data",
"deadline": "2026-04-04T00:00:00.000Z",
"published": "2026-01-18T00:00:00.000Z",
"status": "open",
"tender_url": "https://community.secop.gov.co/Public/Tendering/OpportunityDetail/Index?noticeUID=CO1.NTC.2597221",
"source": "SECOP"
}
]

Pricing

Running this Actor consumes Apify compute units. On the Apify platform, it runs efficiently on the free tier:

  • Standard execution takes less than 6 seconds to scan both PLACE feeds and TED APIs.
  • Average cost: ~$0.003 per run (~0.01 Compute Units), making it ideal for high-frequency Cron executions or AI agent integrations.