Create a leboncoin classified ad
Input
price requiredAsking price in euros.
title requiredAd title. leboncoin derives the category suggestions from this, so it must describe the item (e.g. "Vélo de ville adulte").
lastName requiredSeller last name, required by the form.
location requiredStreet address to advertise from, e.g. "12 rue Duphot Paris". Resolved against leboncoin's own address suggestions; the first suggestion is taken and returned in resolvedLocation.
firstName requiredSeller first name, required by the form.
description requiredAd body text.
imageBase64 requiredThe ad photo as base64 (PNG or JPEG), without a data: prefix. leboncoin refuses to publish an ad with no photo.
dryRun optionalTrue (default) fills the entire form and stops on the boost step without publishing. Set false to actually publish, which takes the free option only.
Default: trueOutput
title requireddryRun requiredpublished requiredTrue only when the confirmation screen was reached. False on a dry run.
categoryChosen requiredThe category leboncoin suggested for this title and the script selected.
resolvedLocation requiredThe address as leboncoin resolved it from its own suggestions, e.g. "12 Rue Duphot, Paris (75001)".
price optionalconfirmationText optionalThe confirmation screen's message when published; null on a dry run. A newly posted ad sits at "En cours de vérification" until leboncoin reviews it.
