Or by number plate:
This site contains vehicles that have been sold in New Zealand since 2005, when regulations started requiring importers to supply fuel economy information.
You should be able to find most new and many used vehicles built since 2000.
Apart from the distinction between new and old, cars are not labeled or searchable by year.
