# Autotrade Profile Scraper (`getdataforme/autotrade-profile-scraper`) Actor

Effortlessly extract comprehensive vehicle data from Autotrader.ca, including specs, pricing, images, and dealer details. Reliable, scalable, and error-resilient with structured JSON output for market research, price monitoring, and automation....

- **URL**: https://apify.com/getdataforme/autotrade-profile-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Automation, Other
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Autotrade Profile Scraper

### Introduction

The Autotrade Profile Scraper is a powerful Apify Actor designed to extract detailed vehicle listings from Autotrader.ca. It efficiently scrapes comprehensive data including specifications, pricing, images, and dealer information, enabling users to gather insights from Canadian automotive listings. Ideal for market research, price monitoring, and data aggregation, this tool delivers structured, reliable data to streamline your workflows.

### Features

- **Comprehensive Data Extraction**: Captures key vehicle details such as title, VIN, condition, year, make, model, trim, body type, color, doors, seating, transmission, drivetrain, engine, fuel type, odometer, price, availability, images, dealer info, stock number, features, and Carfax inclusion.
- **High Reliability**: Built on CheerioCrawler for robust web scraping, handling dynamic content and ensuring data accuracy from Autotrader.ca.
- **Scalable Performance**: Processes multiple URLs efficiently, supporting batch scraping for large datasets without compromising speed.
- **Structured Output**: Delivers clean JSON data, easily integrable with databases, APIs, or analytics tools.
- **Error-Resilient**: Includes built-in handling for common scraping challenges like rate limits and page variations.
- **Customizable Inputs**: Accepts a list of start URLs for targeted scraping of specific listings or search results.
- **Privacy-Focused**: Scrapes publicly available data without accessing private accounts or sensitive information.

### Input Parameters

| Parameter | Type   | Required | Description | Example |
|-----------|--------|----------|-------------|---------|
| startUrls | array  | Yes      | An array of URLs to start scraping from. These should be Autotrader.ca listing or search page URLs. | `[{"url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch"}]` |

### Example Usage

#### Input JSON

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch"
    }
  ]
}
```

#### Output JSON

```json
[
  {
    "title": "2022 Ford Bronco",
    "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/",
    "vin": "XXXXXXXXXXXXXXXXX",
    "condition": "UsedCondition",
    "year": "2022",
    "make": "Ford",
    "model": "Bronco",
    "trim": "Base 4 Door 4x4",
    "bodyType": "SUV",
    "color": "Dark Green",
    "doors": "4",
    "seatingCapacity": "5",
    "transmission": "10 Speed Automatic",
    "drivetrain": "4WD",
    "engine": "4 Cylinder Engine",
    "fuelType": "Gas",
    "odometer": {
      "value": 80153,
      "unit": "km"
    },
    "price": {
      "amount": 42888,
      "currency": "CAD"
    },
    "availability": "InStock",
    "images": [
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/1d87f6d7-531e-409b-b29c-a4a99b529856.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/74d5da24-a57d-4967-9816-903fd9a597a6.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/a155f79d-88f8-492c-9001-18146939812c.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/b2125707-8e57-4895-aa4d-f502b9fa291c.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/7d95292f-5253-4e90-abb5-bc372dcd8d49.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/9a7e3874-03ab-47f8-be65-0debf47c1a2a.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/60df5178-a09a-40a2-989f-d52395e7c3c4.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/115daef6-cecd-43be-bd14-6ee2f3e2c270.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/642ae642-f673-4e45-a829-62ad17fc1e80.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/449e65f4-19ef-47ab-9c1f-3e7a17ce9ffc.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/a3c72f9c-a1d2-44dd-940e-6d73180ea01d.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/1b642ea5-d616-4115-8948-8398e8fd7444.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/e4962275-5cb1-4e61-b8b7-46819433c1b4.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/45f9f914-8839-4a87-9707-a853d1c0cd2e.jpg",
      "https://mkt-vehicleimages-prd.autotradercdn.ca/photos/import/202509/1913/0607/63584423-379c-460f-aa15-d87f56ec2df7.jpg"
    ],
    "dealer": {
      "name": "House Of Cars Edmonton",
      "location": "6103 91 St NW, Edmonton, AB T6E 6V6",
      "amvicLicensed": true
    },
    "stock": "PS-0545-E",
    "features": [
      "2.3L EcoBoost turbocharged 4-cylinder engine (300 hp) + 10-speed automatic; 4WD",
      "Removable doors & roof for open-air driving",
      "Terrain Management System with G.O.A.T. Modes (Goes Over Any Terrain)",
      "Cloth interior with heated front seats",
      "8 SYNC 4 touchscreen with Apple CarPlay & Android Auto",
      "Bluetooth connectivity & premium audio",
      "Trail Control & advanced 4x4 capability",
      "17 alloy wheels with all-terrain tires"
    ],
    "carfaxIncluded": true
  }
]
```

### Use Cases

- **Market Research**: Analyze trends in vehicle pricing, availability, and features across regions.
- **Competitive Intelligence**: Monitor competitor listings and pricing strategies.
- **Price Monitoring**: Track price changes for specific models to identify deals.
- **Content Aggregation**: Build databases for automotive blogs, apps, or comparison sites.
- **Academic Research**: Gather data for studies on automotive markets or consumer behavior.
- **Business Automation**: Automate data collection for dealerships or fleet management.

### Installation and Usage

1. Search for "Autotrade Profile Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters (e.g., add start URLs).
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The Actor outputs an array of JSON objects, each representing a vehicle listing. Key fields include basic info (title, URL, VIN), specifications (year, make, model, etc.), pricing (amount and currency), media (images array), dealer details, and additional features. Data is structured for easy parsing, with nested objects for odometer, price, and dealer info. Note that some fields like VIN may be masked or unavailable on certain listings.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

Extract comprehensive vehicle data from Autotrader.ca effortlessly. Features include detailed specs, pricing, images, and dealer info for reliable market insights. Perfect for research, monitoring, and automation. Try it now on Apify Store! (148 characters)

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch"
    }
  ]
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/autotrade-profile-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 = { "startUrls": [{ "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch" }] }

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/autotrade-profile-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 '{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/a/ford/bronco/edmonton/alberta/5_67816748_20201019202014912/?showcpo=ShowCpo&ncse=no&ursrc=xpl&urp=1&urm=8&sprx=-2&lstIdx=1&srtOrd=ScoringProfileBoostDesc&lstName=advancedSearch"
    }
  ]
}' |
apify call getdataforme/autotrade-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/autotrade-profile-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/DjxWTBoXu9UZ6Ub6X/builds/iGLjTdrgRuhmmVcwg/openapi.json
