Skip to main content
POST
/
api
/
kleinanzeigen
/
listings
/
similar
/kleinanzeigen/listings/similar
curl --request POST \
  --url https://api.anysite.io/api/kleinanzeigen/listings/similar \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ad": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@kleinanzeigen_ad_card",
    "title": "<string>",
    "price": 123,
    "currency": "EUR",
    "is_negotiable": false,
    "is_free": false,
    "description": "<string>",
    "postal_code": "<string>",
    "state": "<string>",
    "city": "<string>",
    "posted_at": "<string>",
    "shipping_available": false,
    "image": "<string>",
    "image_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
ad
string
required

Kleinanzeigen ad ID or a listing URL to find related ads for

Minimum string length: 1
Examples:

"3430224747"

"https://www.kleinanzeigen.de/s-anzeige/title/3430224747-217-3151"

count
integer
required

Max number of related ads to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@kleinanzeigen_ad_card
title
string | null
price
number | null
currency
string
default:EUR
is_negotiable
boolean
default:false
is_free
boolean
default:false
description
string | null
postal_code
string | null
state
string | null
city
string | null
posted_at
string | null
shipping_available
boolean
default:false
image
string | null
image_count
integer | null