# Bus Ticket Prices and Schedules

**Use case:** 

Compare Bus Ticket Prices and Schedules for Chennai to Bengaluru in the India redBus market. This task searches 21 days from now and keeps departures from 06:00 to 12:00. Review operators, fares, times, seat availability, boarding and dropping locations, ratings, and source details.

## Input

```json
{
  "market": "in",
  "origin": "Chennai",
  "destination": "Bengaluru",
  "travelDate": "21 days from now",
  "departureWindow": {
    "from": "06:00",
    "to": "12:00"
  },
  "onlyAvailableSeats": false
}
```

## Output

```json
{
  "route": {
    "label": "Route",
    "format": "object"
  },
  "service": {
    "label": "Service",
    "format": "object"
  },
  "travelDate": {
    "label": "Travel date",
    "format": "string"
  },
  "schedule": {
    "label": "Schedule",
    "format": "object"
  },
  "durationMinutes": {
    "label": "Duration in minutes",
    "format": "integer"
  },
  "fare": {
    "label": "Fare",
    "format": "object"
  },
  "seatAvailability": {
    "label": "Seat availability",
    "format": "object"
  },
  "boardingLocations": {
    "label": "Boarding locations",
    "format": "array"
  },
  "droppingLocations": {
    "label": "Dropping locations",
    "format": "array"
  },
  "ratings": {
    "label": "Ratings",
    "format": "object"
  },
  "amenities": {
    "label": "Amenities",
    "format": "array"
  },
  "cancellationStatus": {
    "label": "Cancellation status",
    "format": "string"
  },
  "reschedulingStatus": {
    "label": "Rescheduling status",
    "format": "string"
  },
  "liveTrackingAvailable": {
    "label": "Live tracking available",
    "format": "boolean"
  },
  "mTicketAvailable": {
    "label": "M-ticket available",
    "format": "boolean"
  },
  "offers": {
    "label": "Offers",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [redBus Scraper](https://apify.com/maximedupre/redbus.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/redbus.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/maximedupre/redbus.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`).
