LemonFree API 2.0 Documentation - Details Feed

Last Updated: January 21, 2014

Overview

The Details feed provides detailed information about a specific vehicle.
NOTE: This feed is only available for qualified API accounts. If you have an account and would like to apply for access to this feed, please contact us detailing your use case.

Base URL

http://api.lemonfree.com/v2/details

Parameters

Parameter Type Occurrence Description
key string required Your API key
listing_id string required unique ID associated with the vehicle, obtained through the listings feed
format Result Format optional Sets the format of the result.
If format is not specified the default format is xml.

Query Result Fields

Field Description
listing_id The LemonFree listing ID
title Title of this vehicle listing
year The year of the vehicle
make_id The make ID of the vehicle
make The make of the vehicle
model_id The model ID of the vehicle
model The model of the vehicle
trim_id The trim ID of the vehicle
trim The trim of the vehicle
price The price of the vehicle
mileage The mileage of the vehicle
vehicle_condition The vehicle condition of the vehicle
transmission The transmission of the vehicle
drive The drive type of the vehicle
exterior_color The exterior color of the vehicle
bodystyle The bodystyle of the vehicle
fuel_type The fuel type of the vehicle
city The city of the listing
state The state of the listing
country The country of the listing
zip The zip / postal code of the listing
description Listing description for this vehicle
seller_name The listing seller's name
seller_address The listing seller's address
certified Indicates whether the listing is LemonFree Certified
options Any options of the vehicle
images Images assoicated with this listing

Sample Results

XML

<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:lf="http://api.lemonfree.com/ns/1.0">
    <lf:request_type>details</lf:request_type>
    <lf:request_params>
        <lf:attr name="feed">details</lf:attr>
        <lf:attr name="listing_id">1NXBR30E75Z506836</lf:attr>
        <lf:attr name="key">[YOUR API KEY]</lf:attr>
    </lf:request_params>
    <lf:response_code>0</lf:response_code>
    <lf:result>
        <lf:item>
            <lf:attr name="listing_id">1NXBR30E75Z506836</lf:attr>
            <lf:attr name="title">Used 2005 Toyota Corolla</lf:attr>
            <lf:attr name="year">2005</lf:attr>
            <lf:attr name="make">Toyota</lf:attr>
            <lf:attr name="model">Corolla</lf:attr>
            <lf:attr name="trim"></lf:attr>
            <lf:attr name="make_id">33</lf:attr>
            <lf:attr name="model_id">363</lf:attr>
            <lf:attr name="trim_id">1281</lf:attr>
            <lf:attr name="mileage">54450</lf:attr>
            <lf:attr name="price">10950</lf:attr>
            <lf:attr name="vehicle_condition">Used</lf:attr>
            <lf:attr name="transmission"></lf:attr>
            <lf:attr name="drive">FWD</lf:attr>
            <lf:attr name="exterior_color"></lf:attr>
            <lf:attr name="bodystyle">Sedan</lf:attr>
            <lf:attr name="fuel_type">Gasoline</lf:attr>
            <lf:attr name="city">Bellflower</lf:attr>
            <lf:attr name="state">CA</lf:attr>
            <lf:attr name="country">USA</lf:attr>
            <lf:attr name="zip">90706</lf:attr>
            <lf:attr name="description">
                We are pleased to offer you this 2005 Toyota Corolla CE for sale.It is Finished in Phantom Gray Clearcoat
                Metallic over Light Gray Cloth Interior..
            </lf:attr>
            <lf:attr name="seller_name">Luxury Pre-Owned Motor Cars</lf:attr>
            <lf:attr name="seller_address">8559 East Artesia Blvd.</lf:attr>
            <lf:attr name="certified">true</lf:attr>
            <lf:group name="options">
                <lf:attr name="op_ac">Air Conditioning</lf:attr>
                <lf:attr name="op_accessible">Accessibility Features</lf:attr>
                <lf:attr name="op_anti_theft">Anti-theft</lf:attr>
                <lf:attr name="op_audio">CD / Audio Inputs</lf:attr>
                <lf:attr name="op_cruise">Cruise Control</lf:attr>
                <lf:attr name="op_heated">Heated Seats / Mirrors</lf:attr>
                <lf:attr name="op_keyless">Keyless Entry</lf:attr>
                <lf:attr name="op_leather">Leather Interior</lf:attr>
                <lf:attr name="op_gps">Navigation System</lf:attr>
                <lf:attr name="op_park_assist">Parking Assist</lf:attr>
                <lf:attr name="op_power">Power Options</lf:attr>
                <lf:attr name="op_rear_defrost">Rear Window Defrost</lf:attr>
                <lf:attr name="op_remote_start">Remote Start</lf:attr>
                <lf:attr name="op_video">Video Display</lf:attr>
            </lf:group>
            <lf:attr name="vin">1NXBR30E75Z506836</lf:attr>
            <lf:group name="images">
                <lf:attr name="image1">http://images.lemonfree.com/1NXBR30E75Z506836_1_pre.jpg</lf:attr>
                <lf:attr name="image2">http://images.lemonfree.com/1NXBR30E75Z506836_2_pre.jpg</lf:attr>
                <lf:attr name="image3">http://images.lemonfree.com/1NXBR30E75Z506836_3_pre.jpg</lf:attr>
                <lf:attr name="image4">http://images.lemonfree.com/1NXBR30E75Z506836_4_pre.jpg</lf:attr>
                <lf:attr name="image5">http://images.lemonfree.com/1NXBR30E75Z506836_5_pre.jpg</lf:attr>
                <lf:attr name="image6">http://images.lemonfree.com/1NXBR30E75Z506836_6_pre.jpg</lf:attr>
                <lf:attr name="image7">http://images.lemonfree.com/1NXBR30E75Z506836_7_pre.jpg</lf:attr>
                <lf:attr name="image8">http://images.lemonfree.com/1NXBR30E75Z506836_8_pre.jpg</lf:attr>
                <lf:attr name="image9">http://images.lemonfree.com/1NXBR30E75Z506836_9_pre.jpg</lf:attr>
            </lf:group>
            <lf:attr name="url">http://www.lemonfree.com/car/Toyota-Corolla-2005/1NXBR30E75Z506836</lf:attr>
        </lf:item>
    </lf:result>
</response>    

JSON

{
    "response":{
        "request_type":"details",
        "request_params":{
            "feed":"details",
            "format":"json",
            "listing_id":"1NXBR30E75Z506836",
            "key":"[YOUR API KEY]"
        },
        "response_code":"0",
        "result":[
        {
            "listing_id":"1NXBR30E75Z506836",
            "title":"Used 2005 Toyota Corolla",
            "year":"2005",
            "make":"Toyota",
            "model":"Corolla",
            "trim":"LE",
            "make_id":"33",
            "model_id":"363",
            "trim_id":"1281",
            "mileage":"54450",
            "price":"10950",
            "vehicle_condition":"Used",
            "transmission":"",
            "drive":"FWD",
            "exterior_color":"",
            "bodystyle":"Sedan",
            "fuel_type":"Gasoline",
            "city":"Bellflower",
            "state":"CA",
            "country":"USA",
            "zip":"90706",
            "description":"We are pleased to offer you this 2005 Toyota Corolla CE for sale.It is Finished in Phantom
            Gray Clearcoat Metallic over Light Gray Cloth Interior...",
            "seller_name":"Luxury Pre-Owned Motor Cars",
            "seller_address":"8559 East Artesia Blvd.",
            "certified":"true",
            "options":{
                "Air Conditioning",
                "Accessibility Features",
                "Anti-theft",
                "CD \/ Audio Inputs",
                "Cruise Control",
                "Heated Seats \/ Mirrors",
                "Keyless Entry",
                "Leather Interior",
                "Navigation System",
                "Parking Assist",
                "Power Options",
                "Rear Window Defrost",
                "Remote Start",
                "Video Display"
            },
            "vin":"1NXBR30E75Z506836",
            "images":{
                "image1":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_1_pre.jpg",
                "image2":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_2_pre.jpg",
                "image3":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_3_pre.jpg",
                "image4":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_4_pre.jpg",
                "image5":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_5_pre.jpg",
                "image6":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_6_pre.jpg",
                "image7":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_7_pre.jpg",
                "image8":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_8_pre.jpg",
                "image9":"http:\/\/images.lemonfree.com\/1NXBR30E75Z506836_9_pre.jpg"
            },
            "url":"http://www.lemonfree.com/car/Toyota-Corolla-2005/1NXBR30E75Z506836"
        }
        ]
    }
}