APIs / Cars / CarDekho

1 credit per call12 endpoints26 datapointsChecked working 6 Dec 2026

CarDekho API

CarDekho API for used car listings, new car models, prices, dealers, sellers and city lookup as JSON. 12 endpoints, 1 credit per successful call.

CarDekho
GET/v1/cardekho/used-cars?city=new-delhi&make=maruti&model=swift&fuel=petrol&sort=price&sort_direction=asc
{
  "success": true,
  "data": {
    "listings": [
      {
        "listing_id": "bef46eb3-2c47-46bf-bf09-34d9dfedcffc",
        "used_car_sku_id": "bef46eb3-2c47-46bf-bf09-34d9dfedcffc",
        "used_car_id": 5640362,
        "title": "2012 Maruti Suzuki Swift LXI",
        "url": "https://www.cardekho.com/used-car-details/used-Maruti-swift-lxi-cars-New-Delhi_bef46eb3-2c47-46bf-bf09-34d9dfedcffc.htm",
        "price": {
          "value": 140000,
          "currency": "INR",
          "formatted": "₹1.40 Lakh",
          "market_price": 180000,
          "saving": ""
        },
        "year": 2012,
        "make": "Maruti Suzuki",
        "model": "Maruti Suzuki Swift",
        "model_name": "Swift 2010-2014",
        "variant": "LXI",
        "central_variant_id": 4201,
        "km": {
          "value": 70000,
          "formatted": "70,000"
        },
        "fuel": "Petrol",
        "transmission": "Manual",
        "body_type": "Hatchback",
        "owner": {
          "count": 1,
          "slug": "first-owner"
        },
        "location": {
          "city": "New Delhi",
          "city_id": 49,
          "locality": "Shalimar Bagh"
        },
        "seller": {
          "type": "Individual",
          "dealer_id": 0,
          "store_id": "",
          "corporate_id": 7,
          "inventory_type": "partner",
          "inventory_label": "direct-owner"
        },
        "images": {
          "primary": "https://images10.gaadi.com/usedcar_image/5640362/original/processed_processed_processed_26e0ed60-ad0c-40ff-8751-2489ee9a218e.png?imwidth=420",
          "count": 3,
          "placeholder": "https://stimg.cardekho.com/images/car-images/large/Maruti/Maruti-Swift-2011-2014/2522/front-left-side-47.jpg"
        },
        "flags": {
          "cd_certified": false,
          "threesixty": false,
          "booking_allowed": false,
          "whatsapp_enabled": false,
          "active": true,
          "store_listing": false
        },
        "status": {
          "inventory": 1,
          "text": "Active"
        },
        "ai_price_badge": "Below Market",
        "ai_tags": [
          "1st owner, <span>70k km</span> — records look solid on this Swift.<br>",
          "Maruti service is available in almost every city and town."
        ],
        "map_link": "https://maps.google.com/?q=28.716253,77.15626",
        "additional": {
          "ucid": 0,
          "isHeart": false,
          "ip": 0,
          "leadForm": 1,
          "leadFormCta": "View Seller Details",
          "position": 1,
          "sid": "",
          "vid": "Maruti Suzuki Swift LXI",
          "compare": true,
          "brandingIcon": "",
          "pageType": "cls",
          "premiumSellerIcons": {
            "icon": "",
            "fullIcon": ""
          },
          "similarCarsBrandingIcon": "",
          "invAndUserCityMismatch": false,
          "sort": [
            1,
            140000
          ],
          "nearByCityInventory": false,
          "rto": "DL08"
        }
      },
      {
        "listing_id": "4d417039-24ce-443d-b132-4eba868688be",
        "used_car_sku_id": "4d417039-24ce-443d-b132-4eba868688be",
        "used_car_id": 5578282,
        "title": "2012 Maruti Suzuki Swift VXI",
        "url": "https://www.cardekho.com/used-car-details/used-Maruti-swift-vxi-cars-New-Delhi_4d417039-24ce-443d-b132-4eba868688be.htm",
        "price": {
          "value": 160000,
          "currency": "INR",
          "formatted": "₹1.60 Lakh",
          "market_price": 160000,
          "saving": ""
        },
        "year": 2012,
        "make": "Maruti Suzuki",
        "model": "Maruti Suzuki Swift",
        "model_name": "Swift 2010-2014",
        "variant": "VXI",
        "central_variant_id": 4202,
        "km": {
          "value": 120000,
          "formatted": "1,20,000"
        },
        "fuel": "Petrol",
        "transmission": "Manual",
        "body_type": "Hatchback",
        "owner": {
          "count": 4,
          "slug": "fourth-owner"
        },
        "location": {
          "city": "New Delhi",
          "city_id": 49,
          "locality": "Tilak Nagar"
        },
        "seller": {
          "type": "Individual",
          "dealer_id": 0,
          "store_id": "",
          "corporate_id": 7,
          "inventory_type": "partner",
          "inventory_label": "direct-owner"
        },
        "images": {
          "primary": "https://images10.gaadi.com/usedcar_image/5578282/original/processed_74e2d168-ee88-4061-b5fd-cfaced2899fa.jpg?imwidth=420",
          "count": 1,
          "placeholder": "https://stimg.cardekho.com/images/car-images/large/Maruti/Maruti-Swift-2011-2014/2522/front-left-side-47.jpg"
        },
        "flags": {
          "cd_certified": false,
          "threesixty": false,
          "booking_allowed": false,
          "whatsapp_enabled": false,
          "active": true,
          "store_listing": false
        },
        "status": {
          "inventory": 1,
          "text": "Active"
        },
        "ai_price_badge": "Great Price",
        "ai_tags": [
          "4th owner, 120k km on this Swift — records look solid.<br>",
          "Simple to run, easy to park."
        ],
        "map_link": "https://maps.google.com/?q=28.638931,77.08668",
        "additional": {
          "ucid": 0,
          "isHeart": false,
          "ip": 0,
          "leadForm": 1,
          "leadFormCta": "View Seller Details",
          "position": 2,
          "sid": "",
          "vid": "Maruti Suzuki Swift VXI",
          "compare": true,
          "brandingIcon": "",
          "pageType": "cls",
          "premiumSellerIcons": {
            "icon": "",
            "fullIcon": ""
          },
          "similarCarsBrandingIcon": "",
          "invAndUserCityMismatch": false,
          "sort": [
            1,
            160000
          ],
          "nearByCityInventory": false,
          "rto": "DL06"
        }
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 20,
      "from": 20,
      "total": 174,
      "has_more": true,
      "window_overlap": true
    },
    "query": {
      "canonical_slug": "used-maruti-swift+petrol+cars+in+new-delhi",
      "city": {
        "id": 49,
        "name": "New Delhi",
        "slug": "new-delhi"
      }
    },
    "applied_filters": [
      {
        "label": "Maruti Suzuki Swift",
        "value": "maruti-swift",
        "type": "brand-model",
        "make_slug": "maruti",
        "make_name": "Maruti Suzuki"
      },
      {
        "label": "Petrol",
        "value": "petrol",
        "type": "fuel"
      }
    ],
    "filters": {
      "recommended": {
        "multi_select": false,
        "options": [
          {
            "label": "Certified Cars",
            "value": "certified",
            "count": 43,
            "selected": false,
            "description": "Quality-assured cars",
            "icon": "https://stimg.cardekho.com/usedcar/icons/certified-icon.svg"
          },
          {
            "label": "Price Drop",
            "value": "pd=1",
            "count": 29,
            "selected": false,
            "description": "Grab cars at lower prices",
            "icon": "https://stimg.cardekho.com/usedcar/images/uc/PriceDrop.svg"
          }
        ]
      },
      "price": {
        "multi_select": true,
        "min": 0,
        "max": 50000000,
        "options": [
          {
            "label": "Under ₹2 Lakh",
            "value": "0-lakh-to-2-lakh",
            "count": 11,
            "selected": false,
            "min_price": "0",
            "max_price": "200000"
          },
          {
            "label": "₹2 - ₹3 Lakh",
            "value": "2-lakh-to-3-lakh",
            "count": 44,
            "selected": false,
            "min_price": "200001",
            "max_price": "300000"
          }
        ]
      },
      "brand": {
        "multi_select": true,
        "options": {
          "popular": [
            "…",
            "…"
          ],
          "luxury": [
            "…",
            "…"
          ],
          "others": [
            "…",
            "…"
          ]
        }
      },
      "makeYear": {
        "multi_select": false,
        "min": 2002,
        "max": 2026,
        "options": [
          {
            "label": "Less than 1 year old",
            "value": "2025-2026-years",
            "count": 4,
            "selected": false
          },
          {
            "label": "Less than 3 years old",
            "value": "2023-2026-years",
            "count": 25,
            "selected": false
          }
        ]
      },
      "fuel": {
        "multi_select": true,
        "options": [
          {
            "label": "Petrol",
            "value": "petrol",
            "count": 174,
            "selected": true
          },
          {
            "label": "CNG",
            "value": "cng",
            "count": 7,
            "selected": false
          }
        ]
      },
      "tt": {
        "multi_select": true,
        "options": [
          {
            "label": "Manual",
            "value": "manual",
            "count": 156,
            "selected": false
          },
          {
            "label": "Automatic",
            "value": "automatic",
            "count": 18,
            "selected": false
          }
        ]
      },
      "km": {
        "multi_select": false,
        "min": 0,
        "max": 200000,
        "options": [
          {
            "label": "< 5,000 km",
            "value": "upto-5000-km",
            "count": 1,
            "selected": false
          },
          {
            "label": "< 10,000 km",
            "value": "upto-10000-km",
            "count": 2,
            "selected": false
          }
        ]
      },
      "ot": {
        "multi_select": true,
        "options": [
          {
            "label": "First owner",
            "value": "first-owner",
            "count": 134,
            "selected": false
          },
          {
            "label": "Second owner",
            "value": "second-owner",
            "count": 36,
            "selected": false
          }
        ]
      },
      "bt": {
        "multi_select": true,
        "options": [
          {
            "label": "Hatchback",
            "value": "hatchback",
            "count": 174,
            "selected": false,
            "icon": "https://stimg.cardekho.com/usedcar/icon/hatchback.png"
          }
        ]
      },
      "inventoryType": {
        "multi_select": false,
        "options": [
          {
            "label": "All Cars",
            "value": "",
            "count": 174,
            "selected": true
          },
          {
            "label": "Partner Cars",
            "value": "partner",
            "count": 51,
            "selected": false
          }
        ]
      },
      "premiumSellers": {
        "multi_select": false,
        "options": [
          {
            "label": "Cars24",
            "value": "c24",
            "count": 35,
            "selected": false
          },
          {
            "label": "Spinny",
            "value": "spinny",
            "count": 15,
            "selected": false
          }
        ]
      },
      "rto": {
        "multi_select": true,
        "options": [
          {
            "label": "Delhi",
            "value": "dl",
            "count": 139,
            "selected": false
          },
          {
            "label": "Haryana",
            "value": "hr",
            "count": 24,
            "selected": false
          }
        ]
      },
      "seatingCapacity": {
        "multi_select": true,
        "options": [
          {
            "label": "5 Seater",
            "value": "5-seater",
            "count": 174,
            "selected": false
          }
        ]
      },
      "discount": {
        "multi_select": false,
        "options": [
          {
            "label": "Upto ₹20,000",
            "value": "discount-upto-20000",
            "count": 15,
            "selected": false
          },
          {
            "label": "Upto ₹50,000",
            "value": "discount-upto-50000",
            "count": 29,
            "selected": false
          }
        ]
      },
      "color": {
        "multi_select": true,
        "options": [
          {
            "label": "White",
            "value": "white",
            "count": 47,
            "selected": false,
            "color_code": "#FFFFFF"
          },
          {
            "label": "Grey",
            "value": "grey",
            "count": 24,
            "selected": false,
            "color_code": "#808080"
          }
        ]
      },
      "popularModels": {
        "multi_select": false
      },
      "variants": {
        "multi_select": false
      }
    },
    "sorting": [
      {
        "label": "Relevance",
        "value": "",
        "order": "desc"
      },
      {
        "label": "Distance",
        "value": "distance",
        "order": "asc"
      }
    ]
  },
  "meta": {
    "duration_ms": 1202,
    "endpoint_family": "search",
    "market": "IN"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of used-cars: the fields and shapes you will get, shortened to 2 items.

#listing_idstringused_car_sku_idstringused_car_idintegertitlestringurlurlpriceobjectyearintegermakestringmodelstringmodel_namestringvariantstringcentral_variant_idintegerkmobjectfuelstringtransmissionstringbody_typestringownerobjectlocationobjectsellerobjectimagesobjectflagsobjectstatusobjectai_price_badgestringai_tagsstring[]map_linkurladditionalobject
1bef46eb3-2c47-46bf-bf09-34d9dfedcffcbef46eb3-2c47-46bf-bf09-34d9dfedcffc56403622012 Maruti Suzuki Swift LXIhttps://www.cardekho.com/used-car-details/used-Maruti-swift-lxi-cars-New-Delhi_bef46eb3-2c47-46bf-bf09-34d9dfedcffc.htm{5 fields}2012Maruti SuzukiMaruti Suzuki SwiftSwift 2010-2014LXI4201{2 fields}PetrolManualHatchback{2 fields}{3 fields}{6 fields}{3 fields}{6 fields}{2 fields}Below Market[2 items]https://maps.google.com/?q=28.716253,77.15626{17 fields}
24d417039-24ce-443d-b132-4eba868688be4d417039-24ce-443d-b132-4eba868688be55782822012 Maruti Suzuki Swift VXIhttps://www.cardekho.com/used-car-details/used-Maruti-swift-vxi-cars-New-Delhi_4d417039-24ce-443d-b132-4eba868688be.htm{5 fields}2012Maruti SuzukiMaruti Suzuki SwiftSwift 2010-2014VXI4202{2 fields}PetrolManualHatchback{2 fields}{3 fields}{6 fields}{3 fields}{6 fields}{2 fields}Great Price[2 items]https://maps.google.com/?q=28.638931,77.08668{17 fields}

Recorded 12 Nov 2026 · 2 items shown · 26 datapoints per itemGET /v1/cardekho/used-cars?city=new-delhi&make=maruti&model=swift&fuel=petrol&sort=price&sort_direction=asc

26 datapoints

Identity

  • listing_idstring
  • used_car_sku_idstring
  • used_car_idinteger
  • titlestring
  • model_namestring
  • central_variant_idinteger
  • body_typestring
  • statusobject

Contact

  • urlurl
  • ownerobject
  • sellerobject
  • map_linkurl

Location

  • locationobject

Reputation

  • imagesobject
  • ai_price_badgestring

Price

  • priceobject

Other

  • yearinteger
  • makestring
  • modelstring
  • variantstring
  • kmobject
  • fuelstring
  • transmissionstring
  • flagsobject
  • ai_tagsstring[]
  • additionalobject

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/cardekho/used-cars?city=new-delhi&make=maruti&model=swift&fuel=petrol&sort=price&sort_direction=asc" \
  -H "X-API-Key: $API_KEY"

CarDekho · 12 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/cardekho/cities
q
city_idcity_namecity_slugstatepincodepost_office+3 more
1 credit
GET/v1/cardekho/makes
none
idmake_idcentral_make_idnameis_popularpriority+1 more
1 credit
GET/v1/cardekho/models
make
JSON1 credit
GET/v1/cardekho/new-cars
brandmodel
model_idnamebrandcitycity_idprice_range+9 more
1 credit
GET/v1/cardekho/new-cars-dealers
brand+1 optional
brandcitydealers
1 credit
GET/v1/cardekho/new-cars-price
model_slug+1 optional
JSON1 credit
GET/v1/cardekho/used-cars
none+16 optional
listing_idused_car_sku_idused_car_idtitleurlprice+20 more
1 credit
GET/v1/cardekho/used-cars-dealers
none+3 optional
dealer_idnameaddresslocalitycitypincode+10 more
1 credit
GET/v1/cardekho/used-cars-detail
used_car_sku_id+1 optional
used_car_sku_idused_car_idtitleurlpricelocation+13 more
1 credit
GET/v1/cardekho/used-cars-filters
none
JSON1 credit
GET/v1/cardekho/used-cars-gallery
none+1 optional
used_car_sku_idsourceimage_countimagestabs
1 credit
GET/v1/cardekho/used-cars-seller
used_car_sku_id+1 optional
used_car_sku_idseller
1 credit

Overview

About the CarDekho API

What you can get

The CarDekho API returns CarDekho new and used car data as JSON through 12 endpoints.

  • Reference: makes and used-cars-filters take no parameters; cities takes a q.
  • New cars: new-cars, models and new-cars-dealers take a brand and model; new-cars-price takes a model_slug, brand and model.
  • Used car search: used-cars takes optional city, make, model, price_min, price_max, year_min, year_max, km_max, fuel, transmission, body_type, owner, seats, sort (price, kms_run, created_date, registration_year or distance), sort_direction (asc or desc) and page.
  • Used car details: used-cars-detail and used-cars-seller take a used_car_sku_id, with city; used-cars-gallery takes sku_ids[].
  • Dealers: used-cars-dealers takes optional city_id, latitude and longitude.

How a call works

Search used cars in a city: GET /v1/cardekho/used-cars?city=new-delhi&make=maruti&model=swift&fuel=petrol&sort=price&sort_direction=asc with your key in the X-API-Key header. Page with page. used-cars-detail and used-cars-seller share the used_car_sku_id param, and new-cars, models, new-cars-dealers and new-cars-price share brand and model. Every successful call costs 1 credit; failed calls cost nothing.

CarsJSONRESTMCP

More cars APIs

Use cases

Search used cars for a make and model across cities, sorted by price

Use the CarDekho API to search used cars for a make and model across cities, sorted by price

Compare used listings by year, kilometres, fuel and transmission

Use the CarDekho API to compare used listings by year, kilometres, fuel and transmission

Watch new listings in a city by sorting on `created_date`

Use the CarDekho API to watch new listings in a city by sorting on `created_date`

Look up the dealers for a new car model, or used car dealers near a location

Use the CarDekho API to look up the dealers for a new car model, or used car dealers near a location

FAQ

Questions

Do I need a CarDekho API key?

No. You call this CarDekho API with your Perceptlayer key in the `X-API-Key` header, so there's no CarDekho partner account to set up.

How much does the CarDekho 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.

Can I filter used cars by price and year?

Yes. `used-cars` takes `price_min` and `price_max`, `year_min` and `year_max`, and `km_max`, alongside `fuel`, `transmission`, `body_type`, `owner` and `seats`.

Is this the official CarDekho API?

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

Should I build a CarDekho scraper instead?

You can, but a CarDekho scraper is code you maintain: page changes break it, requests get blocked, and CarDekho's terms govern how you collect data. The CarDekho API gives you 12 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 CarDekho API with 100 free credits

No credit card. Failed calls are never billed.