Dealership profile
A car dealership's TrueCar profile: name, group, phone, address, description, website and social links, opening hours, services (delivery, free car wash or oil change...), photos, videos and the staff the dealer lists publicly. Its cars for sale: /truecar/v1/search?dealer_id=.
Every response includes credits_used: the credits this call cost.
Part of the TrueCar API: 8 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | Dealership id (dealer.id in search results), or a truecar.com dealer page link. Example: 1696 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/truecar/v1/dealer?id=1696" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/truecar/v1/dealer",
params={"id": "1696"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/truecar/v1/dealer");
url.searchParams.set("id", "1696");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": "1696","name": "Land Rover Woodland Hills","group": null,"is_dealer_group": false,"online_dealer": false,"phone": "+1 555 010 0000","address": "22006 West Erwin Street","city": "Woodland Hills","state": "CA","postal_code": "91367","description": "At Land Rover Encino, we provide a premium customer service. Shop online and reserve a vehicle for up to 48 hours with convenient express ch…","website": "http://www.landroverwoodlandhills.com/?utm_source=truecar&utm_medium=thirdparty&utm_campaign=*000108924*Dealer-Page","links": [{"category": "website","url": "http://www.landroverwoodlandhills.com/?utm_source=truecar&utm_medium=thirdparty&utm_campaign=*000108924*Dealer-Page"},{"category": "facebook","url": "https://www.facebook.com/landroverwoodlandhills"},"… 3 more"],"hours": {"monday": {"open": "9:00am","close": "8:00pm"},"tuesday": {"open": "9:00am","close": "8:00pm"},"wednesday": {"open": "9:00am","close": "8:00pm"},"thursday": {"open": "9:00am","close": "8:00pm"},"friday": {"open": "9:00am","close": "8:00pm"},"saturday": {"open": "9:00am","close": "7:00pm"},"sunday": {"open": "10:00am","close": "6:00pm"}},"services": {"expressCheckout": false,"deliveryProvided": true,"freeCarWashNew": false,"freeCarWashUsed": false,"freeOilChangeNew": false,"freeOilChangeUsed": false,"freeScheduledMaintenanceNew": false,"freeScheduledMaintenanceUsed": false},"trade_in": true,"images": [],"videos": [],"staff": [],"listings_route": "/truecar/v1/search?dealer_id=1696","cached": false,"credits_used": 1}