{"operation":"phones/get","version":"1.0.3","status":"pilot","title":"Get a seller's phone number","summary":"The phone number a seller shows on one leboncoin.fr listing, read with a connected Leboncoin account.","use_when":"You have a listing that shows a phone (`has_phone` in leboncoin/listings/search) and need the seller's number. A listing without the \"Voir le numéro\" button has none: do not ask for it. One call reads one listing, and each connected account reads about one number a minute: a busy account answers at once with `retry_after`, the seconds until its next slot.","categories":["Lead generation","Real estate","Cars"],"icon":"phone","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/locations/3000000001"]},"account":{"type":"string","pattern":"^acc_[A-Za-z0-9]+$","description":"The connected Leboncoin account to read with (GET /v2/accounts). Left out, the platform takes the first of your Leboncoin accounts with a free slot."}}},"requires":{"account":"leboncoin"},"limits":{"per_account":{"calls":1,"per_s":60,"jitter_s":[15,30]},"daily_per_account":300,"when_busy":{"error":"account_rate_limited","retry_after":true}},"record":{"type":"object","required":["object","listing_id","listing_url","phone","account","source_url","observed_at"],"properties":{"object":{"const":"phone"},"listing_id":{"type":"string","description":"Leboncoin's listing id."},"listing_url":{"type":["string","null"],"format":"uri","description":"The listing's address when it was given as a URL; null for an id alone (it does not say the category)."},"phone":{"type":"object","required":["status","number","tracking_number","is_mobile"],"properties":{"status":{"type":"string","enum":["found","none"],"description":"found; none when Leboncoin gave no number: the listing has no \"Voir le numéro\" button (a seller who does not want calls shows none, `has_phone` false), or it is no longer online. Leboncoin answers both the same way; whether a listing is still online is leboncoin/listings/check's question."},"number":{"type":["string","null"],"description":"The seller's own number, E.164 (+33...)."},"tracking_number":{"type":["string","null"],"description":"The relay number Leboncoin shows instead when the seller has call tracking (a call to it reaches the seller and is counted for them), E.164; null when the listing shows the seller's own number."},"is_mobile":{"type":["boolean","null"]}}},"account":{"type":"string","description":"The connected account the number was read with."},"source_url":{"type":"string","format":"uri","description":"The page these values were read from."},"observed_at":{"type":"string","format":"date-time","description":"When they were read","UTC.":null}}},"price":{"credits_per_call":6,"description":"6 credits a call that finds a number. A listing that shows none, a call your accounts' pace or daily quota holds back, and a failed call are free.","free":["none","failed","account_rate_limited","account_quota_exceeded","site_challenge"]},"deadline":{"default_s":15,"max_s":30},"errors":[{"code":"invalid_listing","status":422,"message":"The value is neither a leboncoin.fr listing id nor a listing URL."},{"code":"account_required","status":422,"message":"You have no connected Leboncoin account. Connect one with POST /v2/accounts {\"site\": \"leboncoin\", \"cookies\": ...}, the cookies of a browser where you are logged in to Leboncoin (https://docs.lobstr.io/accounts)."},{"code":"account_rate_limited","status":429,"retryable":true,"detail":true,"message":"Your Leboncoin accounts are paced at about one call a minute; `retry_after` says when the next slot opens. Retrying before then gets this same answer: nothing is queued."},{"code":"account_quota_exceeded","status":429,"retryable":true,"message":"Your Leboncoin accounts reached their calls for today; `retry_after` says when the day starts over (midnight UTC)."},{"code":"account_unusable","status":409,"message":"Leboncoin logged this account out. Connect it again with POST /v2/accounts and fresh cookies from a browser where you are logged in (the same login keeps its id)."},{"code":"site_challenge","status":503,"retryable":true,"message":"Leboncoin asked this account to prove it is a person. Open leboncoin.fr in the browser the account syncs from, then retry (not charged)."},{"code":"site_unavailable","status":503,"retryable":true,"message":"Leboncoin did not answer in time; retry later (not charged)."}],"examples":[{"request":{"listing":"3000000001","account":"acc_7Hq2Kd"},"records":[{"object":"phone","listing_id":"3000000001","listing_url":"https://www.leboncoin.fr/ad/locations/3000000001","phone":{"status":"found","number":"+33600000000","tracking_number":null,"is_mobile":true},"account":"acc_7Hq2Kd","source_url":"https://www.leboncoin.fr/ad/locations/3000000001","observed_at":"2026-11-09T09:12:44Z"}]},{"request":{"listing":"https://www.leboncoin.fr/ad/voitures/3000000002"},"records":[{"object":"phone","listing_id":"3000000002","listing_url":"https://www.leboncoin.fr/ad/voitures/3000000002","phone":{"status":"none","number":null,"tracking_number":null,"is_mobile":null},"account":"acc_7Hq2Kd","source_url":"https://www.leboncoin.fr/ad/voitures/3000000002","observed_at":"2026-11-09T09:13:58Z"}]}],"health":{"every_h":6,"canaries":[{"from":"leboncoin/listings/search","where":"has_phone","account":"monitoring","expect":{"phone.status":"found"}}],"required_fields":["listing_id","phone.status","observed_at"]},"changelog":[{"version":"1.0.3","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.2","date":"2026-11-02","notes":"A listing no longer online that Leboncoin answers with a 410 reads phone.status none too (it read as site_unavailable). Leboncoin's anti-bot page is recognized by its content whatever its status (403, 404, 202), so a blocked call is never read as a listing without a number."},{"version":"1.0.1","date":"2026-11-02","notes":"A listing without the \"Voir le numéro\" button, or no longer online, reads phone.status none (free) instead of the error listing_not_found: Leboncoin answers both the same way, and a listing without a number was said removed when it was not."},{"version":"1.0.0","date":"2026-11-02","notes":"First version on the API v2."}],"object":"operation","id":"leboncoin/phones/get","site":{"title":"Leboncoin","domain":"leboncoin.fr","color":"#FF7A3D"}}