# Truck1 Scraper — Used Trucks & Commercial Vehicles EU (`crawloop/truck1-scraper`) Actor

Scrape Truck1 used trucks, trailers, buses, and construction equipment: prices, mileage, Euro class, axle config, specs, images, and dealer company info. Category crawl or startUrls. Listings or details mode. Fast HTTP via curl\_cffi.

- **URL**: https://apify.com/crawloop/truck1-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 scraped truck1 details

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## Truck1 Scraper — Used Trucks & Commercial Vehicles Europe

> **Disclaimer:** Unofficial integration for publicly accessible Truck1 listings. Not affiliated with, sponsored by, or endorsed by Truck1 or its operators. Trademarks belong to their respective owners.
>
> This Actor is provided **for informational and research purposes only** (market research, inventory monitoring, pricing workflows). You are solely responsible for ensuring your use complies with applicable laws, platform terms of use, and your organization's policies.
>
> No warranty is given as to accuracy, completeness, or continued availability of third-party data. Use at your own risk.

Scrape **used trucks**, **tractor units**, **trailers**, **vans**, **buses**, **construction machinery**, and related commercial equipment from Truck1 into clean JSON. Built for European B2B workflows: fleet sourcing, dealer intelligence, market pricing, and inventory monitoring.

Supports **category crawls**, **brand filters**, **start URLs**, and **direct listing pages**. Choose `listings` mode for fast card-level catalogs or `details` mode for full product pages with technical specs, image galleries, Euro emission class, axle configuration, transmission, and seller company context (no phone numbers).

Lightweight HTTP extraction with TLS fingerprinting — no headless browser overhead.

### When to use this Actor

Use the **Truck1 Scraper** when you need:

- **Asking prices** and currency for used commercial vehicles across Europe
- **Technical attributes** — year, mileage, power (hp/kW), fuel type, Euro class, axle config (4x2, 6x4, …), transmission, weights, dimensions
- **Dealer / company context** — seller name, address, and country when published on the listing
- **Bulk catalog coverage** — 17 top-level categories (trucks, trailers, construction, agriculture, spare parts, and more)
- **Brand-filtered runs** — e.g. DAF, Volvo, Mercedes-Benz, Scania, MAN

Ideal for truck dealers, fleet buyers, market analysts, and data teams tracking the European used commercial vehicle market.

### Data pipeline

````

Input                              Mode                         Output
─────────────────────────         ────────────────────         ──────────────────────────

Category / brand URL       ──►   listings (fast cards)  ──►  price, year, mileage
Search / filtered URL      ──►   details  (full PDP)   ──►  specs, images, Euro, axle
Direct listing URL         ──►                           ──►  seller company context
categories\[] + make

Join by manufacturer + model ──► price benchmarking & inventory alerts

````

### Key Features

- **17 top-level categories** — trucks, tractor units, semi-trailers, trailers, vans, buses, campers, construction, material handling, agriculture, forestry, municipal, ground support, industrial, swap bodies, spare parts, other machinery.
- **Brand filter** — optional `make` applied as a path segment on category URLs.
- **Two extraction modes** — `listings` for card-level data; `details` for JSON-LD + HTML specs + description heuristics.
- **Deep vehicle attributes** — Euro class, axle configuration, transmission, net/gross weight, dimensions when available on the page or in the description.
- **Seller context without phones** — company name, address, country only.
- **Fast concurrent HTTP** — challenge bypass and parallel detail fetches; residential proxy recommended at scale.

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | sample tippers URL | Category, brand, search, or listing detail URLs. |
| `categories` | Array | `["trucks"]` | Used when `startUrls` is empty. Empty array = all 17 categories. |
| `make` | String | `""` | Optional manufacturer filter (e.g. `DAF`, `Volvo`). |
| `runMode` | String | `"details"` | `"listings"` (cards) or `"details"` (full PDP). |
| `maxItems` | Integer | `100` | Maximum listings to return (`0` = unlimited). |
| `maxPagesPerUrl` | Integer | `5` | Pagination depth per start URL (`0` = until exhausted). |
| `concurrencyLimit` | Integer | `5` | Parallel detail workers (1–20). |
| `proxyConfiguration` | Object | Apify Proxy | Residential proxies recommended for large runs. |

#### Input example

```json
{
  "startUrls": [
    { "url": "https://www.truck1.eu/trucks/tippers" }
  ],
  "make": "",
  "runMode": "details",
  "maxItems": 50,
  "maxPagesPerUrl": 3,
  "concurrencyLimit": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
````

### Output Format

Each row is pushed to the default dataset.

#### Details mode (enriched)

| Field | Description |
| :--- | :--- |
| `id`, `url`, `title` | Listing identifiers |
| `brand`, `model`, `category` | Vehicle identity |
| `price`, `currency` | Asking price |
| `year`, `mileageKm`, `fuelType` | Core vehicle facts |
| `powerHp`, `powerKw` | Engine power |
| `euroClass`, `axleConfig`, `transmission` | Drivetrain / emissions |
| `netWeightKg`, `grossWeightKg`, `dimensionsMm` | Weights and size |
| `firstRegistrationDate`, `referenceNumber` | Registration / ref |
| `location`, `country` | Listing location |
| `sellerName`, `sellerAddress`, `sellerCountry` | Dealer company (no phone) |
| `description`, `specs`, `images` | Free text, spec map, gallery |

#### Example record

```json
{
  "id": "11572087",
  "title": "DAF XF 530 FAT, 6x4, Kempf 3-Seiten Kipper, Bordmatik",
  "brand": "DAF",
  "model": "XF 530",
  "category": "tippers",
  "price": 59000,
  "currency": "EUR",
  "year": 2018,
  "mileageKm": 602000,
  "fuelType": "Diesel",
  "powerHp": 530,
  "powerKw": 390,
  "euroClass": "Euro 6C",
  "axleConfig": "6x4",
  "transmission": "Automatic",
  "netWeightKg": 11450,
  "grossWeightKg": 26000,
  "sellerName": "Staufen Trucks GmbH",
  "sellerCountry": "DE"
}
```

### Typical Workflow

1. Open a filtered category or brand page on Truck1 (or pick `categories` + optional `make`).
2. Paste the URL into `startUrls`.
3. Set `runMode` to `listings` for a fast index or `details` for full enrichment.
4. Export the dataset as JSON, CSV, or Excel.

# Actor input Schema

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

Category, brand, search, or listing detail URLs on truck1.eu (e.g. https://www.truck1.eu/trucks/tippers, https://www.truck1.eu/trucks/daf, or a direct \*-a123.html detail page). If empty, categories below are used.

## `categories` (type: `array`):

Used when startUrls is empty. Leave empty to scrape all top-level categories.

## `make` (type: `string`):

Optional manufacturer filter (e.g. DAF, Volvo, Mercedes-Benz). Appended as a brand slug on category URLs ( /trucks/daf ). Ignored for direct detail URLs.

## `runMode` (type: `string`):

listings = fast card-level data from search/category pages. details = visit each listing page for JSON-LD, full specs, images, and description heuristics (Euro class, axle config, transmission).

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

Maximum listings to return. 0 = unlimited.

## `maxPagesPerUrl` (type: `integer`):

Pagination depth per category/search URL. Each page has ~20 listings. 0 = until the site has no more pages.

## `concurrencyLimit` (type: `integer`):

Parallel detail-page workers. Keep moderate to avoid rate limits.

## `proxyConfiguration` (type: `object`):

Optional. Residential proxies recommended for large crawls.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.truck1.eu/trucks/tippers"
    }
  ],
  "categories": [
    "trucks"
  ],
  "make": "",
  "runMode": "details",
  "maxItems": 100,
  "maxPagesPerUrl": 5,
  "concurrencyLimit": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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.truck1.eu/trucks/tippers"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/truck1-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.truck1.eu/trucks/tippers" }] }

# Run the Actor and wait for it to finish
run = client.actor("crawloop/truck1-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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.truck1.eu/trucks/tippers"
    }
  ]
}' |
apify call crawloop/truck1-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawloop/truck1-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Truck1 Scraper — Used Trucks & Commercial Vehicles EU",
        "description": "Scrape Truck1 used trucks, trailers, buses, and construction equipment: prices, mileage, Euro class, axle config, specs, images, and dealer company info. Category crawl or startUrls. Listings or details mode. Fast HTTP via curl_cffi.",
        "version": "0.1",
        "x-build-id": "SBxazoAb0XgfzHEeI"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawloop~truck1-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawloop-truck1-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawloop~truck1-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawloop-truck1-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawloop~truck1-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawloop-truck1-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Category, brand, search, or listing detail URLs on truck1.eu (e.g. https://www.truck1.eu/trucks/tippers, https://www.truck1.eu/trucks/daf, or a direct *-a123.html detail page). If empty, categories below are used.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "categories": {
                        "title": "Vehicle categories",
                        "type": "array",
                        "description": "Used when startUrls is empty. Leave empty to scrape all top-level categories.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "trucks",
                                "tractor-units",
                                "semi-trailers",
                                "trailers",
                                "vans",
                                "buses",
                                "campers",
                                "construction-machinery",
                                "material-handling-equipment",
                                "agricultural-machinery",
                                "forestry-equipment",
                                "municipal-special-vehicles",
                                "ground-support-equipment",
                                "industrial-equipment",
                                "swap-bodies-containers",
                                "spare-parts",
                                "other-machinery"
                            ],
                            "enumTitles": [
                                "Trucks",
                                "Tractor Units",
                                "Semi-trailers",
                                "Trailers",
                                "Vans",
                                "Buses",
                                "Campers & Motorhomes",
                                "Construction Machinery",
                                "Material Handling Equipment",
                                "Agricultural Machinery",
                                "Forestry Equipment",
                                "Municipal & Special Vehicles",
                                "Ground Support Equipment",
                                "Industrial Equipment",
                                "Swap Bodies & Containers",
                                "Spare Parts",
                                "Other Machinery"
                            ]
                        },
                        "default": [
                            "trucks"
                        ]
                    },
                    "make": {
                        "title": "Make / brand",
                        "type": "string",
                        "description": "Optional manufacturer filter (e.g. DAF, Volvo, Mercedes-Benz). Appended as a brand slug on category URLs ( /trucks/daf ). Ignored for direct detail URLs.",
                        "default": ""
                    },
                    "runMode": {
                        "title": "Run Mode",
                        "enum": [
                            "listings",
                            "details"
                        ],
                        "type": "string",
                        "description": "listings = fast card-level data from search/category pages. details = visit each listing page for JSON-LD, full specs, images, and description heuristics (Euro class, axle config, transmission).",
                        "default": "details"
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum listings to return. 0 = unlimited.",
                        "default": 100
                    },
                    "maxPagesPerUrl": {
                        "title": "Max Pages per Start URL",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Pagination depth per category/search URL. Each page has ~20 listings. 0 = until the site has no more pages.",
                        "default": 5
                    },
                    "concurrencyLimit": {
                        "title": "Max Concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Parallel detail-page workers. Keep moderate to avoid rate limits.",
                        "default": 5
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional. Residential proxies recommended for large crawls.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
