# LeBonCoin Marketplace Search

> LeBonCoin Marketplace Search is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-24).

Search French classified ads on LeBonCoin by keyword and retrieve paginated listings

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/leboncoin?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/leboncoin-marketplace-search-d9912e40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O-o5YywJdCT08mSfXesH8

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-marketplace-search-d9912e40
```

Example prompt: Can you search LeBonCoin for used road bikes and show me what's available on the first page of results?

## When to prefer this

Use this endpoint when you need to search French classified ads on LeBonCoin without signing up or managing API keys. Ideal for price research, inventory discovery, or market analysis on the French second-hand consumer goods market. Prefer this over scraping directly when you need pay-per-call simplicity with no subscription overhead.

## Known failure modes

- Missing required 'query' parameter returns an error
- Invalid page number outside 1-100 range may return empty results or error
- Non-French or poorly spelled query terms may yield few or no results
- LeBonCoin rate limiting or site changes may cause upstream failures
- Payment failure (x402) results in no charge and no data returned

## How this service works

leboncoin.fr classified-ads search (all of France): result totals (all / private / pro) and 35 ads per page with ad id, title, price (EUR), category, city, zip, department, region, latitude/longitude, seller name and type, first publication date, photo count and first photo, boosted flag and ad link. From leboncoin.fr via a stealth proxy.

## Output

A paginated list of LeBonCoin classified ad listings matching the search query, typically including ad titles, prices, locations, and links to individual listings on leboncoin.fr

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "page": {
       "type": "number",
       "description": "Result page 1-100 (default 1)"
      },
      "query": {
       "type": "string",
       "description": "Search words in French, e.g. velo, iphone 15, canapé"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/leboncoin-marketplace-search-d9912e40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
