---
title: "Autoline API: used trucks, commercial vehicles as JSON"
description: "Autoline API for used trucks and commercial vehicles: search by category and country, then listings with specs and dealer. 1 credit per successful call."
url: https://perceptlayer.com/apis/autoline
---

[APIs](https://perceptlayer.com/apis) / [Cars](https://perceptlayer.com/verticals/cars) / Autoline

1 credit per call 3 endpoints 24 datapoints 

# Autoline API

Autoline API for used trucks and commercial vehicles: search by category and country, then listings with specs and dealer. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Autoline

GET /v1/autoline/search?category=c42&location=DE 

```
{
  "success": true,
  "data": {
    "listings": [
      {
        "id": "23081620152249365200",
        "url": "https://autoline.de/-/Verkauf/Sattelzugmaschinen/Mercedes-Benz/Arocs-3358-LS-6x4-Retarder-StreamSpace--23081620152249365200",
        "title": "Mercedes-Benz Arocs 3358 LS 6x4, Retarder, StreamSpace",
        "brand": "Mercedes-Benz",
        "price": 53900,
        "currency": "EUR",
        "price_text": "53900",
        "vat_note": "Ohne MwSt.",
        "images": [
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-Arocs-3358-LS-6x4-Retarder-StreamSpace---1692206122499989810_big--23081620152249365200.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-Arocs-3358-LS-6x4-Retarder-StreamSpace---1692206122554205660_big--23081620152249365200.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-Arocs-3358-LS-6x4-Retarder-StreamSpace---1694106945509627313_big--23081620152249365200.jpg"
        ],
        "photo_count": 5,
        "year": 2016,
        "mileage_km": 447120,
        "power_hp": 578,
        "euro_class": "Euro 6",
        "axle_configuration": "6x4",
        "fuel_type": "Diesel",
        "city": "Bovenden",
        "country": "DE",
        "dealer": "Gassmann GmbH",
        "condition": "UsedCondition",
        "description": "Verkaufsanzeige Mercedes-Benz Arocs 3358 LS 6x4, Retarder, StreamSpace Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 53.900 € ⚡ Baujahr: 2016-11 ⚡ Km-Stand: 447120 km ⚡ DJ35769 ⚡ Autoline Deutschland",
        "category_path": "Тягач",
        "filter_category": "c42",
        "filter_location": "DE"
      },
      {
        "id": "24012501412142605600",
        "url": "https://autoline.de/-/Verkauf/Sattelzugmaschinen/Scania/R-580-8x4-BL-V8-164-to-Nr-096--24012501412142605600",
        "title": "Scania R 580 8x4 BL V8 - 164 to - Nr: 096",
        "brand": "Scania",
        "price": 53431,
        "currency": "EUR",
        "price_text": "53431",
        "vat_note": "Inklusive MwSt",
        "images": [
          "https://img.linemedia.com/img/s/truck-tractor-Scania-R-580-8x4-BL-V8-164-to-Nr-096---1706139681942702733_big--24012501412142605600.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Scania-R-580-8x4-BL-V8-164-to-Nr-096---1706139682015598838_big--24012501412142605600.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Scania-R-580-8x4-BL-V8-164-to-Nr-096---1706139682108645615_big--24012501412142605600.jpg"
        ],
        "photo_count": 5,
        "year": 2016,
        "mileage_km": 461001,
        "power_hp": 581,
        "euro_class": "Euro 6",
        "axle_configuration": "8x4",
        "fuel_type": "Diesel",
        "city": "Regensburg",
        "country": "DE",
        "dealer": "Kornprobst GmbH",
        "condition": "UsedCondition",
        "description": "Verkaufsanzeige Scania R 580 8x4 BL V8 - 164 to - Nr: 096 Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 53.431 € ⚡ Baujahr: 2016-06 ⚡ Km-Stand: 461001 km ⚡ QU38498 ⚡ Autoline Deutschland",
        "category_path": "Тягач",
        "filter_category": "c42",
        "filter_location": "DE"
      },
      {
        "id": "25022705090358332400",
        "url": "https://autoline.de/-/Verkauf/Sattelzugmaschinen/Mercedes-Benz/2143-Spezialgespann-fur-TV-Film-Produktion--25022705090358332400",
        "title": "Mercedes-Benz 2143 Spezialgespann für TV  Film Produktion + Tieflader Auflieger",
        "brand": "Mercedes-Benz",
        "price": 69900,
        "currency": "EUR",
        "price_text": "69900",
        "vat_note": "Ohne MwSt.",
        "images": [
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-2143-Spezialgespann-fur-TV-Film-Produktion---1740625743688528314_big--25022705090358332400.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-2143-Spezialgespann-fur-TV-Film-Produktion---1740625743820526928_big--25022705090358332400.jpg",
          "https://img.linemedia.com/img/s/truck-tractor-Mercedes-Benz-2143-Spezialgespann-fur-TV-Film-Produktion---1740625743939879372_big--25022705090358332400.jpg"
        ],
        "photo_count": 5,
        "year": 2016,
        "mileage_km": 330125,
        "power_hp": 428,
        "euro_class": "Euro 6",
        "axle_configuration": "4x2",
        "fuel_type": "Diesel",
        "city": "Sottrum",
        "country": "DE",
        "dealer": "Nutzfahrzeuge 2000 GmbH",
        "condition": "UsedCondition",
        "description": "Verkaufsanzeige Mercedes-Benz 2143 Spezialgespann für TV  Film Produktion Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 69.900 € ⚡ Baujahr: 2016 ⚡ Km-Stand: 330125 km ⚡ ZX44535 ⚡ Autoline Deutschland",
        "category_path": "Тягач",
        "filter_category": "c42",
        "filter_location": "DE"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 23,
      "count": 27,
      "has_more": true,
      "next_page": 2
    },
    "aggregate_offer": {
      "offer_count": 1541,
      "low_price": 5900,
      "high_price": 130000,
      "currency": "EUR"
    },
    "category_path": [
      "Autoline",
      "Sattelzugmaschinen",
      "Sattelzugmaschinen aus Deutschland"
    ],
    "id_signature": "f3b8f4d1e567909542baa30a129857646f01987c"
  },
  "meta": {
    "duration_ms": 2001,
    "endpoint_family": "search",
    "request_id": "req_f47a391c45f24f93b53fac958fc0521b",
    "credits_charged": 1,
    "credits_remaining": 4986
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | url url | title string | brand string | price integer | currency string | price\_text string | vat\_note string | images string\[\] | photo\_count integer | year integer | mileage\_km integer | power\_hp integer | euro\_class string | axle\_configuration string | fuel\_type string | city string | country string | dealer string | condition string | description string | category\_path string | filter\_category string | filter\_location string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 23081620152249365200 | https://autoline.de/-/Verkauf/Sattelzugmaschinen/Mercedes-Benz/Arocs-3358-LS-6x4-Retarder-StreamSpace--23081620152249365200 | Mercedes-Benz Arocs 3358 LS 6x4, Retarder, StreamSpace | Mercedes-Benz | 53900 | EUR | 53900 | Ohne MwSt. | \[3 items\] | 5 | 2016 | 447120 | 578 | Euro 6 | 6x4 | Diesel | Bovenden | DE | Gassmann GmbH | UsedCondition | Verkaufsanzeige Mercedes-Benz Arocs 3358 LS 6x4, Retarder, StreamSpace Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 53.900 € ⚡ Baujahr: 2016-11 ⚡ Km-Stand: 447120 km ⚡ DJ35769 ⚡ Autoline Deutschland | Тягач | c42 | DE |
| 2 | 24012501412142605600 | https://autoline.de/-/Verkauf/Sattelzugmaschinen/Scania/R-580-8x4-BL-V8-164-to-Nr-096--24012501412142605600 | Scania R 580 8x4 BL V8 - 164 to - Nr: 096 | Scania | 53431 | EUR | 53431 | Inklusive MwSt | \[3 items\] | 5 | 2016 | 461001 | 581 | Euro 6 | 8x4 | Diesel | Regensburg | DE | Kornprobst GmbH | UsedCondition | Verkaufsanzeige Scania R 580 8x4 BL V8 - 164 to - Nr: 096 Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 53.431 € ⚡ Baujahr: 2016-06 ⚡ Km-Stand: 461001 km ⚡ QU38498 ⚡ Autoline Deutschland | Тягач | c42 | DE |
| 3 | 25022705090358332400 | https://autoline.de/-/Verkauf/Sattelzugmaschinen/Mercedes-Benz/2143-Spezialgespann-fur-TV-Film-Produktion--25022705090358332400 | Mercedes-Benz 2143 Spezialgespann für TV Film Produktion + Tieflader Auflieger | Mercedes-Benz | 69900 | EUR | 69900 | Ohne MwSt. | \[3 items\] | 5 | 2016 | 330125 | 428 | Euro 6 | 4x2 | Diesel | Sottrum | DE | Nutzfahrzeuge 2000 GmbH | UsedCondition | Verkaufsanzeige Mercedes-Benz 2143 Spezialgespann für TV Film Produktion Sattelzugmaschine in Deutschland ⏩ Zugmaschine ⚡ SZM ⚡ Preis: 69.900 € ⚡ Baujahr: 2016 ⚡ Km-Stand: 330125 km ⚡ ZX44535 ⚡ Autoline Deutschland | Тягач | c42 | DE |

Recorded from our API · 3 items shown · 24 datapoints per item GET /v1/autoline/search?category=c42&location=DE

24 datapoints

### Identity

-   id string
-   title string
-   brand string
-   fuel\_type string
-   category\_path string
-   filter\_category string

### Contact

-   url url

### Location

-   city string
-   country string
-   filter\_location string

### Reputation

-   images string\[\]
-   photo\_count integer

### Price

-   price integer
-   currency string
-   price\_text string
-   dealer string

### Other

-   vat\_note string
-   year integer
-   mileage\_km integer
-   power\_hp integer
-   euro\_class string
-   axle\_configuration string
-   condition string
-   description string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/autoline/search?category=c42&location=DE" \
  -H "X-API-Key: $API_KEY"
```

Autoline · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/autoline/autocomplete`](https://perceptlayer.com/apis/autoline/autocomplete) | `q` | `num` `href` `text` `rating` `project_name` `id` | 1 credit |
| [GET `/v1/autoline/detail`](https://perceptlayer.com/apis/autoline/detail) | `id` | `listing` | 1 credit |
| [GET `/v1/autoline/search`](https://perceptlayer.com/apis/autoline/search) | none +8 optional | `listings` `pagination` `aggregate_offer` `category_path` `id_signature` | 1 credit |

Overview

## About the Autoline API

## What you can get

The Autoline API returns commercial vehicle listings from Autoline as JSON through 3 endpoints. Prices are in EUR.

-   **Search:** `search` takes a `category` id (such as `c42`, truck tractors), with `make`, `model`, `year`, `location` (a country code such as `DE`), `sort` ( `price-desc`) and `page`. For later pages, pass `previous_signature`.
-   **Listings:** `detail` takes a listing `id`.
-   **Autocomplete:** `autocomplete` takes `q` and suggests categories by make, each with an `id` and a listing count.

The recorded search for category `c42` in Germany returns `listings`, each with `id`, `title`, `brand`, `price`, `currency`, `vat_note`, `year`, `mileage_km`, `power_hp`, `euro_class`, `axle_configuration`, `fuel_type`, `city`, `country`, `dealer`, `condition` and `images`. It also returns an `aggregate_offer`: 1,544 offers priced from 5,900 to 130,000 EUR. The recorded `detail` call for a 2021 Mercedes-Benz Actros 1846 at 29,900 EUR adds `first_registration`, `placed_on`, `specifications`, `spec_map`, the `dealer` with its `url`, `location` and `offers`.

## How a call works

Search, then look up: `GET /v1/autoline/search?category=c42&location=DE` with your key in the `X-API-Key` header returns each listing's `id`; `detail` takes that `id`. Not sure of the category id? `GET /v1/autoline/autocomplete?q=DAF` returns suggestions such as `c42tm2525` (DAF truck tractors, 3,934 listings in the recording). Search pages hold about 23 listings; check `pagination.has_more` and request `next_page`. Every successful call costs 1 credit; failed calls cost nothing.

Cars JSON REST MCP

### More cars APIs

[Agriaffaires](https://perceptlayer.com/apis/agriaffaires) [Aramisauto](https://perceptlayer.com/apis/aramisauto) [Autohero](https://perceptlayer.com/apis/autohero) [AutoScout24](https://perceptlayer.com/apis/autoscout24) [AutoTempest](https://perceptlayer.com/apis/autotempest) [AutoTrack.nl](https://perceptlayer.com/apis/autotrack-nl) [Autotrader](https://perceptlayer.com/apis/autotrader) [AutoTrader UK](https://perceptlayer.com/apis/autotrader-uk) [AutoTrader.ca](https://perceptlayer.com/apis/autotrader-ca) [AutoUncle](https://perceptlayer.com/apis/autouncle) [Autovit](https://perceptlayer.com/apis/autovit) [Bilbasen](https://perceptlayer.com/apis/bilbasen)

Use cases

### Track asking prices for used truck tractors by make, model and year

`Use the Autoline API to track asking prices for used truck tractors by make, model and year` 

### Watch the price range and offer count of a vehicle category in one country

`Use the Autoline API to watch the price range and offer count of a vehicle category in one country` 

### Pull full specs, mileage and Euro class for a listing before you bid

`Use the Autoline API to pull full specs, mileage and Euro class for a listing before you bid` 

### Monitor a dealer's stock on Autoline

`Use the Autoline API to monitor a dealer's stock on Autoline` 

FAQ

## Questions

**How much does the Autoline API cost?**

Each successful call costs 1 credit, for \`search\`, \`detail\` and \`autocomplete\`. Failed calls cost nothing.

**Which vehicles and countries are covered?**

Commercial vehicles listed on Autoline, such as trucks and truck tractors. \`search\` filters by \`location\`, a country code; the recording used \`DE\`. Some listing text comes back in German, the language of the listing.

**Where do category ids come from?**

From \`autocomplete\`, which returns ids such as \`c42tm2525\` for a make within a category, or from the \`filter\_category\` on search results.

**Do I need an Autoline account?**

No. You call this Autoline API with your Perceptlayer key in the \`X-API-Key\` header, with no Autoline login.

**Is this the official Autoline API?**

No. Perceptlayer is an independent service and is not affiliated with Autoline. It returns Autoline data as JSON with a Perceptlayer key, so there is no Autoline developer account, app review or partner approval to get first. It only reads data: if Autoline has an official API and you need to act on your own Autoline account, such as posting, managing orders or reading private data, use that one.

**Should I build an Autoline scraper instead?**

You can, but an Autoline scraper is code you maintain: page changes break it, requests get blocked, and Autoline's terms govern how you collect data. The Autoline API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Autoline API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
