- Previous: Style Repository
- Up: The Vehicle API V1
- Next: True Market Value
True Cost to Own
True Cost of Own is a calculated value derived from the Edmunds pricing system that describes the additional costs an automotive buyer may not have included when considering his or her vehicle purchase. These extra costs include: depreciation, interest on your loan, taxes and fees, insurance premiums, fuel costs, maintenance, and repairs.
Go to:
Please read the API Documentation page for information that applies to all our APIs
URL
http://api.edmunds.com/{version}/api/tco/{method}
Sample Requesttop
http://api.edmunds.com/v1/api/tco/getstyleswithtcodatabysubmodel?make=bmw&model=3series&year=2011&submodel=sedan&api_key=xxx&fmt=json
Sample Response
{
"styles": {
"328i 4dr Sedan (3.0L 6cyl 6M)": {
"id": 101288737,
"price": 34600,
"styleLongName": "3.0L 6-cyl. 6-speed Manual",
"trim": "328i"
},
"328i xDrive 4dr Sedan AWD (3.0L 6cyl 6M)": {
"id": 101288738,
"price": 36600,
"styleLongName": "3.0L 6-cyl. AWD 6-speed Manual",
"trim": "328i xDrive"
},
"335d 4dr Sedan (3.0L 6cyl Turbodiesel 6A)": {
"id": 101288741,
"price": 44150,
"styleLongName": "3.0L 6-cyl. Turbodiesel 6-speed Automatic",
"trim": "335d"
},
"335i 4dr Sedan (3.0L 6cyl Turbo 6M)": {
"id": 101288739,
"price": 42050,
"styleLongName": "3.0L 6-cyl. Turbo 6-speed Manual",
"trim": "335i"
},
"335i xDrive 4dr Sedan AWD (3.0L 6cyl Turbo 6M)": {
"id": 101288740,
"price": 44050,
"styleLongName": "3.0L 6-cyl. Turbo AWD 6-speed Manual",
"trim": "335i xDrive"
}
}
}
Special Requirementstop
When you display our True Cost to Own® (TCO®) data for any vehicles, we ask for the following:
- When data is displayed, it is captioned or titled one of the following:
- Edmunds.com True Cost to Own®
- Edmunds.com TCO®
- When a data is displayed, the date it was generated though the API should also be displayed, since TCO® prices are “perishable.”
- That you include the following explanation of what that number is:
Edmunds.com's True Cost to Own® (TCO®) is Edmunds.com’s estimate of the cost of buying and owning a vehicle for the first five years assuming 15,000 miles driven per year. TCO® includes depreciation, interest on financing, insurance premiums, taxes and fees, fuel, maintenance and repairs.
- That you include the following legal notice:
TCO® data are copyrighted by Edmunds.com, Inc., which reserves all rights. Edmunds®, Edmunds.com True Cost to Own® and TCO® are registered trademarks of Edmunds.com, Inc. Edmunds.com, Inc. is not affiliated with this website or app.
For legal reasons, we cannot expose the granular data (i.e. depreciation, taxes and fees, insurance, fuel, ...etc) that makes up the True Cost to Own value. If you want to get access to that data, please email us at api [at] edmunds [dot] com.
You can also send your users to the following URL for more information on the True Cost to Own value: http://www.edmunds.com/{make}/{model}/{year}/tco.html?style={styleid}&zip={zipcode}
Available Methodstop
| Method | Description |
|---|---|
| newtruecosttoownbystyleidandzip/{styleid}/{zip} |
Get the True Cost to Own value for a new vehicle by Style ID and zipcode |
|
|
Get the True Cost to Own value for a used vehicle by Style ID and zipcode |
resalevaluesbystyleidandzip/{styleid}/{zip} |
Get the Resale Value over the next 5 years for a particular vehicle by Style ID and zipcode |
depreciation/usedratesbystyleidandzip/{styleid}/{zip} |
Get the depreciation value in dollars over the next 5 years for a used vehicle by Style ID and zipcode |
depreciation/newratesbystyleidandzip/{styleid}/{zip} |
Get the depreciation value in dollars over the next 5 years for a new vehicle by Style ID and zipcode |
newtotalcashpricebystyleidandzip/{styleid}/{zip} |
The Total Cash Price displayed is the vehicle's True Market Value® (TMV®) price plus typically equipped options, destination charge, base tax and fees assessed by your state, and, if applicable, gas guzzler tax; less any widely available manufacturer-to-customer cash rebates. (However, we do not account for other types of cash rebates or incentives because of the variability of those offers and their eligibility requirements. |
usedtotalcashpricebystyleidandzip/{styleid}/{zip} |
The Total Cash Price displayed is the vehicle's True Market Value® (TMV®) price plus typically equipped options, destination charge, base tax and fees assessed by your state, and, if applicable, gas guzzler tax; less any widely available manufacturer-to-customer cash rebates. (However, we do not account for other types of cash rebates or incentives because of the variability of those offers and their eligibility requirements. |
getmakeswithtcodata |
Get a list of all makes that have a True Cost to Own data |
getmodelswithtcodata |
Get a list of all models that have a True Cost to Own data |
getstyleswithtcodatabysubmodel |
Get a list of all styles that have a True Cost to Own data |
Method: newtruecosttoownbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/newtruecosttoownbystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: usedtruecosttoownbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/usedtruecosttoownbystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: resalevaluesbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/resalevaluesbystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: depreciation/usedratesbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/depreciation/usedratesbystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: depreciation/newratesbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/depreciation/newratesbystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: newtotalcashpricebystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/newtotalcashpricebystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: usedtruecosttoownbystyleidandzip/{styleid}/{zip}
URL
http://api.edmunds.com/v1/api/tco/usedtotalcashpricebystyleidandzip/101287988/90019?api_key=xxx&fmt=json
Parameters
N/A
Method: getmakeswithtcodata
URL
http://api.edmunds.com/v1/api/tco/getmakeswithtcodata?api_key=xxx&fmt=json
Parameters
N/A
Method: getmodelswithtcodata
URL
http://api.edmunds.com/v1/api/tco/getmodelswithtcodata?makeid=xxx&api_key=xxx&fmt=json
Parameters
| Name and Description | Required? |
|
The vehicle make ID |
Yes |
Method: getstyleswithtcodatabysubmodel
URL
http://api.edmunds.com/v1/api/tco/getstyleswithtcodatabysubmodel?make=xxx&model=xxx&year=xxx&submodel=xxx&makeyear=xxx&api_key=xxx&fmt=json
Parameters
| Name and Description | Required? |
|
The vehicle make (use make niceName) |
Yes |
|
The vehicle model (use make niceName) |
Yes |
|
The four-digit vehicle year |
Yes |
|
The vehicle submodel (use make niceName) |
Yes |
|
The vehicle Make Year (use make niceName) |
No |
- Previous: Style Repository
- Up: The Vehicle API V1
- Next: True Market Value
10 Comments
James Manning – 11 months ago
Looks like a typo here - the 4th character should be deleted?
Timothy Imhof – 8 months ago
Another type?
Second "usedtruecosttoownbystyleidandzip" signature should be "usedtotalcashpricebystyleidandzip"
Timothy Imhof – 8 months ago
Has anyone had success with the "getstyleswithtcodatabysubmodel" call? Looks like there's a few typos on this one too.
Timothy Imhof – 8 months ago
Exception when calling "newratesbystyleidandzip"
Example: http://api.edmunds.com/v1/api/tco/depreciation/newratesbystyleidandzip/3136/11746?api_key={api_key}
Timothy Imhof – 8 months ago
There appears to be problems with the following methods. Listed below with sample calls:
newratesbystyleidandzip http://api.edmunds.com/v1/api/tco/depreciation/newratesbystyleidandzip/3136/11746?api_key={api_key}
newtotalcashpricebystyleidandzip http://api.edmunds.com/v1/api/tco/newtotalcashpricebystyleidandzip/3136/11746?api_key={api_key}
newtruecosttoownbystyleidandzip http://api.edmunds.com/v1/api/tco/newtruecosttoownbystyleidandzip/3136/11746?api_key={api_key}
resalevaluesbystyleidandzip http://api.edmunds.com/v1/api/tco/resalevaluesbystyleidandzip/3136/11746?api_key={api_key}
usedtruecosttoownbystyleidandzip http://api.edmunds.com/v1/api/tco/usedtruecosttoownbystyleidandzip/3136/11746?api_key={api_key}
Ismail Elshareef – 8 months ago
Hi Timothy,
Are you still having issues with TCO?
Ismail Elshareef – 8 months ago
Tomothy,
The reason you're getting an exception is because you're not using a proper StyleID. This call works:
http://api.edmunds.com/v1/api/tco/depreciation/newratesbystyleidandzip/101356494/11746?api_key=xxx
Ismail Elshareef – 8 months ago
We will go over the methods to correct any typos. Sorry about that.
LA Technologies – 2 months ago
It seems like the example for getstyleswithtcodatabysubmodel above is incorrect. It does not work with makeid, you have to specify year, make, model and submodel.
http://api.edmunds.com/v1/api/tco/getstyleswithtcodatabysubmodel?makeid=xxx&api_key=xxx&fmt=json
Ismail Elshareef – 1 month ago
Sorry, we have a few typos from the cut and past. Please consult the API Console http://developer.edmunds.com/io-docs for working interactive API docs.
Thanks! Ismail
Please sign in to post a comment.