# leboncoin API for AI agents (/use-cases/leboncoin-listings)

Ask "what electric bikes are for sale on leboncoin, and where?" and your agent searches France's largest classifieds site, then returns each ad with its price in euros, city, category and link.

You do not need a leboncoin account or key. The call reads public listings only.

## What you can call

| Function                             | What it does                                                                                                                                                                 |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `bowmark.providers.leboncoin.search` | Searches ads by keyword. Returns the total match count and listings with title, price in euros, city, postcode, category, seller type, photo and link. Pass `page` for more. |

## Try it

```js
const { total, listings } = await bowmark.providers.leboncoin.search("velo electrique");
return { total, top: listings.slice(0, 3).map((l) => [l.title, l.priceEur, l.city, l.url]) };
```

Add the MCP server to Claude Code with this command, then ask your agent. Other clients are on [Installation](/docs/installation).

```sh
claude mcp add bowmark --transport http https://api.bowmark.ai/mcp --header "Authorization: Bearer $BOWMARK_API_KEY"
```

## FAQ

### Does leboncoin have an API?

Bowmark reads the public search and returns typed listings with one key, so you do not need a leboncoin account.

### Can I tell private sellers from professionals?

Yes. Each listing has `sellerType`, either `private` or `pro`, and the seller name when it is shown.

### Does it cover other leboncoin sites?

It covers leboncoin.fr only.

### What does it cost?

Your first $10 is free, then you pay per call. See [Pricing](/docs/pricing).

## Next

Follow the [Quickstart](/docs/quickstart), or see [Websites without an API](/use-cases/websites-without-an-api).
