Leboncoin Scraper

ENDPOINTS
GET/search/suggestions

Search Suggestions

Get Leboncoin's search suggestions for what you type, each with the category it belongs to.

QUERY PARAMS

The start of a search term, as you would type it in Leboncoin's search box.

{
  "query": "iphone 15",
  "count": 5,
  "suggestions": [
    {
      "text": "iphone 15",
      "category": {
        "id": "17",
        "name": "Téléphones & Objets connectés",
        "slug": "telephones_objets_connectes"
      }
    },
    {
      "text": "iphone 15 pro",
      "category": {
        "id": "17",
        "name": "Téléphones & Objets connectés",
        "slug": "telephones_objets_connectes"
      }
    },
    {
      "text": "iphone 15 pro max",
      "category": {
        "id": "17",
        "name": "Téléphones & Objets connectés",
        "slug": "telephones_objets_connectes"
      }
    },
    {
      "text": "iphone 15",
      "category": null
    },
    {
      "text": "iphone 15 pro",
      "category": null
    }
  ]
}