Create a leboncoin classified ad
Input
photo requiredThe ad photo (PNG or JPEG). leboncoin refuses to publish an ad with no photo.
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.
dryRun optionalTrue (default) fills and validates the whole form, including resolving the address, reports what would be posted, and stops before submitting, so no ad is created. Set false to actually publish (free option only). The boost and free-option steps after submitting only run on a real publish.
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.
