List Models
curl --request GET \
--url https://listings.vin/{make}/modelsimport requests
url = "https://listings.vin/{make}/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://listings.vin/{make}/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://listings.vin/{make}/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://listings.vin/{make}/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://listings.vin/{make}/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://listings.vin/{make}/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"Escape": 1240,
"Explorer": 1174,
"F150": 771,
"Edge": 580,
"Mustang": 504,
"Fusion": 397,
"Focus": 325,
"F150 SuperCrew Cab": 285,
"Maverick": 272,
"EcoSport": 257,
"Expedition": 248,
"Bronco": 189,
"Bronco Sport": 155
...
}
}
API Reference
List Models
GET
/
{make}
/
models
List Models
curl --request GET \
--url https://listings.vin/{make}/modelsimport requests
url = "https://listings.vin/{make}/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://listings.vin/{make}/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://listings.vin/{make}/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://listings.vin/{make}/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://listings.vin/{make}/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://listings.vin/{make}/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"Escape": 1240,
"Explorer": 1174,
"F150": 771,
"Edge": 580,
"Mustang": 504,
"Fusion": 397,
"Focus": 325,
"F150 SuperCrew Cab": 285,
"Maverick": 272,
"EcoSport": 257,
"Expedition": 248,
"Bronco": 189,
"Bronco Sport": 155
...
}
}
string
The manufacturer / make of the vehicle (Ford, Chevrolet, etc.)
Response
The response will be an array of search results. Each result will contain the text of the search result and the filter object of the search result.object
required
Key : Value pairs of the make and the number of models available for that make.
{
"data": {
"Escape": 1240,
"Explorer": 1174,
"F150": 771,
"Edge": 580,
"Mustang": 504,
"Fusion": 397,
"Focus": 325,
"F150 SuperCrew Cab": 285,
"Maverick": 272,
"EcoSport": 257,
"Expedition": 248,
"Bronco": 189,
"Bronco Sport": 155
...
}
}
⌘I