Source your car - 1

Source Your Car

Searching for a prestige everyday drive, a luxury weekender or that ultimate investment? Simple –
let us do the work for you!

With over 30 years of experience, our Team have accrued an in-depth understanding of the market that will not only assist you in the “wheeling and dealing” of the auto trade, it will also enrichen your vision and foresight of that four-wheel fantasy!

Our knowledgeable staff are driven with passion, always ready to serve and provide you with a highly competitive deal for your needs, delivered with that element of essential trust.


​We invite you to peruse our current listings however, should the car you are longing for not be listed contact us and we shall find it for you!

Get Started Explore our stock

Finance & Motor Vehicle Insurance

Now you are at the stage of buying your first or next motor vehicle.


Talk with the team at Scuderia Graziani to discuss options of financing and insurance to ensure you are getting the most flexible and competitive options for your needs.

Finance Motor vehicle insurance

Scuderia Graziani offers an extensive range of in-house finance products through direct access to an exclusive panel of lenders. We can tailor finance solutions to suit your needs with streamlined applications, quick approvals, expert advice and transparency, allowing you to make an informed decision.

To make your purchase as easy as possible, our finance department provides quality professional services offering competitive rates and extended terms.

There are many different Finance types to choose from as listed below:

  • Chattel Mortgage
  • Consumer Loan
  • Novated Lease
  • Low Doc Applications

Scuderia Graziani works with Insurance Brokers specialising in providing motor vehicle insurance for prestige, performance, collectable and classic cars at a competitive premium.

Features & Benefits* of policy features include:

  • Choice of Repairer
  • Claims Management
  • Lifetime Guarantee on Repairs
  • Genuine Parts for Repairs
  • One Excess Free Windscreen Claim per annum
  • New Replacement Car following a Total Loss (when you are the first registered owner)
  • Rental Car Option
  • Policy re-quoted on renewal to our panel of insurers
  • Agreed or Market Value options
  • Flexible excess options
  • Usage options – Daily Use, Limited Use, Extreme Limited
  • Storage Cover and Club Plate Cover
  • Towing Costs following an Accident
  • Payment Options – including Pay by the Month

*above features and benefits will vary and limits may apply

Enquire below and begin to discover the possibilities

To source your next car of choice or seek guidance on what car best suits your desired needs, please fill out the following form to start a conversation with our Team:

This field is for validation purposes and should be left unchanged.

Select your service

Source your car - 2

Sell Your Car

If you would like to sell your quality pre-loved motorcars or If you wish to find your perfect Luxury or Sports Car, simply let us do the work for you.

Source your car - 3

Consign Your Car

If you are looking at selling your car, consigning is one of the best methods. We will work with you to get the ideal result whenever selling your prestige car.

Source your car - 4

Source Your Car

You are at the stage of buying your first or next motor vehicle. Talk with the team at Scuderia Graziani to discuss options of financing and insurance

Source your car - 5

Venue Hire

Scuderia Graziani is a unique showroom is an event space that will undoubtedly set you apart from the status quo.

JOIN THE SCUDERIA GRAZIANI COMMUNITY
DREAM CARS, NEW ARRIVALS, LATEST EVENTS!
PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPnZhciBnZm9ybTtnZm9ybXx8KGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoImdmb3JtX21haW5fc2NyaXB0c19sb2FkZWQiLGZ1bmN0aW9uKCl7Z2Zvcm0uc2NyaXB0c0xvYWRlZD0hMH0pLGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoImdmb3JtL3RoZW1lL3NjcmlwdHNfbG9hZGVkIixmdW5jdGlvbigpe2dmb3JtLnRoZW1lU2NyaXB0c0xvYWRlZD0hMH0pLHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIixmdW5jdGlvbigpe2dmb3JtLmRvbUxvYWRlZD0hMH0pLGdmb3JtPXtkb21Mb2FkZWQ6ITEsc2NyaXB0c0xvYWRlZDohMSx0aGVtZVNjcmlwdHNMb2FkZWQ6ITEsaXNGb3JtRWRpdG9yOigpPT4iZnVuY3Rpb24iPT10eXBlb2YgSW5pdGlhbGl6ZUVkaXRvcixjYWxsSWZMb2FkZWQ6ZnVuY3Rpb24obyl7cmV0dXJuISghZ2Zvcm0uZG9tTG9hZGVkfHwhZ2Zvcm0uc2NyaXB0c0xvYWRlZHx8IWdmb3JtLnRoZW1lU2NyaXB0c0xvYWRlZCYmIWdmb3JtLmlzRm9ybUVkaXRvcigpfHwoZ2Zvcm0uaXNGb3JtRWRpdG9yKCkmJmNvbnNvbGUud2FybigiVGhlIHVzZSBvZiBnZm9ybS5pbml0aWF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50czsgICAgICAgICAgICAgICAgdmFyIGxhdGVyID0gZnVuY3Rpb24oKSB7ICAgICAgICAgICAgICAgICAgICB0aW1lb3V0ID0gbnVsbDsgICAgICAgICAgICAgICAgICAgIGlmICggIWltbWVkaWF0ZSApIGZ1bmMuYXBwbHkoIGNvbnRleHQsIGFyZ3MgKTsgICAgICAgICAgICAgICAgfTsgICAgICAgICAgICAgICAgdmFyIGNhbGxOb3cgPSBpbW1lZGlhdGUgJiYgIXRpbWVvdXQ7ICAgICAgICAgICAgICAgIGNsZWFyVGltZW91dCggdGltZW91dCApOyAgICAgICAgICAgICAgICB0aW1lb3V0ID0gc2V0VGltZW91dCggbGF0ZXIsIHdhaXQgKTsgICAgICAgICAgICAgICAgaWYgKCBjYWxsTm93ICkgZnVuYy5hcHBseSggY29udGV4dCwgYXJncyApOyAgICAgICAgICAgIH07ICAgICAgICB9ICAgICAgICBjb25zdCBkZWJvdW5jZWRUcmlnZ2VyUG9zdFJlbmRlciA9IGRlYm91bmNlKCBmdW5jdGlvbigpIHsgICAgICAgICAgICB0cmlnZ2VyUG9zdFJlbmRlcigpOyAgICAgICAgfSwgMjAwICk7ICAgICAgICBpZiAoIHZpc2liaWxpdHlUZXN0RGl2ICYmIHZpc2liaWxpdHlUZXN0RGl2Lm9mZnNldFBhcmVudCA9PT0gbnVsbCApIHsgICAgICAgICAgICBjb25zdCBvYnNlcnZlciA9IG5ldyBNdXRhdGlvbk9ic2VydmVyKCAoIG11dGF0aW9ucyApID0+IHsgICAgICAgICAgICAgICAgbXV0YXRpb25zLmZvckVhY2goICggbXV0YXRpb24gKSA9PiB7ICAgICAgICAgICAgICAgICAgICBpZiAoIG11dGF0aW9uLnR5cGUgPT09ICdhdHRyaWJ1dGVzJyAmJiB2aXNpYmlsaXR5VGVzdERpdi5vZmZzZXRQYXJlbnQgIT09IG51bGwgKSB7ICAgICAgICAgICAgICAgICAgICAgICAgZGVib3VuY2VkVHJpZ2dlclBvc3RSZW5kZXIoKTsgICAgICAgICAgICAgICAgICAgICAgICBvYnNlcnZlci5kaXNjb25uZWN0KCk7ICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIH0pOyAgICAgICAgICAgIH0pOyAgICAgICAgICAgIG9ic2VydmVyLm9ic2VydmUoIGRvY3VtZW50LmJvZHksIHsgICAgICAgICAgICAgICAgYXR0cmlidXRlczogdHJ1ZSwgICAgICAgICAgICAgICAgY2hpbGRMaXN0OiBmYWxzZSwgICAgICAgICAgICAgICAgc3VidHJlZTogdHJ1ZSwgICAgICAgICAgICAgICAgYXR0cmlidXRlRmlsdGVyOiBbICdzdHlsZScsICdjbGFzcycgXSwgICAgICAgICAgICB9KTsgICAgICAgIH0gZWxzZSB7ICAgICAgICAgICAgdHJpZ2dlclBvc3RSZW5kZXIoKTsgICAgICAgIH0gICAgfSApO30gKTsKPC9zY3JpcHQ+Cg==