# Italian Public Tenders (Acquisti in Rete PA / MePA) Scraper (`jovian_explorer/bandi-pa-italia`) Actor

Get open Italian public procurement tenders from acquistinretepa.it (Consip, MePA, RdO aperte, Altri Bandi) as clean JSON: title, buyer, value, category, deadline, link. No login. Built for AI agents and tender-alert workflows.

- **URL**: https://apify.com/jovian\_explorer/bandi-pa-italia.md
- **Developed by:** [Quiet Kits](https://apify.com/jovian_explorer) (community)
- **Categories:** Business, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Italian Public Tenders Scraper (Acquisti in Rete PA / MePA / Consip)

Get every **open Italian public procurement tender** listed on [acquistinretepa.it](https://www.acquistinretepa.it) as clean JSON, without logging in. Covers the three public lists of the portal:

- **RdO aperte** on MePA (Mercato Elettronico della Pubblica Amministrazione): open requests for quotation from ministries, municipalities, hospitals, schools. Typically 400-600 open at any time.
- **Altri Bandi**: tenders published by other public bodies and utilities.
- **Bandi Consip**: framework agreements (Accordi Quadro), conventions, dynamic purchasing systems (SDA) and MePA calls.

Each tender comes with title, description, buyer, estimated value in EUR, product categories, publication date, deadline and a direct link to the tender page.

### Why this Actor

Companies that sell to the Italian public sector pay for e-mail bulletins that watch this portal by hand. This Actor does the same job on a schedule, and returns structured data you can filter, store, or feed to an AI agent. It is the only Actor on Apify Store for acquistinretepa.it.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `sources` | array | all three | `RDO`, `ALTRI_BANDI`, `CONSIP` |
| `keyword` | string | – | keep tenders whose title, description, buyer or category contains this text |
| `publishedSinceDays` | integer | 0 | keep tenders published in the last N days |
| `includeArchive` | boolean | false | also read closed tenders |
| `maxItems` | integer | 0 | stop after N tenders (0 = all) |

Example, new IT tenders of the last 7 days:

```json
{ "sources": ["RDO", "ALTRI_BANDI"], "keyword": "software", "publishedSinceDays": 7 }
```

### Output

One dataset record per tender:

```json
{
  "id": "64e868e9b6fc53d0",
  "type": "RDO",
  "number": "6554707",
  "title": "FORNITURA CARNE FRESCA E SURGELATA",
  "description": "",
  "instrument": "RDO Aperte",
  "instrumentCode": "RDO",
  "buyer": "MINISTERO DELL'ISTRUZIONE",
  "contractingAuthority": null,
  "estimatedValueEur": 139000,
  "contractType": "Beni",
  "categories": ["Alimenti, ristorazione e buoni pasto"],
  "status": null,
  "publishedAt": "2026-09-04T06:00:00.000Z",
  "deadlineAt": "2026-09-24T16:00:00.000Z",
  "url": "https://www.acquistinretepa.it/opencms/opencms/scheda_altri_bandi.html?idBando=64e868e9b6fc53d0",
  "source": "acquistinretepa.it",
  "scrapedAt": "2026-09-06T14:00:00.000Z"
}
```

### Use with AI agents (MCP)

The Actor is a plain input-to-dataset tool, so it works out of the box through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp): an agent can call it with a `keyword` and read the tenders back as JSON. Typical prompts: "find open Italian public tenders about school furniture published this week", "list Consip framework agreements closing in the next 30 days".

### Pricing

Pay per tender returned. A run that reads all three open lists returns about 700 records in under a minute.

### Notes and limits

- Reads only the public lists (no login, no SPID). Tender attachments and RdO details that require a MePA account are not included; the `url` field points to the public page.
- Dates are ISO 8601 in UTC, converted from the portal's timestamps.
- The portal is run by Consip for the Italian Ministry of Economy and Finance. Data are public notices; use them according to the portal's terms.

# Actor input Schema

## `sources` (type: `array`):

Which lists to read. RDO = open requests for quotation on MePA (the biggest list, ~500 open). ALTRI\_BANDI = tenders published by other public bodies. CONSIP = Consip framework agreements, conventions and dynamic systems.

## `keyword` (type: `string`):

Keep only tenders whose title, description, category or buyer contains this text (case-insensitive). Leave empty for all.

## `publishedSinceDays` (type: `integer`):

Keep only tenders published in the last N days. 0 = no filter.

## `includeArchive` (type: `boolean`):

Also read the archive of closed tenders. Off by default.

## `maxItems` (type: `integer`):

Stop after this many tenders (0 = all).

## Actor input object example

```json
{
  "sources": [
    "RDO",
    "ALTRI_BANDI",
    "CONSIP"
  ],
  "publishedSinceDays": 0,
  "includeArchive": false,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sources": [
        "RDO",
        "ALTRI_BANDI",
        "CONSIP"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jovian_explorer/bandi-pa-italia").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "sources": [
        "RDO",
        "ALTRI_BANDI",
        "CONSIP",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jovian_explorer/bandi-pa-italia").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sources": [
    "RDO",
    "ALTRI_BANDI",
    "CONSIP"
  ]
}' |
apify call jovian_explorer/bandi-pa-italia --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jovian_explorer/bandi-pa-italia"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wcGifb4WRUsnkZwJM/builds/ItLGqLzrZl4CLwC2e/openapi.json
