Skip to content
ListingrailGet an API key

Leboncoin API: listings as JSON

Leboncoin has no API for reading listings. Its official interface only lets agents and their software upload their own listings. Listingrail reads live Leboncoin sale and rent listings (France) and returns them as JSON with one key, in the same format as the other 21 portals.

Leboncoin, a real row2026-11-14
PortalLocationTypePriceRemarks
LeboncoinLyonRent€1,050On market

Is there an official Leboncoin API?

Leboncoin has no public API for searching or reading its ads, and no developer portal for real estate: its help centre has no article on one and its pages for professionals name none. What it offers professionals is automatic posting: an estate agency with a paid professional offer sends its own ads from its business software as a feed (an "Import" account). The one developer site under the Leboncoin name, developer.leboncoin.auto, documents a car valuation API.

Access. Automatic posting is open to professionals only. Leboncoin's help centre says it is not possible without a suitable professional offer, and the way in is a contact form followed by a call from its sales team. Gateway providers such as Ubiflow carry the feed and say a Leboncoin subscription is required.

Price. Leboncoin publishes no price for API access that we could find.

What the official route covers. Posting, updating and removing a professional's own ads through a software feed, with a report of which ads went out. Since September 2024 Leboncoin sells real estate agencies four posting packages for ads sent by import software.

What it does not. Searching ads, reading other advertisers' ads, prices or photos through an official API. Private sellers post by hand.

Documentation. Leboncoin help centre: posting ads automatically

Checked on 2026-11-14; documentation links on 2026-11-14. Sources: Leboncoin help centre: posting ads automatically · Leboncoin help centre: the import posting report · Leboncoin press release: four posting packages for agencies (30 September 2024) · Ubiflow: sending real estate ads to Leboncoin · Leboncoin robots.txt · Leboncoin community forum terms (17 May 2021)

POST this body to /v1/listings/search with your key. leboncoin takes French city or town by its French name as written, e.g. 'Paris', 'Lyon', 'Sarlat-la-Canéda'. One credit per listing returned; up to 500 per request.

The same request reads the other UK and European portals by changing source: Rightmove, Zoopla, Idealista, Immobiliare.it, Funda, ImmoScout24, Kleinanzeigen, Fotocasa, Daft.ie, Otodom, Imovirtual, Hemnet. All of them on one page.

{
  "source": "leboncoin",
  "location": "Lyon",
  "type": "rent",
  "limit": 50
}

Response

The response to that request, with one real Leboncoin listing from 2026-11-14; the other listings follow in the same shape, and the credit numbers are an example for a 10,000-credit key. The portal's own record comes in raw (left out here), and fields Leboncoin does not show a visitor are null.

{
  "source": "leboncoin",
  "location": "Lyon",
  "type": "rent",
  "count": 50,
  "credits_used": 50,
  "credits_remaining": 9950,
  "listings": [
    {
      "id": "3283262104",
      "url": "https://www.leboncoin.fr/ad/locations/3283262104",
      "source": "leboncoin",
      "title": "Beau T2 - Meublé - Terrasse et garage",
      "address": null,
      "city": "Lyon",
      "region": "Rhône-Alpes",
      "postal_code": "69007",
      "country": "FR",
      "lat": 45.74438,
      "lng": 4.83273,
      "price": 1050,
      "currency": "EUR",
      "price_period": "month",
      "beds": 1,
      "rooms": 3,
      "baths": 1,
      "area": 52,
      "area_unit": "sqm",
      "property_type": "Appartement",
      "listed_at": "2026-11-12 20:10:28",
      "photos": [
        "https://img.leboncoin.fr/api/v1/lbcpb1/images/1f/18/09/1f180970d9c4fc6cf1453275654a4262da6dfdae.jpg?rule=ad-image",
        "https://img.leboncoin.fr/api/v1/lbcpb1/images/e7/d9/f5/e7d9f5280ea523f269eeb3b0de28826860301c3f.jpg?rule=ad-image"
      ],
      "agent": {
        "name": null,
        "phone": null,
        "company": "New Home Now"
      },
      "raw": {
        "…": "the portal's own record, left out here"
      }
    },
    "…"
  ]
}

Measured on 14 November 2026: ten searches through this API (Paris, Lyon, Sarlat-la-Canéda, Saint-Malo and Annecy, sale and rent, 20 listings each) answered in 3.8 to 27.0 seconds, nine of them in under 7 seconds.

Python

import requests

r = requests.post(
    "https://listingrail.com/v1/listings/search",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"source":"leboncoin","location":"Lyon","type":"rent","limit":50},
    timeout=180,
)
for home in r.json()["listings"]:
    print(home["price"], home["currency"], home["address"], home["url"])

JavaScript

const r = await fetch("https://listingrail.com/v1/listings/search", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_KEY", "content-type": "application/json" },
  body: JSON.stringify({"source":"leboncoin","location":"Lyon","type":"rent","limit":50}),
});
const { listings } = await r.json();
console.log(listings.length, listings[0]);

Fields Leboncoin fills

20 of 23 fields are filled for Leboncoin (France); 3 come back as null.

  • id
  • url
  • title
  • city
  • region
  • postal_code
  • country
  • lat
  • lng
  • price
  • currency
  • price_period
  • beds
  • rooms
  • baths
  • area
  • property_type
  • listed_at
  • photos
  • agent.company

Not given by Leboncoin to a visitor, so returned as null: address, agent.name, agent.phone.

Questions about the Leboncoin API

Does Leboncoin have a public API?

Leboncoin has no API for reading listings. Its official interface only lets agents and their software upload their own listings. The details, with sources, are above on this page.

Is there a free Leboncoin API?

No. Leboncoin's only official interface is for agents uploading their own listings; there is no API for reading listings, free or paid. Listingrail's free key returns 250 Leboncoin listings a month, with no card.

How do I get a Leboncoin API key?

Officially: Automatic posting is open to professionals only. Listingrail gives you a key for Leboncoin and 21 other portals at once: enter your email on the home page and the key comes with 250 free listings.

How much does the Leboncoin API cost?

We found no published price for an official Leboncoin API. On Listingrail one listing returned costs one credit: 250 free every month, then $29 a month for 10,000 listings ($0.0029 each) down to $0.0012 on the largest plan. Searches that find nothing are free.

Where is the Leboncoin API documentation?

Leboncoin publishes no developer documentation for real estate. Its help centre describes how professionals post their own ads automatically from their business software. It names no way to search ads. Listingrail's documentation lists every request field and the Leboncoin location format. Listingrail API docs

Can I get Leboncoin listings in Python or JavaScript?

Yes. Send one POST request to /v1/listings/search with "source": "leboncoin" and a location; the examples on this page run as they are once you add your key. The Python guide goes further: CSV export, real output and daily alerts. How to scrape Leboncoin listings in Python

Which Leboncoin fields does the API return?

id, url, title, city, region, postal_code, country, lat, lng, price, currency, price_period, beds, rooms, baths, area, property_type, listed_at, photos, agent.company. Fields Leboncoin does not show a visitor come back as null, and every listing also carries the portal's own record in "raw".

Is it allowed to use Leboncoin data?

Listingrail reads what Leboncoin shows any visitor, at the moment you ask. How you use it is up to you: check Leboncoin's terms and the data-protection law that applies to you, especially before storing agent names or phone numbers.

Get 250 free listingsRead the docsOther portalsPricingLeboncoin MCP serverAll MCP portalsUK and Europe portalsPython guide

Leboncoin is a trademark of its owner. Listingrail is not affiliated with, endorsed by or sponsored by Leboncoin.