# Gazzetta Ufficiale Monitor | Italian Decrees | Free Preview (`w4rd0g/gazzetta-ufficiale-monitor`) Actor

Monitor the Italian Official Gazette for new decrees, laws, and administrative acts. Filter by date range, keyword, section. Returns structured metadata: title, redazionale code, section, deep link. For legal tech, compliance, ML training data. FREE during launch preview.

- **URL**: https://apify.com/w4rd0g/gazzetta-ufficiale-monitor.md
- **Developed by:** [Polara Data](https://apify.com/w4rd0g) (community)
- **Categories:** Developer tools, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 gazzetta ufficiale acts

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Gazzetta Ufficiale Italiana Monitor

Monitor the Italian Official Gazette (Gazzetta Ufficiale) for new decrees, laws, and administrative acts. Filter by date range, keyword, or section. Returns structured metadata for every act published in the period: title, redazionale code, section (rubrica), deep link to the full text, and optional ELI URL + PDF link.

### What it does

- Scans `gazzettaufficiale.it` Serie Generale for any date range
- Extracts every act published per gazzetta with structured metadata
- Optional keyword filter (title text, accent-insensitive)
- Optional act-detail enrichment (ELI legal identifier + PDF URL)
- Output: one dataset item per act, ready for downstream RSS / Slack / DB pipelines

### Use cases

**Legal tech / law firm intelligence** — Receive a daily digest of new decrees affecting a specific area of practice (tax, labour, energy, environmental).

**Compliance officer alerts** — Watch for keywords like "PNRR", "agevolazione", "decreto-legge", "sanzione" and forward to internal stakeholders.

**ML / LLM training data** — Build a structured dataset of Italian legislation for fine-tuning legal-domain language models.

**Government affairs / lobbying** — Track regulatory output by ministry or signing authority.

**Academic research** — Quantitative analysis of legislative volume, themes, signing authorities over time.

### Input

```json
{
  "dateFrom": "2026-04-22",
  "dateTo": "2026-04-29",
  "keyword": "PNRR",
  "tipoSerie": "serie_generale",
  "maxGazzette": 30,
  "fetchActDetails": false
}
````

| Field | Type | Default | Description |
|---|---|---|---|
| `dateFrom` | YYYY-MM-DD | 7 days ago | Start of publication date range (inclusive) |
| `dateTo` | YYYY-MM-DD | today | End of publication date range (inclusive) |
| `keyword` | string | (none) | Filter acts by title (case + accent insensitive) |
| `tipoSerie` | enum | `serie_generale` | Gazzetta series — currently only Serie Generale supported |
| `maxGazzette` | int (1-365) | 30 | Cap on gazzette fetched. 1 gazzetta ≈ 20-40 acts |
| `fetchActDetails` | bool | false | Slower, returns ELI URL + PDF link per act |

### Output

One dataset item per act:

```json
{
  "publicationDate": "2026-04-29",
  "gazzettaNumero": 98,
  "tipoSerie": "serie_generale",
  "rubrica": "DECRETI, DELIBERE E ORDINANZE MINISTERIALI",
  "title": "Determinazione delle aliquote IRPEF...",
  "redazionalCode": "26A02017",
  "sourceUrl": "https://www.gazzettaufficiale.it/atto/serie_generale/caricaDettaglioAtto/originario?...",
  "eliUrl": "https://www.gazzettaufficiale.it/eli/id/2026/04/29/26A02017/sg",
  "pdfUrl": "https://www.gazzettaufficiale.it/.../atto.pdf"
}
```

`eliUrl` and `pdfUrl` only present if `fetchActDetails: true`.

### Pricing

**Currently FREE** during the launch preview — no per-result charges, no monthly cap. Use it freely while we onboard the Apify monetization review.

When paid pricing rolls out (notice will be posted at least 14 days in advance):

| Event | Price |
|---|---|
| Actor start | $0.01 (one-time per run) |
| Result item | $0.005 (per act published) |

**Cost examples (post-launch)**:

- Daily digest of 1 day (~30 acts): ~$0.16
- Weekly scan (7 days, ~210 acts): ~$1.06
- Monthly archive (30 days, ~900 acts): ~$4.51

### Limits

- Source: `gazzettaufficiale.it` (Italian Government Publishing Office)
- License: public-by-law data, free to redistribute
- Coverage: Serie Generale only (post-2010 publications work reliably)
- Speed: ~1-2 gazzette/sec (politely rate-limited to respect the source)
- No PDF text extraction in v1 (planned for v2)
- No semantic classification (planned for v2)

### Source attribution

All data comes from the official Italian Government Publishing Office:

[gazzettaufficiale.it](https://www.gazzettaufficiale.it/)

Acts are public-by-law in Italy (Legge 11 dicembre 1984, n. 839). This actor only collects publicly accessible metadata.

### Author

**Polara Data** — niche scrapers for Italy, EU & global markets.

# Actor input Schema

## `dateFrom` (type: `string`):

Start date of the publication range (inclusive). Defaults to 7 days ago.

## `dateTo` (type: `string`):

End date of the publication range (inclusive). Defaults to today.

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

Only return acts whose title contains this keyword (case-insensitive, accent-insensitive). Leave empty for all acts.

## `tipoSerie` (type: `string`):

Which Gazzetta Ufficiale series to scan. 'Serie Generale' is the most common (laws, decrees, ministerial acts).

## `maxGazzette` (type: `integer`):

Cap on number of gazzette fetched (1 gazzetta ≈ 20-40 acts). Use this to limit run cost.

## `fetchActDetails` (type: `boolean`):

If true, fetch each act's detail page (slower, more results: includes signing authority, act type, ELI URL).

## Actor input object example

```json
{
  "tipoSerie": "serie_generale",
  "maxGazzette": 30,
  "fetchActDetails": false
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w4rd0g/gazzetta-ufficiale-monitor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w4rd0g/gazzetta-ufficiale-monitor").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call w4rd0g/gazzetta-ufficiale-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=w4rd0g/gazzetta-ufficiale-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Gazzetta Ufficiale Monitor | Italian Decrees | Free Preview",
        "description": "Monitor the Italian Official Gazette for new decrees, laws, and administrative acts. Filter by date range, keyword, section. Returns structured metadata: title, redazionale code, section, deep link. For legal tech, compliance, ML training data. FREE during launch preview.",
        "version": "0.1",
        "x-build-id": "SZAn7cNfSmjXT5NnR"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/w4rd0g~gazzetta-ufficiale-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-w4rd0g-gazzetta-ufficiale-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/w4rd0g~gazzetta-ufficiale-monitor/runs": {
            "post": {
                "operationId": "runs-sync-w4rd0g-gazzetta-ufficiale-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/w4rd0g~gazzetta-ufficiale-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-w4rd0g-gazzetta-ufficiale-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "dateFrom": {
                        "title": "Date from (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Start date of the publication range (inclusive). Defaults to 7 days ago."
                    },
                    "dateTo": {
                        "title": "Date to (YYYY-MM-DD)",
                        "type": "string",
                        "description": "End date of the publication range (inclusive). Defaults to today."
                    },
                    "keyword": {
                        "title": "Keyword filter (optional)",
                        "type": "string",
                        "description": "Only return acts whose title contains this keyword (case-insensitive, accent-insensitive). Leave empty for all acts."
                    },
                    "tipoSerie": {
                        "title": "Series",
                        "enum": [
                            "serie_generale"
                        ],
                        "type": "string",
                        "description": "Which Gazzetta Ufficiale series to scan. 'Serie Generale' is the most common (laws, decrees, ministerial acts).",
                        "default": "serie_generale"
                    },
                    "maxGazzette": {
                        "title": "Max gazzette to scan",
                        "minimum": 1,
                        "maximum": 365,
                        "type": "integer",
                        "description": "Cap on number of gazzette fetched (1 gazzetta ≈ 20-40 acts). Use this to limit run cost.",
                        "default": 30
                    },
                    "fetchActDetails": {
                        "title": "Fetch full act details",
                        "type": "boolean",
                        "description": "If true, fetch each act's detail page (slower, more results: includes signing authority, act type, ELI URL).",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
