Licitaciones España (PLACSP) - Spain Public Tenders API avatar

Licitaciones España (PLACSP) - Spain Public Tenders API

Pricing

Pay per event

Go to Apify Store
Licitaciones España (PLACSP) - Spain Public Tenders API

Licitaciones España (PLACSP) - Spain Public Tenders API

Spanish public tenders (licitaciones) from the official PLACSP feed, filtered by CPV, province, budget and deadline, with a new-only alert mode. For Spain + EU + UK in one format use public-tenders-spain-eu-uk.

Pricing

Pay per event

Rating

0.0

(0)

Developer

FlEtsv

FlEtsv

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Spanish public tenders (licitaciones) from the official PLACSP feed, as JSON, CSV or Excel. For companies that sell to the Spanish public sector and for consultants who track tenders. Filter by CPV code, province or region, budget and deadline, and receive only the tenders you have not seen yet. Versión en español más abajo.

Try it: press Start with {} (the 20 most recent open tenders, about 0.04 USD at 0.002 each), or use {"cpv":["72"],"provincias":["Madrid"],"importeMin":50000,"soloNuevas":true,"maxResultados":50} for IT tenders over 50,000 EUR in Madrid.

Price: 0.002 USD per tender saved (2.00 USD per 1,000). No monthly fee. Independent service that reads the public PLACSP syndication feed; not affiliated with or endorsed by the Spanish government. Need Spain, the EU and the UK in one format? See Public Tenders Spain, EU & UK.


Use cases

  • Find Spanish public tenders (PLACSP) by CPV code, region and amount before competitors do
  • Lead generation for companies selling to the public sector
  • Daily tender alerts and market analysis of public procurement
  • Feed tender data into a CRM or an AI assistant

English

What does Spain Public Tenders Scraper do?

It reads the official ATOM feed of the Plataforma de Contratacion del Sector Publico (PLACSP), the Spanish government's public procurement platform, and returns one record per tender. No browser, no proxies, no API key: the data comes straight from the official syndication feed.

Use cases:

  • B2B lead generation: find which public bodies are about to buy what you sell (construction, IT, cleaning, consulting, medical supplies).
  • Bid management: a daily list of new tenders matching your CPV codes and region, with the deadline for submitting offers.
  • Market intelligence: analyse budgets and buyers by CPV code, province or autonomous community.
  • Alerts: schedule the Actor daily with soloNuevas to push only new tenders to Slack, email or your CRM.
  • AI agents: feed tenders to an LLM through the Apify MCP server.

Input

All fields are optional. An empty input {} returns the 20 most recent open tenders in under a minute.

When urlFeed or maxResultados is omitted, the Actor itself uses the official feed and a limit of 20; this does not depend on Console prefilling. Explicit values keep their meaning. An explicitly empty or null feed URL is rejected before downloading. The input must be an object: send {} rather than JSON null.

FieldDescription
cpvList of CPV code prefixes (e.g. 72 for IT services, 45 for construction).
provincias / comunidadesFilter by province or autonomous community.
importeMin / importeMaxBudget range in EUR, excluding VAT.
estadosTender status (PUB published, EV evaluation, ADJ awarded, RES resolved, ANUL cancelled).
plazoDesde / plazoHastaSubmission deadline window.
soloAbiertasKeeps only tenders in status PUB or EV, dropping awarded, resolved and cancelled ones (default true). It does not compare the submission deadline with today's date: use plazoDesde for that.
soloNuevasEmit only tenders not seen in previous runs (default false).
maxResultados, maxPaginasLimits (defaults 20 and 1).
diasRetencionDays the Actor remembers seen tenders for soloNuevas (default 90).
pausaMsPause between page requests to PLACSP, in milliseconds (default 500).
urlFeedAdvanced: PLACSP feed URL. The default is the national platform; leave it as is.
resumenIA, perfilEmpresaOptional AI summary and company-fit score (extra charge, experimental).

Filters are cumulative: a tender is kept only if it meets every filter you set. If you set a budget filter, tenders with no declared budget are dropped; if you set a province, tenders with no province are dropped. Filters apply to the newest feed page(s), so raise maxPaginas for older tenders. The Console form comes prefilled with a narrow sample (CPV 45, Madrid, 50,000 to 5,000,000 EUR, 2026 deadlines, 5 tenders); clear those fields to run with {}.

Example input:

{
"cpv": ["72"],
"provincias": ["Madrid"],
"importeMin": 50000,
"soloNuevas": true,
"maxResultados": 50
}

Output

Real items from a run with {}:

{
"id": "4051",
"titulo": "Zonas de aparcamiento en C Pedro el Junco y Escuela de Música",
"organoContratacion": "Alcaldía del Ayuntamiento de Astorga",
"cpv": ["45233250", "45233330"],
"importeSinIva": 140811.93,
"estado": "PUB",
"plazoPresentacion": "2026-11-19T23:59:00",
"provincia": "León",
"nuts": "ES413",
"url": "https://contrataciondelestado.es/wps/poc?uri=deeplink:detalle_licitacion&idEvl=5oXLJe4NMn%2FCfVQHDepjGQ%3D%3D",
"fechaActualizacion": "2026-10-30T19:23:30.227+01:00",
"fuente": "Plataforma de Contratacion del Sector Publico (contrataciondelestado.es)",
"urlOficial": "https://contrataciondelestado.es/wps/poc?uri=deeplink:detalle_licitacion&idEvl=5oXLJe4NMn%2FCfVQHDepjGQ%3D%3D"
}

Field names are in Spanish because the source is Spanish: titulo (title), organoContratacion (contracting authority), importeSinIva (budget excl. VAT), plazoPresentacion (offer deadline).

Pricing (pay per event)

You pay only for what is delivered. No monthly fee.

EventPricePer 1,000
Tender published (resultado)$0.002$2.00
AI summary and fit score (resumen-ia, optional)$0.005$5.00

Set a maximum spend per run and the Actor stops when it is reached, keeping what it already saved.

Integrations (Make, Zapier, Google Sheets)

  • Make: add the Apify module "Run an Actor" (Actor Flets_sv/licitaciones-placsp), paste the input JSON, chain "Get Dataset Items" and map the fields to Google Sheets, Slack, Airtable or your CRM.
  • Zapier: the Apify app offers "Run Actor" and "Fetch Dataset Items". Add a Schedule trigger and send each row to Gmail, Slack or Notion.
  • Google Sheets: enable the official Google Sheets integration in the Actor's Integrations tab to append every run to a sheet, or call https://api.apify.com/v2/acts/Flets_sv~licitaciones-placsp/run-sync-get-dataset-items?format=csv with POST and your input from Apps Script (UrlFetchApp).
  • API and webhooks: start the Actor from the REST API, use Schedules for recurring runs and add a webhook to notify your system when a run finishes.

Input to paste into Make or Zapier (the simple one; add filters one at a time, because they are cumulative):

{"cpv":["72"],"provincias":["Madrid"],"importeMin":50000,"soloNuevas":true,"maxResultados":50,"maxPaginas":3}

FAQ

Is it legal to scrape PLACSP? The Actor does not scrape web pages: it reads the official public syndication (ATOM) feed that the platform publishes for reuse. Public sector information in Spain is reusable under Law 37/2007 (transposing the EU Open Data Directive). Each record carries fuente and urlOficial so you can cite the origin. This is not legal advice.

Does it include personal data? Tenders are institutional records. If you reuse any personal data that appears in them, you are responsible for GDPR compliance.

How fresh is the data? It reflects the PLACSP feed, updated by the platform several times a day. Schedule the Actor hourly or daily.

Can I get the tender documents (pliegos)? No. You get the metadata and the official link urlOficial to the announcement.

Can I try it for free? Yes: run {} or set maxResultados to 5. You pay only for the tenders saved (0.002 USD each).

Why did I get fewer results than expected? Filters are cumulative and soloAbiertas is on by default. Increase maxPaginas to read deeper into the feed.

Integrations

  • API: POST https://api.apify.com/v2/acts/flets_sv~licitaciones-placsp/runs or the official clients for JavaScript and Python.
  • Make, Zapier, n8n, Google Sheets: use the Apify modules; trigger on schedule and send new tenders to your CRM.
  • MCP / AI agents: call it from Claude, ChatGPT or any MCP client through the Apify MCP server (https://mcp.apify.com).
  • Schedules and webhooks: daily run + webhook on success for alerts.
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("flets_sv/licitaciones-placsp").call(run_input={"cpv": ["72"], "soloNuevas": True})
for t in client.dataset(run["defaultDatasetId"]).iterate_items():
print(t["titulo"], t["importeSinIva"], t["plazoPresentacion"])

Data source and license

Plataforma de Contratacion del Sector Publico (contrataciondelestado.es), Spanish Ministry of Finance. Reuse under Law 37/2007; always cite the source. This Actor is independent and is not affiliated with or endorsed by the Spanish government.


Español

¿Qué hace?

Lee el feed ATOM oficial de la Plataforma de Contratación del Sector Público (PLACSP) y devuelve un registro por licitación: órgano de contratación, CPV, importe sin IVA, estado, plazo de presentación, provincia y enlace oficial. Sin navegador, sin proxies y sin claves.

Casos de uso: captar clientes B2B que venden al sector público, avisos diarios de licitaciones nuevas por CPV y provincia, análisis de mercado y alertas en Slack, email o CRM.

Input

Todos los campos son opcionales. Con {} devuelve las 20 licitaciones abiertas más recientes en menos de un minuto.

CampoDescripción
cpvPrefijos de código CPV (p. ej. 72 servicios informáticos, 45 obras).
provincias / comunidadesFiltra por provincia o comunidad autónoma.
importeMin / importeMaxRango de presupuesto en EUR, sin IVA.
estadosEstado de la licitación (PUB publicada, EV evaluación, ADJ adjudicada, RES resuelta, ANUL anulada).
plazoDesde / plazoHastaVentana del plazo de presentación (AAAA-MM-DD).
soloAbiertasDeja solo las licitaciones en estado PUB o EV y descarta las adjudicadas, resueltas y anuladas (por defecto true). No compara el plazo de presentación con la fecha de hoy: para eso usa plazoDesde.
soloNuevasSolo lo nuevo o modificado desde la ejecución anterior (por defecto false).
diasRetencionDías que el Actor recuerda lo ya visto para soloNuevas (por defecto 90).
maxResultados, maxPaginasLímites (por defecto 20 y 1).
pausaMsPausa entre peticiones a PLACSP en milisegundos (por defecto 500).
urlFeedAvanzado: URL del feed de PLACSP; déjala como está.
resumenIA, perfilEmpresaResumen y puntuación de encaje con IA (cobro aparte, experimental).

Los filtros se acumulan: una licitación se queda solo si cumple todos los que pongas. Si fijas un importe, se descartan las que no declaran presupuesto; si fijas provincia, las que no la indican. Los filtros se aplican a las páginas más recientes del feed: sube maxPaginas para llegar a licitaciones más antiguas. El formulario de la consola viene rellenado con un ejemplo acotado (CPV 45, Madrid, de 50.000 a 5.000.000 EUR, plazos de 2026, 5 resultados); vacía esos campos para ejecutar con {}.

Output

Ver el ejemplo ilustrativo en la sección inglesa. Los nombres de campo están en español.

Precios (pago por evento)

EventoPrecioPor 1.000
Licitación publicada (resultado)0,002 $2,00 $
Resumen con IA y encaje (resumen-ia, opcional)0,005 $5,00 $

Solo pagas lo que se entrega. Puedes fijar un gasto máximo por ejecución.

Integraciones (Make, Zapier, Google Sheets)

  • Make: añade el módulo de Apify «Run an Actor» (Actor Flets_sv/licitaciones-placsp), pega el input JSON y encadena «Get Dataset Items»; después mapea los campos a Google Sheets, Slack, Airtable o tu CRM.
  • Zapier: la app de Apify ofrece «Run Actor» y «Fetch Dataset Items». Ponle un disparador de horario y envía cada fila a Gmail, Slack o Notion.
  • Google Sheets: en la pestaña Integrations del Actor activa la integración oficial con Google Sheets para añadir cada ejecución a una hoja, o llama desde Apps Script (UrlFetchApp) a https://api.apify.com/v2/acts/Flets_sv~licitaciones-placsp/run-sync-get-dataset-items?format=csv con POST y tu input.
  • API y webhooks: lanza el Actor por API REST, programa ejecuciones (Schedules) y avisa a tu sistema con un webhook al terminar.

Ejemplo de input para pegar en Make o Zapier (el sencillo; añade filtros de uno en uno, porque se acumulan):

{"cpv":["72"],"provincias":["Madrid"],"importeMin":50000,"soloNuevas":true,"maxResultados":50,"maxPaginas":3}

Preguntas frecuentes

¿Es legal? El Actor no hace scraping de páginas: lee el feed público de sindicación que la plataforma ofrece para su reutilización. La información del sector público es reutilizable según la Ley 37/2007. Cada registro incluye fuente y urlOficial para citar el origen. No es asesoramiento jurídico.

¿Incluye los pliegos? No: incluye los metadatos y el enlace oficial al anuncio.

¿Cada cuánto se actualiza? Con el feed de PLACSP, varias veces al día. Programa el Actor cada hora o cada día con soloNuevas.

¿Por qué salen menos resultados de los esperados? Los filtros se acumulan y soloAbiertas está activo por defecto. Sube maxPaginas para leer más a fondo el feed.

¿Puedo probarlo gratis? Ejecuta {} o fija maxResultados en 5: solo pagas las licitaciones guardadas (0,002 USD cada una).

Integración

API de Apify, Make, Zapier, n8n, Google Sheets, webhooks y agentes de IA mediante el servidor MCP de Apify (https://mcp.apify.com).

Fuente y licencia

Plataforma de Contratación del Sector Público (contrataciondelestado.es). Reutilización según la Ley 37/2007; cita siempre la fuente. Este Actor es independiente y no está afiliado al Gobierno de España.

Ejemplos de uso / Usage examples

Example output (illustrative)

Illustrative example of the output format (shortened columns, values truncated):

idtituloorganoContratacionimporteSinIvaestadoplazoPresentacion
2536/2026Servicio integral de telefonía, internet y comunicaciones.Pleno del Ayuntamiento de Viveiro270000PUB2026-12-03T23:59:00
2026_028_SE_PASAContratación del servicio de telefonía móvil y de acceso...Gerencia de la Fundación Universidad de Valladolid28080PUB2026-11-18T23:59:00
S-04071-2026Evolución y soporte a la herramienta SIGO de Gestión TI (...Compras de la Corporación de Radio y Televisión Española...55745EV2026-10-21T14:00:00

Copy-paste inputs

1. Madrid IT tenders over 50k EUR

{
"cpv": [
"72"
],
"provincias": [
"Madrid"
],
"importeMin": 50000,
"soloNuevas": true,
"maxResultados": 50
}

2. Open tenders in Catalonia or Andalusia

{
"comunidades": [
"Cataluña",
"Andalucía"
],
"soloAbiertas": true,
"maxResultados": 100
}

3. Daily alert for IT tenders (only new ones): schedule it every day; each run emits only tenders it has not shown before (ejemplos/alerta-diaria-ti.json). The file also carries the default urlFeed (the schema requires it); in the console you can leave it out.

{
"cpv": [
"72",
"48"
],
"soloAbiertas": true,
"soloNuevas": true,
"diasRetencion": 90,
"maxPaginas": 3,
"maxResultados": 100
}

4. Smallest possible input (ejemplos/consulta-minima.json): the 20 most recent open tenders. The file also carries the default urlFeed (the schema requires it); in the console you can leave it out.

{
"maxResultados": 20
}

Call it from your code (Apify API)

curl -X POST "https://api.apify.com/v2/acts/Flets_sv~licitaciones-placsp/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"cpv": ["72"], "provincias": ["Madrid"], "importeMin": 50000, "soloNuevas": true, "maxResultados": 50}'
from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("Flets_sv/licitaciones-placsp").call(run_input={"cpv": ["72"], "provincias": ["Madrid"], "importeMin": 50000, "soloNuevas": True, "maxResultados": 50})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

No code? Use the Apify modules for Make and Zapier (run the Actor, then fetch dataset items), or the Google Sheets integration in the Actor's Integrations tab to append each run to a sheet.

Public tenders and grants family by Flets_sv / Familia de licitaciones y ayudas:

See also

Need Spain, the EU and the UK in one normalized format, with an only-new alert mode? Use Public Tenders Spain, EU & UK with Alerts (public-tenders-spain-eu-uk) from the same author. Ready-made email alerts without any setup: https://licitaciones.steveflets.es

Adjudicaciones por expediente

El campo opcional adjudicaciones contiene los TenderResult interpretables del ContractFolderStatus de esa entrada, en su orden original. Cada elemento tiene lote (el ProcurementProjectLotID del AwardedTenderedProject), codigoResultado (el ResultCode numerico publicado como texto), importeSinIva (el TaxExclusiveAmount de AwardedTenderedProject/LegalMonetaryTotal) y moneda (el currencyID de ese mismo importe). No se consulta WinningParty: no se incorporan nombres, identificadores ni direcciones de ganadores.

Se conserva el cero y cada resultado, aunque varios pertenezcan al mismo lote. No se suman importes ni se sustituye el importeSinIva del expediente. Los campos ausentes o invalidos valen null: el importe debe ser un decimal XML no negativo y finito, el codigo solo digitos y la moneda tres letras mayusculas, sin inferir ni convertir divisas. El lote se conserva como texto no vacio, sin inferirlo del orden. Se omiten los resultados con los cuatro campos nulos y se omite adjudicaciones cuando ninguno es interpretable. No se deduce el estado del expediente a partir de esos resultados.

Ejemplo: "adjudicaciones": [{"lote":"1","codigoResultado":"8","importeSinIva":0,"moneda":"EUR"},{"lote":"1","codigoResultado":"9","importeSinIva":1200.50,"moneda":"EUR"}]. Sigue habiendo una fila y un evento de resultado por expediente, con los filtros y limites actuales. Para consultar expedientes adjudicados o resueltos hay que desactivar soloAbiertas (y elegir estados si procede). Esta ampliacion no cambia la entrada ni las tarifas.