Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Leboncoin: Check a listing is still onlineTry it

Leboncoin: Check a listing is still online

Whether a leboncoin.fr listing is still online (active, paused by its seller, or gone), with its dates.

1 credita callSlower today
Try itDocs
1Request
The listing's id, or its URL as it appears in the browser.
1 credit 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/check",
    "options": {
      "listing": "https://www.leboncoin.fr/ad/voitures/3000000001"
    }
  }'
2Response

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

{
  "object": "run",
  "id": "run_4kq734azxjpjgrn3fsba4ev2pe",
  "livemode": true,
  "source": "leboncoin",
  "operation": "listings/check",
  "version": "1.0.1",
  "schema_url": "https://api.lobstr.io/v2/catalog/leboncoin/listings/check",
  "options": {
    "listing": "https://www.leboncoin.fr/ad/voitures/3000000001"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "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"
    }
  ]
}

10 fields per listing status

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

Check a listing is still online

10 fields
object
text
listing_status
listing_id
id
Leboncoin's listing id.
3000000001
url
link
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.
leboncoin.fr/ad/voitures/3000000001
status
text
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.
active
status_code
number
Leboncoin's HTTP status for the listing, 200 when it is online, 410 when it is gone.
200

What it costs

Billed by the call: 1 credit. Pick how many calls a month.

Every plan

1 credit a call

Calls a month

100

Per 100 calls

Free

On the free plan, up to 100 calls a month.

Live

Built to run

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

Successful calls
97.41%
Median call
1.3 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/check.

Check a listing is still online

When do I use it?

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.

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

Whether a leboncoin.fr listing is still online (active, paused by its seller, or gone), with its dates. 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?

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.

When is a call free?
  • a call that fails
  • a call the site challenged

Errors

What can go wrong?
  • invalid_listing (422): The value is neither a leboncoin.fr listing id nor a listing URL.
  • 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/check. Its page for agents, in Markdown: leboncoin/listings/check.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/leboncoin/listings/check: 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.