FirstLookServices

<back to all web services

MarketAPIListings

The following routes are available for this service:
POST/{ver}/marketApiListings/dealers/{dealer}/vins/{vin}
POST/marketApiListings/dealers/{dealer}/vins/{vin}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/MarketAPIListings HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

Ver,Dealer,Vin,InventoryId,FetchMds,AppraisalId,Distance,MileageMin,MileageMax,ChromeStyleId,IsOverallUpdated,RecentActive,ActiveOnly,OemCertified,GetRanks,IncludeZeroPrice,IsIncludesCurrentVehicle,Year,Sorts,Trims,Transmissions,DriveTrains,Engines,FuelTypes,Equipment,ManufacturerPackages,BodyStyles,PageSize,PageNo,CurrentVehicleAttributes
String,0,String,0,False,0,0,0,0,0,False,False,False,False,False,False,False,[0],"[{Field:String,Order:String}]",[String],[String],[String],[String],[String],[String],[String],[String],0,0,"{Year:0,Make:String,Model:String,ChromeStyleId:0,VehicleMarketAttributes:{TargetVehicleChromeStyleId:0,RelatedVehicleChromeStyleIds:[0],Engines:[{Description:String,MatchesTargetVehicle:False}],Transmissions:[{Description:String,MatchesTargetVehicle:False}],DriveTrains:[{Description:String,MatchesTargetVehicle:False}],FuelTypes:[{Description:String,MatchesTargetVehicle:False}],Trims:[{Description:String,MatchesTargetVehicle:False}],ManufacturerPackagesTerms:[{Description:String,MatchesTargetVehicle:False}],BodyStyleTerms:[{Description:String,MatchesTargetVehicle:False}],StockTypeTerms:[{Description:String,MatchesTargetVehicle:False}]}}"

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

searchMarketListings,priceStats,bodyStyleTerms,marketDaysSupply,inventoryId,marketPrices,recordCount,recentActiveCount,activeCount,isIncludesCurrentVehicle
"[{age:0,seller:String,certified:False,color:String,mileage:0,internetPrice:0,Location:String,vin:String,year:0,make:String,model:String,trim:String,adText:String,stockNumber:String,vdpUrl:String}]","{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}","[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},engine_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},drive_train_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},transmission_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]}}]},engine_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},engine_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},drive_train_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},transmission_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]}}]},drive_train_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},engine_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},drive_train_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},transmission_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]}}]},transmission_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},engine_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},drive_train_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]},transmission_terms:{buckets:[{key:String,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0},distance_stats:{buckets:[{key:String,from:0,to:0,odometer_ranges:{buckets:[{key:String}]},odometer_stats:{count:0,sum:0,avg:0,max:0,min:0,sum_as_string:String,avg_as_string:String,max_as_string:String,min_as_string:String,value:0}}]},fuel_type_terms:{},engine_terms:{},drive_train_terms:{},transmission_terms:{}}]}}]}}]","[{MarketDaysSupplyCount:0,SearchTypeId:0}]",0,,0,0,0,False