{"operation":"listings/check","version":"1.0.1","status":"pilot","title":"Check a listing is still online","summary":"Whether a leboncoin.fr listing is still online (active, paused by its seller, or gone), with its dates.","use_when":"You have Leboncoin listings (from leboncoin/listings/search, or their URLs) and need to know which are still online: before contacting a seller, to drop sold or expired listings from a list, or to follow a listing over time. One call checks one listing. For what the listing says (its price, its description), use leboncoin/listings/get.","categories":["Real estate","Cars","E-commerce"],"icon":"check","source":"leboncoin","input":{"type":"object","required":["listing"],"additionalProperties":false,"properties":{"listing":{"type":"string","pattern":"^([0-9]+|https://www\\.leboncoin\\.fr/ad/[a-z_]+/[0-9]+)$","description":"The listing's id, or its URL as it appears in the browser.","examples":["3000000001","https://www.leboncoin.fr/ad/voitures/3000000001"]}}},"record":{"type":"object","required":["object","listing_id","url","status","status_code","published_at","republished_at","expires_at","source_url","observed_at"],"properties":{"object":{"const":"listing_status"},"listing_id":{"type":"string","description":"Leboncoin's listing id."},"url":{"type":["string","null"],"format":"uri","description":"The listing's address. Null for a listing gone that was given by its id alone: the id does not say its category, and Leboncoin no longer does."},"status":{"type":"string","description":"active: online, shown in searches. paused: its seller paused it; its page still shows it, searches no longer do. gone: no longer online, whether it expired, was deleted by its seller or by Leboncoin, was sold, or never existed: Leboncoin answers all of these the same way, so no one can tell them apart. Another word is Leboncoin's own for a state it adds, given as it is.","examples":["active","paused","gone"]},"status_code":{"type":"integer","description":"Leboncoin's HTTP status for the listing, 200 when it is online, 410 when it is gone."},"published_at":{"type":["string","null"],"format":"date-time","description":"When the listing was first published, UTC. Null when it is gone."},"republished_at":{"type":["string","null"],"format":"date-time","description":"When it last went back to the top of the searches (a renewal, an edit, a paid option), UTC."},"expires_at":{"type":["string","null"],"format":"date-time","description":"When Leboncoin will take it offline unless renewed, UTC, when Leboncoin says so (some listings only)."},"source_url":{"type":"string","format":"uri","description":"The page or address these values were read from."},"observed_at":{"type":"string","format":"date-time","description":"When they were read","UTC.":null}}},"price":{"credits_per_call":1,"description":"1 credit a call, a listing checked, online or not: a listing gone is an answer. A failed call, Leboncoin's check that a person is there included, is free.","free":["failed","site_challenge"]},"deadline":{"default_s":20,"max_s":40},"errors":[{"code":"invalid_listing","status":422,"message":"The value is neither a leboncoin.fr listing id nor a listing URL."},{"code":"site_challenge","status":503,"retryable":true,"message":"Leboncoin asked to prove a person is there; retry in a minute (not charged)."},{"code":"site_unavailable","status":503,"retryable":true,"message":"Leboncoin did not answer in time or refused the call; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"Leboncoin answered in a shape we do not read yet; we are told and fix it, and it is not charged."}],"examples":[{"request":{"listing":"https://www.leboncoin.fr/ad/voitures/3000000001"},"records":[{"object":"listing_status","listing_id":"3000000001","url":"https://www.leboncoin.fr/ad/voitures/3000000001","status":"active","status_code":200,"published_at":"2026-11-10T14:46:42Z","republished_at":"2026-11-10T14:46:42Z","expires_at":"2027-01-09T14:46:42Z","source_url":"https://www.leboncoin.fr/ad/voitures/3000000001","observed_at":"2026-11-10T17:02:11Z"}]},{"request":{"listing":"3000000002"},"records":[{"object":"listing_status","listing_id":"3000000002","url":null,"status":"gone","status_code":410,"published_at":null,"republished_at":null,"expires_at":null,"source_url":"https://api.leboncoin.fr/finder/classified/3000000002","observed_at":"2026-11-10T17:02:14Z"}]}],"health":{"canaries":[{"from":"leboncoin/listings/search","expect":{"status":"active"}},{"listing":"1","min_records":1,"expect":{"status":"gone"}}],"required_fields":["listing_id","status","status_code","observed_at"]},"changelog":[{"version":"1.0.1","date":"2026-11-23","notes":"Said outright: the Price section says what a call costs and what is free, as charged. Nothing changes in the answers or in what a call costs."},{"version":"1.0.0","date":"2026-11-10","notes":"First version on the API v2, in place of the v1 Leboncoin Listing Status Checker: one listing a call, no account, its state (active, paused, gone) with Leboncoin's status code and the listing's dates."}],"object":"operation","id":"leboncoin/listings/check","site":{"title":"Leboncoin","domain":"leboncoin.fr","color":"#FF7A3D"}}