AutoMarket API

The endpoint for the AutoMarket API is: /citydriving/market

API Index

We currently offer the following AutoMarket APIs:

API

Documentation

Get Current Listings

Get Current Listings

The AutoMarket API returns all available cars on the CityDriving AutoMarket or all available cars of a certain type.

ENDPOINT: /citydriving/market/getlist

Mandatory Parameters

Calling this API with no optional parameters will return all available cars on the AutoMarket.

Name

Expected Value

key

{string} : API Key

Optional Parameters

This API can optionally return listings of a certain type of car. To do so, add a type key with a three digit LFS car code (See the LFS Manual for abbreviations). You can also optionally view the array of upgrades.

Name

Expected Value

type

{string} : LFS car code eg. UF1

upgrades

{number} : 0 | 1

Examples

REQUEST: ?key=YOUR_KEY&type=uf1&upgrades=1

This example request will return all available UF1s on the market. This example only returns one car for brevity.

RESPONSE:

Last updated

Was this helpful?