# Compare ticket fees and face value for Cubs and Dodgers games

**Use case:** 

Read the next three home games for the Cubs and the Dodgers and return every section and price level on sale with price, allInPrice and serviceCharge as numbers, so the per-ticket fee each club adds at checkout sits on the row rather than appearing at the last step. priceLevelName comes from each club's own scale.

## Input

```json
{
  "teams": [
    "cubs",
    "dodgers"
  ],
  "maxEventsPerTeam": 3,
  "maxItems": 100,
  "concurrency": 3
}
```

## Output

```json
{
  "eventId": {
    "label": "eventId",
    "format": "string"
  },
  "eventName": {
    "label": "eventName",
    "format": "string"
  },
  "eventDateTime": {
    "label": "eventDateTime",
    "format": "string"
  },
  "team": {
    "label": "team",
    "format": "string"
  },
  "venueName": {
    "label": "venueName",
    "format": "string"
  },
  "sectionName": {
    "label": "sectionName",
    "format": "string"
  },
  "sectionCode": {
    "label": "sectionCode",
    "format": "string"
  },
  "priceLevelName": {
    "label": "priceLevelName",
    "format": "string"
  },
  "availableSeats": {
    "label": "availableSeats",
    "format": "number"
  },
  "maxContiguousSeats": {
    "label": "maxContiguousSeats",
    "format": "number"
  },
  "price": {
    "label": "price",
    "format": "number"
  },
  "allInPrice": {
    "label": "allInPrice",
    "format": "number"
  },
  "serviceCharge": {
    "label": "serviceCharge",
    "format": "number"
  },
  "currency": {
    "label": "currency",
    "format": "string"
  },
  "inventoryAsOf": {
    "label": "inventoryAsOf",
    "format": "string"
  },
  "sourceUrl": {
    "label": "sourceUrl",
    "format": "string"
  },
  "collectedAt": {
    "label": "collectedAt",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [MLB Ticket Availability Scraper](https://apify.com/usestring/mlb-tickets.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/usestring/mlb-tickets.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/usestring/mlb-tickets.md

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`).
