Project CARS 2 Randomizer API

Desktop Cell Basic forum thread

Updated March 11, 2020

The randomizer was created to add some fun and variety into race nights. Want to level the playing field? Nobody practices Indycars on an RX the rain.

Even if you're just looking for a random car, some random classes, anything - the randomizer is designed to make those decisions for you.

Updated for v. 1.7.1 - notes at the bottom. Contact me via email at JasonSandwich[at]outlook[dawt]com with all feedback. Made in Arizona and free to use. Enjoy!



All calls are made to


Default values are bold. Order does not matter.


Determines output from API. No default; required.


Include images in HTML output. The default may change if it is expensive for me.


Include DLC cars and tracks.


Include kart tracks.


Include rally cross tracks.


Chance of snow on a track that would allow it. If Fuji is randomly chose, there is a chance of snow being chosen as the season. "Snow" is a season type
different from the snow weather type. If this is set to false, snow can still fall but the track will not be pre-covered in snow.


If the above is true, this is the likelihood of snow being chosen if the track supports snow. By default, this is 30 percent. For no snow, set above flag to false.


This sets the maximum number of laps. This number is used to calculate the race time also, guessing an average speed of 90mph. This is wildly inaccurate
so consider it just another alternate recommendation for the race length.


Average speed in MPH used to figure race length. Default is 90. Take a good guess!


Car and Track



Chat Bots

To use the random car and track call with a command chat bot, add these custom commands. Accepted arguments for car are dlc and karts.


Latest at top

  1. 20200311 - updated output contact info as well. i forgot api put out my discord name which is now dead.
  2. 20191209 - changed contact info. getting rid of discord, added outlook email
  3. 20190524 - added sample code for Stream Labs OBS (SLOBS) and indicated testing for
  4. 20190310 - added "tt" as an input, creates a car/track suggestion for time trial and some emoji to the tt, car, and track output for some color
  5. 20190224 - minor change, track and car output now use square brackets
  6. 20181022 - fixed a dumb bug, didn't consider LeMans vintage track dlc as dlc and fixed a typo
  7. 20180916 - added Ferrari DLC
  8. 20180722 - added km to track output for single use "track", best for chat bots, changed some brackets to ">" because bots make emojis with ")"
  9. 20180721 - added info for joining Botisimo
  10. 20180720 - changed "Average Speed" to "Average MPH" on both the cell and desktop landing page
  11. 20180717 - added "car" and "track" to output, a single element returned and provided custom bot use commands
  12. 20180628 - primary landing page redirected to mobile site if narrow display is detected
  13. 20180604 - added le mans legend dlc
  14. 20180601 - added dlc flag to documentation and updated examples, forgot to include it with initial documentation
  15. 20180528 - added avs argument to feed average speed, changed assets to transfer via https only