# Trailer Trader New & Used Listings Scraper (`vexaloom-labs/trailer-trader-new-and-used-listings-scraper`) Actor

Browse trailertrader.com by category to get price, brand, condition, seller and photos for new and used US trailer listings - cargo, utility, horse, dump, gooseneck and toy-hauler types.

- **URL**: https://apify.com/vexaloom-labs/trailer-trader-new-and-used-listings-scraper.md
- **Developed by:** [vexaloom-labs](https://apify.com/vexaloom-labs) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Trailer Trader New & Used Listings Scraper

Trailer Trader (trailertrader.com) is a free U.S. marketplace with hundreds of thousands of new and used trailer listings, from cargo/enclosed and utility trailers to horse trailers, dump trailers, and toy haulers. This actor browses the site by category and returns title, price, brand, condition, seller, and photos for every listing found. No login or API key required.

### What this actor does

- **22 curated categories** covering the site's full taxonomy (enclosed/cargo, utility, horse & livestock, dump, gooseneck variants, toy haulers, and more), or type a custom category slug
- **Sort by** relevance (the site's own order), price low-to-high, or price high-to-low
- **Condition filter** (any / new / used)
- **Max price filter**
- **Model year filter** (min/max, parsed from each listing's title)
- **Every field the site publishes in its own structured listing data** — title, price, brand, category, condition, seller, description, and photo
- **Empty fields are omitted**

### Output per listing

- `listingId`, `title`, `sourceUrl` — canonical Trailer Trader listing URL
- `category` — the specific trailer type/category
- `brand` — manufacturer, when listed
- `condition` — `New` or `Used`
- `year` — model year, parsed from the listing title, when present
- `price`, `currency`
- `availability` — e.g. `InStock`, when Trailer Trader publishes it
- `sellerName`
- `description`
- `imageUrl`
- `searchCategory` — the category browsed to find this result
- `country` (always `"United States"`)
- `recordType: "listing"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `category` | string | `enclosed-trailers-for-sale` | One of 22 curated categories |
| `customCategory` | string | – | Exact category slug not in the curated list |
| `sortBy` | string | `relevance` | `relevance` / `priceLowToHigh` / `priceHighToLow` |
| `condition` | string | `any` | `any` / `new` / `used` |
| `maxPrice` | number | – | Only return listings at or below this price |
| `minYear` | integer | – | Only return listings with model year at or above this value |
| `maxYear` | integer | – | Only return listings with model year at or below this value |
| `maxItems` | int | `20` | Hard cap (1–1000) |

#### Example: browse a category

```json
{
  "category": "utility-trailers-for-sale",
  "maxItems": 30
}
```

#### Example: browse a category, cheapest first

```json
{
  "category": "dump-trailers-for-sale",
  "sortBy": "priceLowToHigh",
  "maxItems": 20
}
```

#### Example: filter by condition

```json
{
  "category": "enclosed-trailers-for-sale",
  "condition": "used",
  "maxItems": 20
}
```

#### Example: filter by max price

```json
{
  "category": "enclosed-trailers-for-sale",
  "maxPrice": 8000,
  "maxItems": 20
}
```

#### Example: filter by model year range

```json
{
  "category": "enclosed-trailers-for-sale",
  "minYear": 2024,
  "maxYear": 2026,
  "maxItems": 20
}
```

### Use cases

- **Market research** — survey pricing and availability for a trailer type
- **Price monitoring** — track listing prices over time
- **Lead generation** — build a list of sellers/dealers active in a category
- **Inventory comparison** — compare new vs. used pricing for the same trailer type

### FAQ

**What's the data source?** Trailer Trader's own free public trailer marketplace at `trailertrader.com`. This actor is an independent third-party tool and is not affiliated with Trailer Trader.

**Why did my run return 0 results?** The category genuinely has no listings (rare), or — if using `customCategory` — the slug you typed doesn't exist on the site. **Note:** an invalid category slug does not error; the site silently falls back to its generic "All Trailers" page instead. Stick to the curated `category` dropdown to avoid this, or double-check a custom slug against the site's own category menu first.

**How fresh is the data?** Real-time — the search reflects the marketplace's live listings as of the moment of the search.

**Why is `brand` missing on some listings?** Not every seller fills in a manufacturer/brand field when posting — when it's absent on the listing page, it's left out of the record rather than guessed.

**Can I combine the condition and price filters?** Yes — `condition`, `maxPrice`, `minYear`, and `maxYear` all apply together on top of the chosen `category`.

**Does `sortBy` change what the site itself returns?** No — Trailer Trader's category pages only expose one listing order server-side. `priceLowToHigh`/`priceHighToLow` are applied locally across the listings already fetched for your run.

# Actor input Schema

## `category` (type: `string`):

Trailer category to browse. Pick one of the curated categories, or choose 'Custom category' and type the exact category slug below.

## `customCategory` (type: `string`):

Exact category slug not in the curated list above, as it appears in the site's own category URL (e.g. 'atv-trailers-for-sale'). Takes priority over 'Category' when set. Warning: an invalid/mistyped slug does NOT error -- the site silently falls back to its generic 'All Trailers' listing instead, so double-check the slug against the site's own category menu if using this field.

## `sortBy` (type: `string`):

How to order results. The site itself only returns its own listing order, so price sorting is applied client-side across the fetched batch.

## `condition` (type: `string`):

Only return listings of this condition, as published on each listing's own page. Leave as 'Any' for no filter.

## `maxPrice` (type: `number`):

Only return listings at or below this price (USD). Leave blank for no limit.

## `minYear` (type: `integer`):

Only return listings with a model year at or above this value (parsed from the listing title, e.g. '2024 Triton ...'). Leave blank for no limit.

## `maxYear` (type: `integer`):

Only return listings with a model year at or below this value (parsed from the listing title). Leave blank for no limit.

## `maxItems` (type: `integer`):

Hard cap on the number of listings to return.

## Actor input object example

```json
{
  "category": "enclosed-trailers-for-sale",
  "sortBy": "relevance",
  "condition": "any",
  "maxItems": 20
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped Trailer Trader listings.

# 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 = {
    "category": "enclosed-trailers-for-sale",
    "sortBy": "relevance",
    "condition": "any",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/trailer-trader-new-and-used-listings-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 = {
    "category": "enclosed-trailers-for-sale",
    "sortBy": "relevance",
    "condition": "any",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/trailer-trader-new-and-used-listings-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 '{
  "category": "enclosed-trailers-for-sale",
  "sortBy": "relevance",
  "condition": "any",
  "maxItems": 20
}' |
apify call vexaloom-labs/trailer-trader-new-and-used-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/trailer-trader-new-and-used-listings-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/LyMr0wKvsDc3beLIa/builds/CpemsUWHhoWc8hBNc/openapi.json
