API Call Examples
To get all brands call:
http://auto-val.com/api/
In the response of that call, you will find the following object:
{ "brand": [ "ACURA", "ALFA ROMEO", "ARIEL", "ARO", "ASTON MARTIN", "AUDI", "BENTLEY", "BMW", "BRISTOL", "BUFORI", "BUGATTI", "BUICK", "CADILLAC", "CATERHAM", "CHEVROLET", "CHRYSLER", "CITROEN", "DACIA", "DAEWOO", "DAIHATSU", "DATSUN", "DMC", "DODGE", "DONKERVOORT", "DR MOTOR", "FERRARI", "FIAT", "FISKER", "FORD", "FSO", "GEELY", "GENESIS", "GMC", "GTA Motor", "HINDUSTAN", "HOLDEN", "HONDA", "HUMMER", "HYUNDAI", "INFINITI", "ISUZU", "JAGUAR", "JEEP", "KIA", "KOENIGSEGG", "KTM", "LADA", "LAMBORGHINI", "LANCIA", "LAND ROVER", "LEXUS", "LINCOLN", "LOTUS", "Mahindra", "MARUSSIA", "MARUTI SUZUKI", "MASERATI", "MAYBACH", "MAZDA", "MCLAREN", "MERCEDES BENZ", "MERCURY", "MG", "MINI", "MITSUBISHI", "MORGAN", "NISSAN", "OLDSMOBILE", "OPEL", "PAGANI", "PANOZ", "PERODUA", "PEUGEOT", "PONTIAC", "PORSCHE", "PROTON", "QOROS", "RAM Trucks", "RENAULT", "ROLLS-ROYCE", "SAAB", "SALEEN", "SAMSUNG", "SANTANA", "SATURN", "SCION", "SEAT", "SKODA", "SMART", "SPYKER", "SSANGYONG", "SUBARU", "SUZUKI", "TATA MOTORS", "TESLA MOTORS", "TOYOTA", "TVR", "VAUXHALL", "VOLKSWAGEN", "VOLVO", "WIESMANN" ] }
To get all models from a specific brand for example AUDI call:
http://auto-val.com/api/?brand=AUDI
{ "model": [ "AUDI SQ7", "AUDI Q2", "AUDI RS5", "AUDI A1 Sportback", "AUDI A1", "AUDI RS3 Sedan", "AUDI S1 Sportback", "AUDI S8 Plus", "AUDI RS5 Cabriolet", "AUDI RS7 Sportback", "AUDI S1", "AUDI SQ5", "AUDI S4", "AUDI A4 Avant", "AUDI A4", "AUDI A3 Sportback", "AUDI A3 Cabriolet", "AUDI R8 Spyder", "AUDI S3", "AUDI TT RS Coupe", "AUDI S5 Sportback", "AUDI S3 Sedan", "AUDI A3 Sedan", "AUDI A5", "AUDI S3 Sportback", "AUDI S5", "AUDI S3 Cabriolet", "AUDI S5 Cabriolet", "AUDI Q5", "AUDI A3", "AUDI Q7", "AUDI R8", "AUDI RS Q3", "AUDI Q3", "AUDI A7", "AUDI S7", "AUDI TT Roadster", "AUDI S6 Avant", "AUDI A6", "AUDI S6", "AUDI TT Coupe", "AUDI A6 Avant", "AUDI TT RS Roadster", "AUDI S8", "AUDI A8", "AUDI A1 Quattro", "AUDI S4 Avant", "AUDI RS6 Avant", "AUDI A5 Cabriolet", "AUDI RS3 Sportback", "AUDI A5 Sportback", "AUDI Allroad", "AUDI A4 Allroad", "AUDI RS4 Avant", "AUDI 80\/ 90", "AUDI 80 S2", "AUDI 80 Avant S2", "AUDI 80\/ 90 Avant", "AUDI Coupe", "AUDI Coupe S2", "AUDI Cabriolet", "AUDI 90", "AUDI 100\/ 200", "AUDI V8", "AUDI 100\/ 200 Avant", "AUDI A2", "AUDI RS4", "AUDI A4 Cabriolet", "AUDI A8 (D2)", "AUDI Typ R", "AUDI Quattro", "AUDI RS6", "AUDI S4 Cabriolet", "AUDI A4 DTM Edition", "AUDI RS4 Cabriolet", "AUDI 100 Coupe", "AUDI 80 Avant RS2", "AUDI R8 GT", "AUDI R8 GT Spyder" ] }
To get all types from a specific model for example AUDI A1 call:
http://auto-val.com/api/?brand=AUDI&model=AUDI A1
{ "type": [ "1.2 TFSI 5AT (86 HP)", "1.4 TFSI 6MT (122 HP)", "1.4 TFSI 7AT (122 HP)", "1.4 TFSI 7AT (185 HP)", "1.4 TFSI CoD 6MT (140 HP)", "1.4 TFSI CoD 7AT (140 HP)", "1.4 TFSI ECO 7AT (122 HP)", "1.6 TDI 5MT (105 HP)", "1.6 TDI 5MT (90 HP)", "1.6 TDI 7AT (90 HP)", "2.0 TDI 6MT (143 HP)" ] }
To get all data from a specific type for example AUDI A1 type 1.2 TFSI 5AT (86 HP) call:
http://auto-val.com/api/?brand=AUDI&model=AUDI A1&type=1.2 TFSI 5AT (86 HP)
{ "brand": "AUDI", "model": "AUDI A1", "engine": "1.2 TFSI 5AT (86 HP)", "cylinders": "L4 ", "displacement": "1197 cm3", "power1": "63 KW @ 5000 RPM", "power2": "86 HP @ 5000 RPM", "power3": "84 BHP @ 5000 RPM", "rotque1": null, "rotque2": null, "fuelSystem": "Turbocharged direct injection ", "fuel": "Gasoline ", "acceleration": "11.7 s", "topSpeed1": "112 mph ", "topSpeed2": " 180 km\/h", "consumptionCity1": "37.9 mpg US ", "consumptionCity2": " 6.2 L\/100Km", "consumptionHighway1": "54.7 mpg US ", "consumptionHighway2": " 4.3 L\/100Km", "consumptionCombined1": "47 mpg US ", "consumptionCombined2": " 5 L\/100Km", "driveType": "Front Wheel Drive ", "gearbox": "5-speed manual ", "frontBreaks": "Ventilated Discs ", "rearBreaks": "Discs ", "tyreSize": "215\/45 R 16 ", "length1": "155.6 in ", "length2": " 3952 mm", "width1": "68.5 in ", "width2": " 1740 mm", "height1": "55.7 in ", "height2": " 1415 mm", "frontRearTrack1": "", "frontRearTrack2": null, "wheelbase1": "97.2 in ", "wheelbase2": " 2469 mm", "groundClearance1": "4.8 in ", "groundClearance2": " 122 mm", "cargoVolume1": "4.8 in ", "cargoVolume2": " 122 mm", "cd": "0.32 ", "unladenWeight1": "2458 lbs ", "unladenWeight2": " 1115 kg", "grossWeightLimit1": "3285 lbs ", "grossWeightLimit2": " 1490 kg", "makeStartYear": "2010", "makeEndtYear": "2017" }