Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Leboncoin: Get a listingTry it

Leboncoin: Get a listing

One leboncoin.fr listing, whole, by its id or URL, with a search's fields and how many people saved it.

3 creditsa callDown today, being fixed
Try itDocs
1Request
The listing's id, or its URL as it appears in the browser.
3 credits a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "leboncoin",
    "operation": "listings/get",
    "options": {
      "listing": "https://www.leboncoin.fr/ad/ventes_immobilieres/3000000001"
    }
  }'
2Response

An example answer, from the contract. Run it on your own input with your API key.

{
  "object": "run",
  "id": "run_rdeiwdher6vll2bafgk5mlbzuu",
  "livemode": true,
  "source": "leboncoin",
  "operation": "listings/get",
  "version": "1.0.1",
  "schema_url": "https://api.lobstr.io/v2/catalog/leboncoin/listings/get",
  "options": {
    "listing": "https://www.leboncoin.fr/ad/ventes_immobilieres/3000000001"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": true,
  "next": {
    "source": "leboncoin",
    "operation": "listings/get",
    "options": {
      "listing": "https://www.leboncoin.fr/ad/ventes_immobilieres/3000000001",
      "url": "https://www.leboncoin.fr/recherche?category=9&locations=Lyon__45.76_4.83_7308_5000__d69&sort=time&order=desc&page=2",
      "cursor": "{\"ids_to_display\":[],\"es_pivot\":\"0.0|1793565058000|3000000035\",\"reranker_offset\":35,\"total\":5335,\"page_number\":1}"
    }
  },
  "cost": {
    "credits": 3
  },
  "results": [
    {
      "object": "listing",
      "id": "3000000001",
      "featured": false,
      "url": "https://www.leboncoin.fr/ad/ventes_immobilieres/3000000001",
      "title": "Appartement 3 pièces 64 m²",
      "description": "Lumineux, proche métro.\nLibre au 1er décembre.",
      "category": {
        "id": "9",
        "name": "Ventes immobilières"
      },
      "ad_type": "offer",
      "status": "active",
      "price": {
        "amount": 289000,
        "currency": "EUR"
      },
      "buyer_fee": null,
      "shipping": [],
      "published_at": "2026-10-21T07:14:00Z",
      "republished_at": "2026-11-02T08:30:12Z",
      "expires_at": "2027-01-01T08:30:12Z",
      "has_phone": true,
      "is_boosted": false,
      "paid_options": {
        "urgent": false,
        "gallery": false,
        "photosup": false,
        "sub_toplist": false,
        "continuous_top_ads": false,
        "highlight": false,
        "booster": false,
        "has_option": false
      },
      "photos": [
        {
          "url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/00/00/00/example.jpg?rule=ad-large",
          "is_floor_plan": false
        }
      ],
      "photo_count": 1,
      "videos": [],
      "location": {
        "city": "Lyon",
        "postal_code": "69003",
        "district": null,
        "department": {
          "id": "69",
          "name": "Rhône"
        },
        "region": {
          "id": "22",
          "name": "Rhône-Alpes"
        },
        "country_code": "FR",
        "latitude": 45.75,
        "longitude": 4.85,
        "precision": null,
        "from_address": false
      },
      "seller": {
        "type": "pro",
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Acme Immobilier",
        "store_id": "1000001",
        "siren": "000000000",
        "activity_sector": "2",
        "no_salesmen": true,
        "fees_url": null
      },
      "attributes": [
        {
          "key": "real_estate_type",
          "label": "Type de bien",
          "value": "2",
          "value_label": "Appartement",
          "values": [
            "2"
          ],
          "values_label": null
        },
        {
          "key": "square",
          "label": "Surface habitable",
          "value": "64",
          "value_label": "64 m²",
          "values": [
            "64"
          ],
          "values_label": null
        },
        {
          "key": "energy_rate",
          "label": "Classe énergie",
          "value": "c",
          "value_label": "C",
          "values": [
            "c"
          ],
          "values_label": null
        }
      ],
      "calendar": null,
      "ids": {
        "listing_id": "3000000001",
        "user_id": "00000000-0000-0000-0000-000000000000",
        "store_id": "1000001"
      },
      "favorites": 12,
      "source_url": "https://www.leboncoin.fr/ad/ventes_immobilieres/3000000001",
      "observed_at": "2026-11-02T09:00:00Z"
    }
  ]
}

61 fields per listing

Every call returns them for each record, in the results of its JSON answer.

Get a listing

61 fields
object
text
The kind of record: a listing, whichever site it comes from.
listing
id
id
Leboncoin's listing id; repeated in ids.listing_id.
3000000001
featured
yes / no
The listing has Leboncoin's "À la une" option (paid): searches show it with that badge, and at their top when sorted by date.
No
url
link
The listing on leboncoin.fr.
leboncoin.fr/ad/ventes_immobilieres/3000000001
title
text
Appartement 3 pièces 64 m²

What it costs

Billed by the call: 3 credits. Pick how many calls a month.

Every plan

3 credits a call

Calls a month

100

Per 100 calls

$0.60

On Starter, $20 a month for up to 3,333 calls.

Live

Built to run

Every call counts; a day is green at 99.5% successful.

Successful calls
97.35%
Median call
1.2 s
90 days agoToday
99.5% or more (SLA)98 to 99.5%95 to 98%Under 95%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling leboncoin/listings/get.

Get a listing

When do I use it?

You have a Leboncoin listing (its URL, or its id from a search) and need what it says: its title, description, price, photos, place, seller and every attribute (property, vehicle, job...), as it is now. A search gives the same fields for 35 listings a call; this reads one you already know, for example to follow its price. To know only whether it is still online, leboncoin/listings/check is cheaper; for the seller's number, leboncoin/phones/get.

What do I give it?
  • listing (required): The listing's id, or its URL as it appears in the browser.
What does it return?

One leboncoin.fr listing, whole, by its id or URL, with a search's fields and how many people saved it. Every record has the same fields, empty ones included: they are all listed above.

Can I run it on a list?

Yes: call it once per item, or run it as a batch, on a list and every day if you like, from the button at the top of this page.

Pricing

What does a call cost?

3 credits a call, one listing whole. A listing no longer online (listing_gone) and a failed call are free.

When is a call free?
  • a call that fails

Errors

What can go wrong?
  • invalid_listing (422): The value is neither a leboncoin.fr listing id nor a listing URL.
  • listing_gone (404): This listing is no longer online: it expired, was deleted or sold, or never existed (Leboncoin answers all of these the same way and keeps nothing of it). Not charged.
  • site_challenge (503, retry): Leboncoin asked to prove a person is there; retry in a minute (not charged).
  • site_unavailable (503, retry): Leboncoin did not answer in time or refused the call; retry later (not charged).
  • unexpected_answer (424): Leboncoin answered in a shape we do not read yet; we are told and fix it, and it is not charged.
How long can a call take?

20 seconds at most by default, up to 40 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs leboncoin/listings/get. Its page for agents, in Markdown: leboncoin/listings/get.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/leboncoin/listings/get: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.