# Leboncoin Scraper API (x402)

> Leboncoin Scraper API (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured listing data from leboncoin.fr search results or individual ad pages, returning item details on a pay-per-call basis.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/leboncoin?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/leboncoin-scraper-api-x402-b536fb5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HmwVdg5_AYAyavVA8ez5j

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability leboncoin-scraper-api-x402-b536fb5a -d '<json body>'
```

Example prompt: Search leboncoin.fr for used road bikes in Paris under €500 — grab up to 3 pages of results and return all the listings with their titles, prices, and URLs.

## When to prefer this

Use this endpoint when you need structured data from leboncoin.fr specifically — France's largest classifieds platform — covering categories like real estate, vehicles, jobs, and second-hand goods. It is ideal for agents needing to monitor French marketplace listings, compare prices, or extract ad details without building a custom scraper. The pay-per-call pricing with no charge for failed runs makes it cost-effective for exploratory queries.

## Known failure modes

- Invalid or non-leboncoin URL returns an error or empty result set
- Rate limiting or blocking by leboncoin.fr results in empty response
- Exceeding 100 pages per search is capped by site limitations
- Malformed startUrls array causes request rejection
- No listings found for the search query returns count:0 with empty items array

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of items found, a product identifier ('leboncoin'), and an array of listing objects each containing id, url, title, status, category, categoryId, description, and listingType fields. Failed or empty runs are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 100,
   "minimum": 0,
   "description": "Maximum saved listings across all URLs. Set 0 for no item cap; the site limits each search to 100 result pages."
  },
  "maxPages": {
   "type": "integer",
   "default": 10,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum result pages to read for each search URL. Each page contains up to 35 listings; the site exposes at most 100 pages per search."
  },
  "startUrls": {
   "type": "array",
   "description": "HTTPS leboncoin.fr search URLs across public categories or direct /ad/ listing URLs. Search parameters are sent to the site’s structured page data route."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "title": null,
    "status": null,
    "category": null,
    "categoryId": null,
    "description": null,
    "listingType": null
   }
  ],
  "product": "leboncoin"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/leboncoin-scraper-api-x402-b536fb5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
