Api documentation

Api documentation

Get model/year overview

Articles
 
 
v3 v2
 
 

Description

Get editorial content written by the Edmunds staff by make name, model name and year. V3 includes the current editorial review and rating format used by newer model years. Make sure to see the Special Requirements for displaying Edmunds editorial content.

URL

https://api.edmunds.com/api/editorial/v3/{make}/{model}/{year}?api_key={api_key}&fmt=json

Code Example

You need the Javascript SDK to run this example.

<!DOCTYPE html>

<html>
<head>
    <meta charset=utf-8>
    <title>Edmunds API Example</title>
</head>

<body>
    <div id="results-body"></div>
    <script>
          window.sdkAsyncInit = function() {
            // Instantiate the SDK
            var res = new EDMUNDSAPI('YOUR API KEY');

            // Optional parameters
            var options = {
                "view": "full"
            };

            // Callback function to be called when the API response is returned
            function success(res) {
                var body = document.getElementById('results-body');
                body.innerHTML = "Title: " + res.title;
            }

            // Oops, Houston we have a problem!
            function fail(data) {
                console.log(data);
            }

            // Fire the API call
            res.api('/api/editorial/v3/honda/civic/2025', options, success, fail);

            // Additional initialization code such as adding Event Listeners goes here
      };

      // Load the SDK asynchronously
      (function(d, s, id){
             var js, sdkjs = d.getElementsByTagName(s)[0];
             if (d.getElementById(id)) {return;}
             js = d.createElement(s); js.id = id;
             js.src = "path/to/sdk/file";
             sdkjs.parentNode.insertBefore(js, sdkjs);
       }(document, 'script', 'edmunds-jssdk'));
    </script>
</body>
</html>