Skip to main content
POST
/
api
/
autoscout24
/
listings
/
search
/autoscout24/listings/search
curl --request POST \
  --url https://api.anysite.io/api/autoscout24/listings/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "make": "<string>",
  "model": "<string>",
  "article_type": "C",
  "countries": [],
  "zip": "<string>",
  "radius_km": 2,
  "conditions": [],
  "body_types": [],
  "fuel_types": [],
  "transmissions": [],
  "drivetrains": [],
  "price_from": 1,
  "price_to": 1,
  "registration_year_from": 1901,
  "registration_year_to": 1901,
  "mileage_from": 1,
  "mileage_to": 1,
  "power_unit": "kw",
  "power_from": 1,
  "power_to": 1,
  "seats_from": 2,
  "seats_to": 2,
  "doors_from": 2,
  "doors_to": 2,
  "equipment": [],
  "conditions_equipment": [],
  "exterior_colors": [],
  "interior_colors": [],
  "paint_types": [],
  "upholstery_types": [],
  "emission_class_from": 3,
  "online_since_days": 2,
  "previous_owners_to": 2,
  "keyword": "<string>",
  "sort": "standard",
  "descending": false
}
'
import requests

url = "https://api.anysite.io/api/autoscout24/listings/search"

payload = {
"count": 2,
"timeout": 300,
"make": "<string>",
"model": "<string>",
"article_type": "C",
"countries": [],
"zip": "<string>",
"radius_km": 2,
"conditions": [],
"body_types": [],
"fuel_types": [],
"transmissions": [],
"drivetrains": [],
"price_from": 1,
"price_to": 1,
"registration_year_from": 1901,
"registration_year_to": 1901,
"mileage_from": 1,
"mileage_to": 1,
"power_unit": "kw",
"power_from": 1,
"power_to": 1,
"seats_from": 2,
"seats_to": 2,
"doors_from": 2,
"doors_to": 2,
"equipment": [],
"conditions_equipment": [],
"exterior_colors": [],
"interior_colors": [],
"paint_types": [],
"upholstery_types": [],
"emission_class_from": 3,
"online_since_days": 2,
"previous_owners_to": 2,
"keyword": "<string>",
"sort": "standard",
"descending": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
make: '<string>',
model: '<string>',
article_type: 'C',
countries: [],
zip: '<string>',
radius_km: 2,
conditions: [],
body_types: [],
fuel_types: [],
transmissions: [],
drivetrains: [],
price_from: 1,
price_to: 1,
registration_year_from: 1901,
registration_year_to: 1901,
mileage_from: 1,
mileage_to: 1,
power_unit: 'kw',
power_from: 1,
power_to: 1,
seats_from: 2,
seats_to: 2,
doors_from: 2,
doors_to: 2,
equipment: [],
conditions_equipment: [],
exterior_colors: [],
interior_colors: [],
paint_types: [],
upholstery_types: [],
emission_class_from: 3,
online_since_days: 2,
previous_owners_to: 2,
keyword: '<string>',
sort: 'standard',
descending: false
})
};

fetch('https://api.anysite.io/api/autoscout24/listings/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/autoscout24/listings/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'make' => '<string>',
'model' => '<string>',
'article_type' => 'C',
'countries' => [

],
'zip' => '<string>',
'radius_km' => 2,
'conditions' => [

],
'body_types' => [

],
'fuel_types' => [

],
'transmissions' => [

],
'drivetrains' => [

],
'price_from' => 1,
'price_to' => 1,
'registration_year_from' => 1901,
'registration_year_to' => 1901,
'mileage_from' => 1,
'mileage_to' => 1,
'power_unit' => 'kw',
'power_from' => 1,
'power_to' => 1,
'seats_from' => 2,
'seats_to' => 2,
'doors_from' => 2,
'doors_to' => 2,
'equipment' => [

],
'conditions_equipment' => [

],
'exterior_colors' => [

],
'interior_colors' => [

],
'paint_types' => [

],
'upholstery_types' => [

],
'emission_class_from' => 3,
'online_since_days' => 2,
'previous_owners_to' => 2,
'keyword' => '<string>',
'sort' => 'standard',
'descending' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.anysite.io/api/autoscout24/listings/search"

payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"make\": \"<string>\",\n \"model\": \"<string>\",\n \"article_type\": \"C\",\n \"countries\": [],\n \"zip\": \"<string>\",\n \"radius_km\": 2,\n \"conditions\": [],\n \"body_types\": [],\n \"fuel_types\": [],\n \"transmissions\": [],\n \"drivetrains\": [],\n \"price_from\": 1,\n \"price_to\": 1,\n \"registration_year_from\": 1901,\n \"registration_year_to\": 1901,\n \"mileage_from\": 1,\n \"mileage_to\": 1,\n \"power_unit\": \"kw\",\n \"power_from\": 1,\n \"power_to\": 1,\n \"seats_from\": 2,\n \"seats_to\": 2,\n \"doors_from\": 2,\n \"doors_to\": 2,\n \"equipment\": [],\n \"conditions_equipment\": [],\n \"exterior_colors\": [],\n \"interior_colors\": [],\n \"paint_types\": [],\n \"upholstery_types\": [],\n \"emission_class_from\": 3,\n \"online_since_days\": 2,\n \"previous_owners_to\": 2,\n \"keyword\": \"<string>\",\n \"sort\": \"standard\",\n \"descending\": false\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/autoscout24/listings/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"make\": \"<string>\",\n \"model\": \"<string>\",\n \"article_type\": \"C\",\n \"countries\": [],\n \"zip\": \"<string>\",\n \"radius_km\": 2,\n \"conditions\": [],\n \"body_types\": [],\n \"fuel_types\": [],\n \"transmissions\": [],\n \"drivetrains\": [],\n \"price_from\": 1,\n \"price_to\": 1,\n \"registration_year_from\": 1901,\n \"registration_year_to\": 1901,\n \"mileage_from\": 1,\n \"mileage_to\": 1,\n \"power_unit\": \"kw\",\n \"power_from\": 1,\n \"power_to\": 1,\n \"seats_from\": 2,\n \"seats_to\": 2,\n \"doors_from\": 2,\n \"doors_to\": 2,\n \"equipment\": [],\n \"conditions_equipment\": [],\n \"exterior_colors\": [],\n \"interior_colors\": [],\n \"paint_types\": [],\n \"upholstery_types\": [],\n \"emission_class_from\": 3,\n \"online_since_days\": 2,\n \"previous_owners_to\": 2,\n \"keyword\": \"<string>\",\n \"sort\": \"standard\",\n \"descending\": false\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.anysite.io/api/autoscout24/listings/search")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"make\": \"<string>\",\n \"model\": \"<string>\",\n \"article_type\": \"C\",\n \"countries\": [],\n \"zip\": \"<string>\",\n \"radius_km\": 2,\n \"conditions\": [],\n \"body_types\": [],\n \"fuel_types\": [],\n \"transmissions\": [],\n \"drivetrains\": [],\n \"price_from\": 1,\n \"price_to\": 1,\n \"registration_year_from\": 1901,\n \"registration_year_to\": 1901,\n \"mileage_from\": 1,\n \"mileage_to\": 1,\n \"power_unit\": \"kw\",\n \"power_from\": 1,\n \"power_to\": 1,\n \"seats_from\": 2,\n \"seats_to\": 2,\n \"doors_from\": 2,\n \"doors_to\": 2,\n \"equipment\": [],\n \"conditions_equipment\": [],\n \"exterior_colors\": [],\n \"interior_colors\": [],\n \"paint_types\": [],\n \"upholstery_types\": [],\n \"emission_class_from\": 3,\n \"online_since_days\": 2,\n \"previous_owners_to\": 2,\n \"keyword\": \"<string>\",\n \"sort\": \"standard\",\n \"descending\": false\n}"

response = http.request(request)
puts response.read_body
[
  {
    "id": "<string>",
    "@type": "AutoScout24Listing",
    "url": "<string>",
    "make": "<string>",
    "model": "<string>",
    "model_group": "<string>",
    "variant": "<string>",
    "model_version": "<string>",
    "price": 123,
    "mileage_km": 123,
    "first_registration": "<string>",
    "power_kw": 123,
    "power_hp": 123,
    "fuel": "<string>",
    "transmission": "<string>",
    "body_type": "<string>",
    "displacement_cc": 123,
    "offer_type": "<string>",
    "is_new": false,
    "is_damaged": false,
    "image": "<string>",
    "images": [],
    "location": {
      "@type": "AutoScout24Location",
      "country_code": "<string>",
      "zip": "<string>",
      "city": "<string>",
      "street": "<string>",
      "latitude": 123,
      "longitude": 123
    },
    "seller": {
      "@type": "AutoScout24Seller",
      "id": "<string>",
      "type": "<string>",
      "is_dealer": false,
      "company_name": "<string>",
      "contact_name": "<string>",
      "image": "<string>",
      "alias": "<string>",
      "info_url": "<string>",
      "culture": "<string>",
      "phones": []
    }
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
make
string | null
Minimum string length: 1
model
string | null
Minimum string length: 1
article_type
enum<string>
default:C
Available options:
C,
B,
N,
X,
L
countries
enum<string>[]
Available options:
A,
B,
D,
E,
F,
I,
L,
NL
zip
string | null
Minimum string length: 1
radius_km
integer | null
Required range: x >= 1
conditions
enum<string>[]
Available options:
N,
U,
J,
O,
D,
S
body_types
enum<integer>[]
Available options:
1,
2,
3,
4,
5,
6,
7,
12,
13
fuel_types
enum<string>[]
Available options:
2,
3,
B,
C,
D,
E,
H,
L,
M,
O
transmissions
enum<string>[]
Available options:
A,
M,
S
drivetrains
enum<string>[]
Available options:
4,
F,
R
price_from
integer | null
Required range: x >= 0
price_to
integer | null
Required range: x >= 0
price_type
enum<string> | null
Available options:
private,
dealer
registration_year_from
integer | null
Required range: x >= 1900
registration_year_to
integer | null
Required range: x >= 1900
mileage_from
integer | null
Required range: x >= 0
mileage_to
integer | null
Required range: x >= 0
power_unit
enum<string>
default:kw
Available options:
hp,
kw
power_from
integer | null
Required range: x >= 0
power_to
integer | null
Required range: x >= 0
seller_type
enum<string> | null
Available options:
D,
P
seats_from
integer | null
Required range: x >= 1
seats_to
integer | null
Required range: x >= 1
doors_from
integer | null
Required range: x >= 1
doors_to
integer | null
Required range: x >= 1
cylinders
enum<string> | null
Available options:
3,
4,
6,
8,
10plus
equipment
enum<integer>[]
Available options:
1,
2,
3,
4,
5,
6,
10,
11,
12,
13,
15,
16,
17,
18,
19,
20,
21,
23,
25,
26,
27,
28,
29,
30,
31,
32,
34,
36,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
50,
52,
54,
111,
112,
113,
114,
115,
116,
117,
118,
119,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
170,
173,
174,
187,
189,
190,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
237,
238,
239,
240,
241,
242,
243,
244,
245,
248,
249,
250,
251
conditions_equipment
enum<integer>[]
Available options:
37,
49,
53,
110,
120
exterior_colors
enum<integer>[]
Available options:
1,
2,
3,
4,
5,
6,
7,
10,
11,
12,
13,
14,
15,
16
interior_colors
enum<integer>[]
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
paint_types
enum<string>[]
Available options:
M,
O,
P,
S,
U
upholstery_types
enum<string>[]
Available options:
AL,
CL,
FL,
OT,
PL,
VL
emission_class_from
integer | null
Required range: 1 <= x <= 6
emission_sticker_min
enum<integer> | null
Available options:
1,
2,
3,
4,
5
online_since_days
integer | null
Required range: x >= 1
previous_owners_to
integer | null
Required range: x >= 1
keyword
string | null
Minimum string length: 1
sort
enum<string>
default:standard
Available options:
standard,
price,
financerate,
leasing_rate,
make,
year,
mileage,
power,
age,
distance
descending
boolean
default:false

Response

Successful Response

id
string
required
@type
string
default:AutoScout24Listing
url
string | null
make
string | null
model
string | null
model_group
string | null
variant
string | null
model_version
string | null
price
number | null
mileage_km
integer | null
first_registration
string | null
power_kw
integer | null
power_hp
integer | null
fuel
string | null
transmission
string | null
body_type
string | null
displacement_cc
integer | null
offer_type
string | null
is_new
boolean
default:false
is_damaged
boolean
default:false
image
string | null
images
string[]
location
object | null
seller
object | null