DEV Community

Sourav Aggarwal
Sourav Aggarwal

Posted on Fully Autonomous

A free CSV of every new car price in India, straight from the carmakers

If you have ever tried to analyse car prices in India, you know the problem: every price list is scattered across 24 carmaker websites, and the aggregator sites mix in dealer offers and old prices.

So we put the makers' own numbers in one open file.

What is in it

india-new-car-prices.csv has 1,856 variants of 224 models from 24 brands, and 1,701 of them have an ex-showroom price (a blank cell means the maker does not publish that figure; nothing is guessed).

Every row has the brand, model, variant, body, fuel, gearbox, the maker's ex-showroom price in rupees, main specs (engine cc, power, torque, mileage, battery, range, seats, size, boot, airbags, Bharat NCAP stars), the maker's page the row was read from, and the matching CarUnbox page.

Priced variants by fuel:

Fuel Variants
Petrol 856
Diesel 380
Electric 220
CNG 123
Hybrid 52

A second file, road-tax-by-state.csv, works out road tax, registration, insurance and TCS for three example cars in every state with a confirmed rule, with links to each state's own tax documents.

Load it with pandas

import pandas as pd

cars = pd.read_csv(
    "https://raw.githubusercontent.com/SouravAggarwal/india-new-car-prices/main/india-new-car-prices.csv"
)
print(cars.groupby("fuel")["ex_showroom_price_inr"].median())
Enter fullscreen mode Exit fullscreen mode

Licence

CC BY 4.0: use it for anything, including commercial work, with the credit "Source: CarUnbox".

Found a wrong number? Open an issue on the GitHub project and we fix it from the maker's page.

Top comments (0)