# Used Car Listings

**Use case:** 

Collect public used car listings from the CarAndBike search page in this task. The Actor saves vehicle details, asking prices, mileage, sellers, cities, and image links in the dataset when available.

## Input

```json
{
  "discoveryMethod": "searchPage",
  "startUrls": [
    {
      "url": "https://www.carandbike.com/used/cars-for-sale"
    }
  ],
  "maxItems": 25
}
```

## Output

```json
{
  "listingId": {
    "label": "Listing ID",
    "format": "string"
  },
  "listingUrl": {
    "label": "Listing URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "make": {
    "label": "Make",
    "format": "string"
  },
  "model": {
    "label": "Model",
    "format": "string"
  },
  "variant": {
    "label": "Variant",
    "format": "string"
  },
  "bodyType": {
    "label": "Body type",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "year": {
    "label": "Year",
    "format": "integer"
  },
  "mileage": {
    "label": "Mileage",
    "format": "integer"
  },
  "fuelType": {
    "label": "Fuel type",
    "format": "string"
  },
  "transmission": {
    "label": "Transmission",
    "format": "string"
  },
  "sellerName": {
    "label": "Seller",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "primaryImageUrl": {
    "label": "Primary image URL",
    "format": "string"
  },
  "galleryImageUrls": {
    "label": "Gallery image URLs",
    "format": "array"
  }
}
```

## About this Actor

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