# Monitor Trenitalia ticket prices in real time

**Use case:** 

Monitor train ticket prices in Italy in real time. Schedule routine checks to stay on top of the dynamic pricing models.

## Input

```json
{
  "from": "Roma Termini",
  "to": "Milano Centrale",
  "adults": 1,
  "children": 0,
  "maxResults": 20
}
```

## Output

```json
{
  "from": {
    "label": "From",
    "format": "string"
  },
  "to": {
    "label": "To",
    "format": "string"
  },
  "departure": {
    "label": "Departure",
    "format": "string"
  },
  "arrival": {
    "label": "Arrival",
    "format": "string"
  },
  "durationMinutes": {
    "label": "Minutes",
    "format": "integer"
  },
  "transfers": {
    "label": "Transfers",
    "format": "integer"
  },
  "priceAmount": {
    "label": "Price",
    "format": "number"
  },
  "priceCurrency": {
    "label": "Currency",
    "format": "string"
  },
  "trainCategories": {
    "label": "Trains",
    "format": "array"
  },
  "legs": {
    "label": "Legs",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Trenitalia Train Ticket and Connection Scraper](https://apify.com/jindrich.bar/trenitalia-ticket-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jindrich.bar/trenitalia-ticket-scraper) to learn more, explore other use cases, and run it yourself.