Kleinanzeigen

Open a Kleinanzeigen session with the account's own credentials. Returns an opaque session id to carry in the x-session-id header on the session routes. The portal's own session is the only thing kept, sealed at rest; the password is not stored and cannot be read back out of the session. A Kleinanzeigen account is created in the Kleinanzeigen Android app, not through this API. Its password form is the one step behind a bot guard, so a plain HTTP client cannot post it: run that sign-in once in a browser, keep the refresh token it yields and send it as `login_token` instead of `password`. Everything after the login runs without a browser.

Live endpoint. Credit cost: 1 (1 request = 1 credit).

post/v1/kleinanzeigen/login

Request

  • Base URL: https://api.scraper-api.com
  • URL: https://api.scraper-api.com/v1/kleinanzeigen/login
  • Auth: API key in header x-api-key

Request body

usernamestring required

The portal account's e-mail address, or its phone number in +49… form where the platform signs in with one.

passwordstring

The portal account's password, or the one-time code where the platform has no password.

login_tokenstring

The token the challenge route handed back, which binds the code to the attempt it was sent for. On a portal that only asks for a code when it does not recognise the sign-in, this carries that mailed code itself.

Example request

{
  "username": "name@example.com",
  "password": "•••••••••",
  "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…"
}

Response

Platform-native JSON payload (ScrapeCreators-compatible).

Changes

No recorded changes to this operation across all 1 revision of this API.