Api documentation

Api documentation

Get articles by tags

v2 v1


Get articles written by the Edmunds staff. This is done by tags, make,model or year. Make sure to see the Special Requirements for displaying Edmunds editorial content.



Code Example

You need the Javascript SDK to run this example.

<!DOCTYPE html>

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

    <div id="results-body"></div>
        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 = "Description: " + res.articles[0].description;

            // Oops, Houston we have a problem!
            function fail(data) {

            // Fire the API call
            res.api('/api/editorial/v2/articles?tag=editor-reviews', 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'));