APIs / Cars / Coches.net

1 credit per call5 endpoints21 datapointsChecked working 6 Dec 2026

Coches.net API

Coches.net API for car listing search, single listings, dealers, dealer stock and makes as JSON. 5 endpoints, 1 credit per call.

Coches.net
GET/v1/coches-net/search?make_id=7&province_id=28
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "71879144",
        "title": "BMW X6 M Competition",
        "url": "https://www.coches.net/bmw-x6-m-competition-5p-gasolina-2022-en-madrid-71879144-covo.aspx",
        "price": {
          "amount": 89890,
          "currency": "EUR"
        },
        "price_rating": {
          "rank_indicator": 4,
          "market_average": {
            "amount": 99200,
            "currency": "EUR"
          }
        },
        "mileage": {
          "value": 27900,
          "unit": "km"
        },
        "first_registration": {
          "year": 2021
        },
        "power": {
          "value": 625,
          "unit": "hp"
        },
        "make": {
          "id": 7,
          "label": "BMW"
        },
        "model": {
          "id": 880,
          "label": "X6"
        },
        "fuel": {
          "id": 2,
          "label": "Gasolina"
        },
        "body_type_id": 6,
        "offer_type": {
          "id": 0,
          "label": "Ocasión"
        },
        "environmental_label": "C",
        "is_professional": true,
        "is_certified": false,
        "has_warranty": true,
        "warranty_months": 12,
        "photos": [
          "https://pro.fastly.ccdn.es/pro/pro/vehicles/images/3d/3d5aa818-06d2-46ed-b15f-5ada7e094c2a",
          "https://pro.fastly.ccdn.es/pro/pro/vehicles/images/97/97aa0b74-1f5f-4fe1-8fd5-dcc410395e6f",
          "https://pro.fastly.ccdn.es/pro/pro/vehicles/images/1e/1e8ed3b0-1b1d-4a0d-9167-53e1eb263a63"
        ],
        "location": {
          "province_ids": [
            28
          ],
          "main_province": "Madrid",
          "main_province_id": 28,
          "city": "Villaviciosa de Odón",
          "region": "Madrid"
        },
        "seller": {
          "name": "MDS ZARUMA MOTOR",
          "is_professional": true,
          "contract_id": "76486"
        }
      },
      {
        "id": "70854165",
        "title": "BMW Serie 1 118d",
        "url": "https://www.coches.net/bmw-serie-1-118d-3p-diesel-2015-en-madrid-70854165-covo.aspx",
        "price": {
          "amount": 12900,
          "currency": "EUR"
        },
        "price_rating": {
          "market_average": {
            "currency": "EUR"
          },
          "drop": {
            "original_price": 14500,
            "percentage": 11,
            "days_since_update": 4
          }
        },
        "mileage": {
          "value": 170000,
          "unit": "km"
        },
        "first_registration": {
          "year": 2015
        },
        "power": {
          "value": 143,
          "unit": "hp"
        },
        "make": {
          "id": 7,
          "label": "BMW"
        },
        "model": {
          "id": 539,
          "label": "Serie 1"
        },
        "fuel": {
          "id": 1,
          "label": "Diésel"
        },
        "body_type_id": 1,
        "offer_type": {
          "id": 0,
          "label": "Ocasión"
        },
        "is_professional": false,
        "is_certified": false,
        "has_warranty": false,
        "photos": [
          "https://a.ccdn.es/cnet/2026/06/13/70854165/2111692710_g.jpg",
          "https://a.ccdn.es/cnet/2026/06/13/70854165/2111692733_g.jpg",
          "https://a.ccdn.es/cnet/2026/06/13/70854165/2111692735_g.jpg"
        ],
        "location": {
          "province_ids": [
            28
          ],
          "main_province": "Madrid",
          "main_province_id": 28,
          "city": "Madrid Capital",
          "region": "Madrid"
        }
      },
      {
        "id": "71760872",
        "title": "BMW Serie 1 118d Business Auto.",
        "url": "https://www.coches.net/bmw-serie-1-118d-business-auto-5p-diesel-2021-en-madrid-71760872-covo.aspx",
        "price": {
          "amount": 21990,
          "currency": "EUR"
        },
        "price_rating": {
          "rank_indicator": 3,
          "market_average": {
            "amount": 23400,
            "currency": "EUR"
          }
        },
        "mileage": {
          "value": 71427,
          "unit": "km"
        },
        "first_registration": {
          "year": 2021
        },
        "power": {
          "value": 150,
          "unit": "hp"
        },
        "make": {
          "id": 7,
          "label": "BMW"
        },
        "model": {
          "id": 539,
          "label": "Serie 1"
        },
        "fuel": {
          "id": 1,
          "label": "Diésel"
        },
        "body_type_id": 1,
        "offer_type": {
          "id": 0,
          "label": "Ocasión"
        },
        "environmental_label": "C",
        "is_professional": true,
        "is_certified": false,
        "has_warranty": true,
        "warranty_months": 12,
        "photos": [
          "https://a.ccdn.es/cnet/vehicles/20976075/e2be9008-13ee-483e-82d8-40bfd379644c.jpg",
          "https://a.ccdn.es/cnet/vehicles/20976075/24d09662-aa5f-459d-9261-db9ef12d60a6.jpg",
          "https://a.ccdn.es/cnet/vehicles/20976075/9370378c-e427-4a45-b60d-720d5e1b22ac.jpg"
        ],
        "location": {
          "province_ids": [
            28
          ],
          "main_province": "Madrid",
          "main_province_id": 28,
          "city": "Aranjuez",
          "region": "Madrid"
        },
        "seller": {
          "name": "AutosMadrid Aranjuez",
          "is_professional": true,
          "contract_id": "135155"
        }
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 35,
      "total_items": 4822,
      "total_pages": 161,
      "has_more": true
    },
    "aggregations": [
      {
        "filterName": "makeId",
        "items": [
          {
            "id": "1",
            "totalResults": 304
          },
          {
            "id": "10",
            "totalResults": 69
          },
          {
            "id": "1011",
            "totalResults": 804
          }
        ]
      },
      {
        "filterName": "model",
        "items": [
          {
            "id": "1056",
            "totalResults": 24
          },
          {
            "id": "1084",
            "totalResults": 270
          },
          {
            "id": "1085",
            "totalResults": 9
          }
        ]
      },
      {
        "filterName": "fuelTypeIds",
        "items": [
          {
            "id": "1",
            "totalResults": 2364
          },
          {
            "id": "2",
            "totalResults": 1241
          },
          {
            "id": "3",
            "totalResults": 65
          }
        ]
      }
    ]
  },
  "meta": {
    "duration_ms": 7221,
    "endpoint_family": "search"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringtitlestringurlurlpriceobjectprice_ratingobjectmileageobjectfirst_registrationobjectpowerobjectmakeobjectmodelobjectfuelobjectbody_type_idintegeroffer_typeobjectenvironmental_labelstringis_professionalbooleanis_certifiedbooleanhas_warrantybooleanwarranty_monthsnumberphotosstring[]locationobjectsellerobject
171879144BMW X6 M Competitionhttps://www.coches.net/bmw-x6-m-competition-5p-gasolina-2022-en-madrid-71879144-covo.aspx{2 fields}{2 fields}{2 fields}{1 fields}{2 fields}{2 fields}{2 fields}{2 fields}6{2 fields}Ctruefalsetrue12[3 items]{5 fields}{3 fields}
270854165BMW Serie 1 118dhttps://www.coches.net/bmw-serie-1-118d-3p-diesel-2015-en-madrid-70854165-covo.aspx{2 fields}{2 fields}{2 fields}{1 fields}{2 fields}{2 fields}{2 fields}{2 fields}1{2 fields}—falsefalsefalse—[3 items]{5 fields}—
371760872BMW Serie 1 118d Business Auto.https://www.coches.net/bmw-serie-1-118d-business-auto-5p-diesel-2021-en-madrid-71760872-covo.aspx{2 fields}{2 fields}{2 fields}{1 fields}{2 fields}{2 fields}{2 fields}{2 fields}1{2 fields}Ctruefalsetrue12[3 items]{5 fields}{3 fields}

Recorded 12 Nov 2026 · 3 items shown · 21 datapoints per itemGET /v1/coches-net/search?make_id=7&province_id=28

21 datapoints

Identity

  • idstring
  • titlestring
  • body_type_idinteger
  • offer_typeobject

Contact

  • urlurl
  • sellerobject

Location

  • locationobject

Reputation

  • price_ratingobject
  • photosstring[]

Price

  • priceobject

Other

  • mileageobject
  • first_registrationobject
  • powerobject
  • makeobject
  • modelobject
  • fuelobject
  • environmental_labelstring
  • is_professionalboolean
  • is_certifiedboolean
  • has_warrantyboolean
  • warranty_monthsnumber

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/coches-net/search?make_id=7&province_id=28" \
  -H "X-API-Key: $API_KEY"

Coches.net · 5 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/coches-net/dealer
slug
dealerreviewsvehiclespagination
1 credit
GET/v1/coches-net/dealer-listings
slug+1 optional
idtitleurlpriceprice_ratingmileage+15 more
1 credit
GET/v1/coches-net/listing
path
idtitleurlpriceprice_ratingmileage+27 more
1 credit
GET/v1/coches-net/makes
none+1 optional
idlabelmodels
1 credit
GET/v1/coches-net/search
none+20 optional
idtitleurlpriceprice_ratingmileage+15 more
1 credit

Overview

About the Coches.net API

What you can get

The Coches.net API returns Coches.net car data as JSON through 5 endpoints.

  • Search: search takes q, make_id, model_id and province_id, ranges price_min/price_max, mileage_min/mileage_max and year_min/year_max, fuel, body_type, transmission, seller_type, offer_type, certified and has_photo (true or false), sort (Price or Year) with order (1 or 2), and page.
  • Listings: listing takes a listing path.
  • Makes: makes takes an optional make_id.
  • Dealers: dealer takes a slug; dealer-listings takes a slug, with page.

How a call works

Search by make and province: GET /v1/coches-net/search?make_id=7&province_id=28 with your key in the X-API-Key header. search and dealer-listings page with page. makes and search both use the parameter name make_id. Open one listing with GET /v1/coches-net/listing?path=/mg-hs-15-turbo-gdi-comfort-5p-gasolina-2024-en-a_coruna-71617238-covo.aspx. Every successful call costs 1 credit; failed calls cost nothing.

CarsJSONRESTMCP

More cars APIs

Use cases

Track asking prices for a make and model by year and mileage

Use the Coches.net API to track asking prices for a make and model by year and mileage

Compare used-car supply across provinces

Use the Coches.net API to compare used-car supply across provinces

Watch new listings that match a saved search

Use the Coches.net API to watch new listings that match a saved search

Build depreciation curves from price, year and mileage filters

Use the Coches.net API to build depreciation curves from price, year and mileage filters

FAQ

Questions

Do I need a Coches.net API key?

No. You call this Coches.net API with your Perceptlayer key in the `X-API-Key` header, so there's no separate Coches.net key to request.

How much does the Coches.net API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

How do I sort Coches.net search results?

Pass `sort` as Price or Year and `order` as 1 or 2. Add `page` to move through the results.

Is this the official Coches.net API?

No. Perceptlayer is an independent service and is not affiliated with Coches.net. It returns Coches.net data as JSON with a Perceptlayer key, so there is no Coches.net developer account, app review or partner approval to get first. It only reads data: if Coches.net has an official API and you need to act on your own Coches.net account, such as posting, managing orders or reading private data, use that one.

Should I build a Coches.net scraper instead?

You can, but a Coches.net scraper is code you maintain: page changes break it, requests get blocked, and Coches.net's terms govern how you collect data. The Coches.net API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Coches.net API with 100 free credits

No credit card. Failed calls are never billed.