Retrieve option codes

Option Codes

It returns the list of known option codes that can be associated with a car.

curl \
  --header 'x-api-key: YOUR_TOKEN'

A option code can represent any aspect of the car such as battery pack, country location, paint color, extract package, etc.

You can use filterByFormula for getting specific option codes results.

e.g, get Tesla cars with pearl white multi-coat paint color:

curl '' \
  --get \
  --data-urlencode 'filterByFormula=FIND("PPSW",{optionCodes})' \
  --header 'x-api-key: YOUR_TOKEN'

See (opens in a new tab) to visualize all the possibilities at glance.