markt.de

Send a markt.de message: a reply into conversation_id, or a first contact on ad_id or ad_url. A first contact needs a reCAPTCHA token in `captcha_token`, minted in a browser on the ad's own page: markt.de verifies it with Google, so it cannot be produced here. Without one the portal answers 200 with the contact form again instead of sending. A reply into an existing conversation_id needs no token.

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

post/v1/markt/messages

Request

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

Headers

x-session-idstring required
Example:b6f0a1c2d3e4f5a6b7c8d9e0f1a2b3c4

The session id returned by login. Sent as the x-session-id header.

Request body

messagestring required

The message text.

conversation_idstring

One conversation of the inbox. Omit to list the inbox.

ad_idstring

Start a new thread on this listing (instead of replying to a conversation).

ad_urlstring

The listing's full URL, an alternative to ad_id.

skip_personal_data_check'true' | 'false'

Send even though the portal flagged a phone number or address in the text.

sender_phonestring

Phone number to pass along with a first contact.

display_phone'true' | 'false'

Show that phone number to the recipient.

ignore_warning'true' | 'false'

Send even though the portal warned about the text.

captcha_tokenstring

reCAPTCHA token, where the portal's form demands one.

Example request

{
  "message": "Ist der Artikel noch verfuegbar?",
  "conversation_id": "412778905",
  "ad_id": "5i79di5993027eh1d70e6f5d9g0h5h66",
  "ad_url": "https://www.quoka.de/anzeigen/…/5i79di…html",
  "sender_phone": "+4915112345678",
  "captcha_token": "03AGdBq26…"
}

Response

Platform-native JSON payload (ScrapeCreators-compatible).

Changes

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