- Previous: The Inventory API V1
- Up: API Documentation
- Next: Dealer Ratings and Reviews
The Dealer API V1
The Dealer API provides information about automotive dealerships associated with a given criteria like zipcode, Make or Style ID amongst other things.
Go to:
Please read the API Documentation page for information that applies to all our APIs.
URL
http://api.edmunds.com/{version}/api/dealer
Response Formattop
All method responses are JSON objects that have a root property called, dealerHolder. The value of dealerHolder is an array of Dealer objects:
{
"dealerHolder": [
dealer_object_1,
dealer_object_2,
dealer_object_3,
....
....
]
}
Each Style object is a JSON object of the following format:
{
"id": [integer],
"address": [addressObject]
"name": [string],
"logicalName": [string],
"type": [string],
"make": [string],
"operations": [dateObject],
"contactinfo": [contactObject],
"active": [boolean]
}
The properties of the Dealer object are:
- id: The dealer ID
- address: The address of the dealer
- name: The name of the dealer
- logicalName: The dealer's nice name, or URL-friendly name
- type: The type of dealer
- make: The vehicle make this dealer is known to handle
- operations: The working hours by day
- categories: The model various types
- contactinfo: The dealer's contact info
- active: Is this dealer active?
Sample Requesttop
http://api.edmunds.com/{version}/api/dealer?zipcode=90404&api_key=xxxxxxxxxx&fmt=json
Sample Response
{
"dealerHolder": [
{
"id": "26729",
"address": {
"street": "2440 Santa Monica Blvd",
"apartment": "",
"city": "Santa Monica",
"stateCode": "CA",
"stateName": "California",
"county": "Los Angeles",
"country": "USA",
"zipcode": "90404",
"latitude": 34.032051,
"longitude": -118.475512
},
"name": "Volkswagen of Santa Monica",
"logicalName": "VolkswagenofSantaMonica",
"syndicationPartner": "Edmunds",
"type": "ROOFTOP",
"make": "Volkswagen",
"operations": {
"Wednesday": "9:00 AM-9:00 PM",
"Tuesday": "9:00 AM-9:00 PM",
"Thursday": "9:00 AM-9:00 PM",
"Saturday": "9:00 AM-7:00 PM",
"Friday": "9:00 AM-9:00 PM",
"Monday": "9:00 AM-9:00 PM",
"Sunday": "10:00 AM-6:00 PM"
},
"contactinfo": {
"dealer_website": "http://www.volkswagensantamonica.com/",
"email_address": "",
"phone_areacode": "888",
"phone_postfix": "0773",
"phone_prefix": "459",
"phone": "8884590773"
},
"publishDate": "2011-08-01",
"active": true,
"ratings": {
"SALES_DEPTH_OF_VEHICLE_KNOWLEDGE": "0.0",
"SALES_OVERALL_RATING": "3.4",
"SALES_RESPONSIVENESS_TO_INQUIRIES": "0.0",
"SALES_DEALER_RESPONSE_TIME": "0.0",
"SALES_ONLINE_SALES_INTERACTION": "0.0",
"SALES_DEALER_TOTAL_REVIEW_COUNT": "3.0",
"SALES_PROFESSIONALISM": "0.0",
"SALES_VEHICLE_PURCHASE": "0.0",
"SALES_SALES_PRESSURE": "0.0",
"SERVICE_OVERALL_RATING": "0.0",
"SALES_VALUE_OF_TRADE_IN": "0.0",
"SALES_ABILITY_TO_NEGOTIATE_A_DEAL": "0.0",
"SALES_RECOMMENDED_REVIEW_COUNT": "1.0",
"SALES_NOT_RECOMMENDED_REVIEW_COUNT": "1.0",
"SERVICE_DEALER_TOTAL_REVIEW_COUNT": "1.0",
"SALES_EXPEDIENCY_OF_SALES_PROCESS": "0.0",
"SALES_EXPLANATION_OF_TERMS": "0.0",
"SERVICE_RECOMMENDED_REVIEW_COUNT": "0.0",
"SALES_READINESS_OF_VEHICLE_AT_DELIVERY": "0.0",
"SALES_ACCESSORIES": "0.0",
"SALES_INTERNET_SALES_PERSONNEL": "0.0",
"SALES_DEALER_ATTENTIVENESS": "0.0",
"SALES_ACCURACY_OF_INFORMATION_PROVIDED": "0.0",
"SALES_TRANSPARENCY_OF_PROCESS": "0.0",
"SALES_DEALER_REVIEW_COUNT": "2.0",
"SALES_VEHICLE_DEAL": "0.0",
"SERVICE_NOT_RECOMMENDED_REVIEW_COUNT": "0.0",
"SALES_COMPETITIVENESS_OF_OFFERING": "0.0",
"SERVICE_DEALER_REVIEW_COUNT": "0.0",
"SALES_EXTENDED_SERVICES": "0.0",
"SALES_DEALER_FINANCE": "0.0"
}
},
...
...
...
]
}
Parameterstop
| Name and Description | Required? |
|
Five-digit zipcode |
Yes |
|
|
No |
|
|
No |
|
|
No |
|
|
No |
- Previous: The Inventory API V1
- Up: API Documentation
- Next: Dealer Ratings and Reviews
15 Comments
asaraff – 2 years ago
Dealer holder is coming back as empty for any zip...Did anybody get this working?
Keith Sader – 1 year ago
I got this to work, but I had to add a makeName parameter instead of just getting a listing of all dealers in a particular ZIP
Keith Sader – 1 year ago
I got this to work, but I had to add a makeName parameter instead of just getting a listing of all dealers in a particular ZIP
pcgdeveloper – 1 year ago
I'm not getting any ratings for the sample URL using the API console
Ismail Elshareef – 1 year ago
The service seems to be down at the moment. We're looking into it.
Rel3ntless – 1 year ago
What are the parameters for radius is it in miles? And how is it written in the url?
gautham – 10 months ago
Service is returning me a server error 596, Is this service not available anymore for above mentioned URL? Even tried with ZIP with makeName, ZIP with makeName and model
Ismail Elshareef – 9 months ago
The radius is in miles and the service is up and running without issues. Please let us know if you're still having problems accessing the data.
Timothy Imhof – 8 months ago
I've tried several calls with different parameters. None of them work. Can someone please posting an working call to this method?
Ross Delantar – 8 months ago
Is there a way I could search for a dealer, if I knew his ID?
Ismail Elshareef – 8 months ago
Please use the Dealer API to do that.
Atitkumar Shah – 7 months ago
I am trying to use http://api.edmunds.com/v1/api/dealer?zipcode=19806&api_key=xxxxxxxxxx&fmt=json mentioned above on my page with my API key. But it is not working. It's giving me error as: java.lang.IllegalAccessError: com/google/gson/ExclusionStrategy com.edmunds.dealer.rest.resources.DealerResource.generateContent(DealerResource.java:354)
Ismail Elshareef – 7 months ago
Yes, it's an issue we're aware of.
Thanks, Ismail
Ross Delantar – 6 months ago
Hi has Atitkumar Shah's question above been fixed? We are experiencing the same issue.
Thank you!
UnloadYourCar – 3 months ago
What's the base URI for the logo strings?
i.e. If it returns the logo as => "/apps/dl/media/dealerlogos/logo_infiniti135x30.gif"
what's the base URI that goes before that to get the full hosted URL?
Please sign in to post a comment.