# Borsa Italiana Stock Quotes Scraper (`bovi/borsaitaliana-scraper`) Actor

Scrape the Borsa Italiana (Milan Stock Exchange) A-Z share list: name, ISIN, market, last price, % change, last trade time, day low/high and open for every listed share. Filter by initial letter.

- **URL**: https://apify.com/bovi/borsaitaliana-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.45 / 1,000 borsa italiana stock quotes scrapers

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Borsa Italiana Stock Quotes Scraper

Scrape the public Borsa Italiana A-Z share list at `borsaitaliana.it` to extract names, ISINs, markets and quote data for listed shares. On Free plans, pricing is $0.00005 per Actor Start event and $0.00345 per dataset result delivered; the Apify Free plan includes $5 of monthly platform usage credit.

- Extract company names, ISINs, markets, market codes and instrument-page links for Italian-listed company reference lists.
- Monitor last prices, percentage changes, trade times, daily lows and highs, and opening prices.
- Select specific initial letters for watchlists or spreadsheet workflows.
- Skip shares without a last price when you need only shares traded in the current session.
- Run from your Apify account without providing buyer site credentials or a login.

### What you get

The Actor walks the official Borsa Italiana “Listino A-Z” share list letter by letter and page by page. Coverage includes Euronext Milan, Euronext Growth Milan, including its professional segment, and the Global Equity Market.

| Field | Type | Description |
|---|---|---|
| `name` | `string` | Share name. |
| `isin` | `string \| null` | ISIN code when available on the instrument link. |
| `market` | `string \| null` | Market shown for the share, such as Euronext Milan or Euronext Growth Milan. |
| `marketCode` | `string \| null` | Market code parsed from the instrument link. |
| `lastPrice` | `number \| null` | Last price shown on the list. Italian decimal commas are converted to decimal points. |
| `changePercent` | `number \| null` | Percentage change shown on the list. |
| `lastTradeTime` | `string \| null` | Time of the last trade shown on the list, in Italian time. |
| `dayLow` | `number \| null` | Day low shown on the list. |
| `dayHigh` | `number \| null` | Day high shown on the list. |
| `openPrice` | `number \| null` | Opening price shown on the list. |
| `listingLetter` | `string` | Initial letter used for the share-list request. |
| `url` | `string` | Link to the instrument page on `borsaitaliana.it`. |
| `scrapedAt` | `string` | UTC timestamp recorded when the row is collected. |

Quote fields can be `null` when a share has not traded in the current session and the site shows no quote for it.

### Sample output

```json
{
  "name": "A.B.P. Nocivelli",
  "isin": "IT0005439861",
  "market": "Euronext Growth Milan",
  "marketCode": "EXGM",
  "lastPrice": 5.1,
  "changePercent": -0.97,
  "lastTradeTime": "16:31:54",
  "dayLow": 5.1,
  "dayHigh": 5.25,
  "openPrice": 5.15,
  "listingLetter": "A",
  "url": "https://www.borsaitaliana.it/borsa/azioni/euronext-growth-milan/scheda/IT0005439861-EXGM.html",
  "scrapedAt": "2026-11-19T02:34:32+00:00"
}
```

### Pricing

This Actor uses pay-per-event billing. The two listed charge events are:

| Charge event | What it represents | Free-plan price |
|---|---|---:|
| `apify-actor-start` | Charged when the Actor starts. The number of events depends on Actor memory, with a minimum of one event. | $0.00005 per event on Free plans |
| `apify-default-dataset-item` | One scraped result containing all fields. | $0.00345 per event on Free plans |

You pay for each dataset item delivered. The run stops when the charge limit is reached, and the Actor itself does not add a separate charge.

Assuming the minimum one Actor Start event, **1,000 results = $3.45005 on Free**: $0.00005 for one Actor Start event plus $3.45 for 1,000 dataset items.

On the Free plan, 1,000 dataset items cost $3.45 and 10,000 dataset items cost $34.50; 1,000 Actor Start events cost $0.05 and 10,000 Actor Start events cost $0.50.

The Apify Free plan includes **$5 of monthly platform usage credit**. At the listed Free-plan event prices, the exact calculation `floor((5 - 0.00005) / 0.00345)` gives **1,449 dataset results** when the minimum one Actor Start event is included. The Free-plan preview limits described below still apply separately.

For this pay-per-event Actor, compute, Apify Proxy traffic including residential traffic, and storage are included in the event prices and paid by the Actor developer. You do not separately pay for those platform-usage categories.

### How to use

1. **Open** the Actor in Apify and prepare a run using your Apify account.
2. **Choose** initial letters in `letters`, or leave the list empty to walk through the full A-to-Z list.
3. **Set** `maxResults` to the maximum number of share rows you want and use `onlyTraded` when rows without a last price should be skipped.
4. **Keep** the default Apify RESIDENTIAL proxy configuration for reliable access, or explicitly set `useApifyProxy` to `false` to run without a proxy.
5. **Start** the run and inspect the dataset for the extracted share rows. On a Free-plan preview, check the run status message and `OUTPUT` record to see what was capped.
6. **Export** the dataset as JSON or CSV for a reference list, watchlist or spreadsheet workflow.
7. **Repeat** the run through Apify Schedules, using daily as a starting point for listings or prices.

Example input:

```json
{
  "letters": ["A", "B"],
  "maxResults": 50,
  "onlyTraded": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

Integration: export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `letters` | List of initial letters for share names in the Borsa Italiana “Listino A-Z”. An empty list resolves to the whole list from A to Z. | `[]` |
| `maxResults` | Maximum number of share rows to collect. The Actor stops fetching when this number is reached. | `50` |
| `onlyTraded` | Skips shares whose list row has no last price in the current session. | `false` |
| `proxyConfiguration` | Proxy settings used for requests. The default uses an Apify RESIDENTIAL proxy. Only an explicit `useApifyProxy: false` runs without a proxy. | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` |

### Limits and edge cases

| Condition | What you see | What to do |
|---|---|---|
| `letters` is empty | The Actor processes the list from A to Z. | Set specific letters when you need a narrower collection. |
| `maxResults` is reached | Fetching stops after the requested number of rows is delivered. | Increase `maxResults` in a later run if you need more rows. |
| `onlyTraded` is `true` | Shares without a last price are skipped, so the dataset can contain fewer rows than the requested maximum. | Set it to `false` to retain those shares with empty quote fields. |
| A share has not traded in the current session and `onlyTraded` is `false` | Its quote fields are `null` because the source list shows no current-session quote. | Keep the row for reference data, or enable `onlyTraded` to exclude it. |
| A Free Apify plan is used | On the Free Apify plan, only 1 letter and 1 result page are fetched. The run status message and `OUTPUT` record identify the cap. No placeholder rows are added. | Use a paid Apify plan to unlock the full result. |
| A letter has more than 30 result pages | The Actor fetches no more than 30 pages for that letter. | Select the letters you need and set an appropriate result limit; the per-letter page limit still applies. |
| The charge limit is reached | The run stops with the rows delivered before the stop. | Adjust the charge limit or run with a smaller `maxResults` value. |
| A request errors or times out | Each request is attempted up to 6 times with a 40-second timeout per attempt. If all attempts fail, the last error is raised; rows pushed before a later failed request can already be present in the dataset. | Review the run error and retry. The default residential proxy is used unless you explicitly disable the proxy. |
| A list page returns no parsed rows | Processing stops for that letter or page. | Check the selected letters and run again if the result is unexpectedly empty. |

Quotes on the source site may be delayed. `lastTradeTime` is the time of the last trade shown on the list and uses Italian time.

### FAQ

#### How much does it cost to scrape Borsa Italiana?

On Free plans, the Actor charges $0.00005 per `apify-actor-start` event and $0.00345 per `apify-default-dataset-item` event. Assuming the minimum one Actor Start event, 1,000 results = $3.45005 on Free.

#### What does the Free Apify plan return?

On the Free Apify plan, a run is a capped preview: it fetches only 1 letter and 1 result page. The status message and `OUTPUT` record state what was capped and how many items were returned, and no placeholder rows are added to the dataset.

#### Why are some prices and quote fields null?

The source list shows no quote for shares that have not traded in the current session. Those quote fields are returned as `null`; enable `onlyTraded` to skip such rows.

#### Why did my run return fewer rows than requested?

The result can be smaller than `maxResults` when `onlyTraded` skips untraded shares, when the selected list contains fewer matching rows, when the Free-plan preview cap applies, or when the charge limit stops the run.

#### Is it legal to use data from borsaitaliana.it?

This Actor extracts public data from `borsaitaliana.it`. Whether a particular use is allowed depends on the source terms and applicable law for your use case, so review them before using the data; the Actor does not provide a legal guarantee.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `letters` (type: `array`):

Collect shares whose name starts with these letters (A-Z), as in the Borsa Italiana 'Listino A-Z'. Leave empty to walk through the whole list from A to Z.

## `maxResults` (type: `integer`):

Maximum number of share rows to collect.

## `onlyTraded` (type: `boolean`):

Skip shares that have no last price on the list (no trades in the current session).

## `proxyConfiguration` (type: `object`):

Proxy settings. A residential proxy is used by default for reliable access.

## Actor input object example

```json
{
  "letters": [
    "A"
  ],
  "maxResults": 50,
  "onlyTraded": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected records.

# 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 = {
    "letters": [
        "A"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/borsaitaliana-scraper").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 = {
    "letters": ["A"],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/borsaitaliana-scraper").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 '{
  "letters": [
    "A"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/borsaitaliana-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/borsaitaliana-scraper"
        }
    }
}
```

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/0goVdEDHvESNR0iEK/builds/keM6atdPG4JtvmCwY/openapi.json
