Skip to content
Scrappa Get API key
AutoTrader.ca API 1 credit / request

AutoTrader.ca Listing Detail API Documentation

GET https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d

Fetch one public AutoTrader.ca car listing by id: title, description as plain text, price in CAD with its market rating, vehicle make, model, year, mileage, transmission, fuel, drivetrain, body type, colour, doors, seats and equipment list, image urls, location with coordinates, the seller (dealer or private) with company name, website and phone numbers, the Carfax report url and the creation timestamp. An unknown id answers a non-billable 404.

AutoTrader.ca Listing Detail API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d
Auth header
x-api-key
Cost
1 credit / request
id = 13c8b0af-3d77-46cf-aa5a-e74290d5328d
Response preview
200 OK
{
    "success": true,
    "data": {
        "id": "13c8b0af-3d77-46cf-aa5a-e74290d5328d",
        "title": "2021 Honda Civic Sedan",
        "url": "https://www.autotrader.ca/offers/honda-civic-sedan-lx-cvt-apo-carplay-backup-cam-htd-seats-honda-sense-gasoline-black-cat_ma31gr200622va2411tr11703-13c8b0af-3d77-46cf-aa5a-e74290d5328d",
        "description": "2.0L I-4 DOHC 16-Valve i-VTEC Engine | Crystal Black Pearl | Black | FWD | 4 door | Sedan\n\nApple CarPlay/Android Auto smart device mirroring\nCollision Mitigation Braking System (CMBS) + FCW forward co\u2026",
        "price": 16999,
        "currency": "CAD",
        "price_evaluation": "great_price",
        "median_market_price": 18600,
        "created_at": "2026-10-02T07:10:14Z",
        "condition": "used",
        "vehicle": {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

AutoTrader.ca listing UUID from a search result. Example: 13c8b0af-3d77-46cf-aa5a-e74290d5328d.

Example value 13c8b0af-3d77-46cf-aa5a-e74290d5328d

Request Examples

PHP
<?php

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => "https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "x-api-key: YOUR_API_KEY_HERE"
    ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #:" . $err;
} else {
    echo $response;
}
PHP
<?php

use Illuminate\Support\Facades\Http;

$response = Http::timeout(30)
    ->withHeaders(['x-api-key' => 'YOUR_API_KEY_HERE'])
    ->get('https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d');

if ($response->successful()) {
    echo $response->body();
} else {
    echo "Error: " . $response->status();
}
JavaScript
const options = {
    method: 'GET',
    headers: {
        'x-api-key': 'YOUR_API_KEY_HERE'
    }
};

fetch('https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d', options)
    .then(response => {
        if (!response.ok) {
            throw new Error(`HTTP error! status: ${response.status}`);
        }
        return response.text();
    })
    .then(data => console.log(data))
    .catch(error => console.error('Error:', error));
JavaScript
const axios = require('axios');

const options = {
    method: 'GET',
    url: 'https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d',
    headers: {
        x-api-key: 'YOUR_API_KEY_HERE',
    }
};

try {
    const response = await axios(options);
    console.log(response.data);
} catch (error) {
    console.error('Error:', error.message);
}
Ruby
require 'net/http'
require 'uri'

uri = URI.parse("https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == 'https'

request = Net::HTTP::Get.new(uri.request_uri)
request['x-api-key'] = 'YOUR_API_KEY_HERE'

begin
    response = http.request(request)
    puts response.body
rescue => e
    puts "Error: #{e.message}"
end
Python
import http.client
import json

conn = http.client.HTTPSConnection("scrappa.co")

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE',
}

try:
    conn.request("GET", "/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d", headers=headers)
    res = conn.getresponse()
    data = res.read()
    print(data.decode("utf-8"))
except Exception as e:
    print(f"Error: {e}")
finally:
    conn.close()
Python
import requests

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE',
}

try:
    response = requests.get('https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d', headers=headers)
    response.raise_for_status()
    print(response.text)
except requests.exceptions.RequestException as e:
    print(f"Error: {e}")
Java
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;

public class ApiExample {
    public static void main(String[] args) {
        OkHttpClient client = new OkHttpClient();

        Request request = new Request.Builder()
            .url("https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d")
        .addHeader("x-api-key", "YOUR_API_KEY_HERE")
            .build();

        try (Response response = client.newCall(request).execute()) {
            if (response.isSuccessful()) {
                System.out.println(response.body().string());
            } else {
                System.out.println("Error: " + response.code());
            }
        } catch (IOException e) {
            System.out.println("Error: " + e.getMessage());
        }
    }
}
Go
package main

import (
    "fmt"
    "net/http"
    "io/ioutil"
)

func main() {
    client := &http.Client{}
    req, err := http.NewRequest("GET", "https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d", nil)
    if err != nil {
        fmt.Println("Error creating request:", err)
        return
    }
    req.Header.Set("x-api-key", "YOUR_API_KEY_HERE")

    resp, err := client.Do(req)
    if err != nil {
        fmt.Println("Error making request:", err)
        return
    }
    defer resp.Body.Close()

    body, err := ioutil.ReadAll(resp.Body)
    if err != nil {
        fmt.Println("Error reading response:", err)
        return
    }

    fmt.Println(string(body))
}
Terminal
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d"
C#
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program
{
    static async Task Main()
    {
        using var client = new HttpClient();
        client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY_HERE");

        try
        {
            var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d"));
            var content = await response.Content.ReadAsStringAsync();
            Console.WriteLine(content);
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }
}
TypeScript
import axios from 'axios';

async function run(): Promise<void> {
    try {
        const response = await axios({
            method: 'GET',
            url: 'https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d',
            headers: {
        'x-api-key': 'YOUR_API_KEY_HERE',
            },
        });

        console.log(response.data);
    } catch (error) {
        console.error('Error:', error);
    }
}

void run();
RUST
use reqwest::Client;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new();

    let response = client
        .get("https://scrappa.co/api/autotrader_ca/listing?id=13c8b0af-3d77-46cf-aa5a-e74290d5328d")
        .header("x-api-key", "YOUR_API_KEY_HERE")
        .send()
        .await?;

    println!("{}", response.text().await?);

    Ok(())
}

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Response fields

50 fields
Field Type
success boolean
data.id string
data.title string
data.url string
data.description string
data.price number
data.currency string
data.price_evaluation string
data.median_market_price number
data.created_at string
data.condition string
data.vehicle.make string
data.vehicle.model string
data.vehicle.variant string
data.vehicle.trim string
data.vehicle.year integer
data.vehicle.mileage_km integer
data.vehicle.transmission string
data.vehicle.fuel string
data.vehicle.drivetrain string
data.vehicle.body_type string
data.vehicle.body_color string
data.vehicle.body_color_name string
data.vehicle.doors integer
data.vehicle.seats integer
data.vehicle.cylinders integer
data.vehicle.equipment array
data.vehicle.equipment[] string
data.images array
data.images[] string
data.video_url string
data.location.city string
data.location.province string
data.location.postal_code string
data.location.street string
data.location.latitude number
data.location.longitude number
data.seller.id string
data.seller.type string
data.seller.is_dealer boolean
data.seller.company_name string
data.seller.website string
data.seller.logo_url string
data.seller.google_rating number
data.seller.phones array
data.seller.phones[].type string
data.seller.phones[].number string
data.carfax_url string
meta.endpoint_family string
meta.billable boolean
JSON Response
200 OK
{
    "success": true,
    "data": {
        "id": "13c8b0af-3d77-46cf-aa5a-e74290d5328d",
        "title": "2021 Honda Civic Sedan",
        "url": "https://www.autotrader.ca/offers/honda-civic-sedan-lx-cvt-apo-carplay-backup-cam-htd-seats-honda-sense-gasoline-black-cat_ma31gr200622va2411tr11703-13c8b0af-3d77-46cf-aa5a-e74290d5328d",
        "description": "2.0L I-4 DOHC 16-Valve i-VTEC Engine | Crystal Black Pearl | Black | FWD | 4 door | Sedan\n\nApple CarPlay/Android Auto smart device mirroring\nCollision Mitigation Braking System (CMBS) + FCW forward co\u2026",
        "price": 16999,
        "currency": "CAD",
        "price_evaluation": "great_price",
        "median_market_price": 18600,
        "created_at": "2026-10-02T07:10:14Z",
        "condition": "used",
        "vehicle": {
            "make": "Honda",
            "model": "Civic",
            "variant": "Civic Sedan",
            "trim": "Sedan LX CVT APO | CarPlay | Backup Cam | Htd Seats | Honda Sense",
            "year": 2021,
            "mileage_km": 131616,
            "transmission": "Automatic",
            "fuel": "Gasoline",
            "drivetrain": "Front Wheel Drive",
            "body_type": "Sedan",
            "body_color": "Black",
            "body_color_name": "Crystal Black Pearl",
            "doors": 4,
            "seats": 5,
            "cylinders": 4,
            "equipment": [
                "Air conditioning",
                "Automatic climate control",
                "Cruise control",
                "Power windows"
            ]
        },
        "images": [
            "https://prod.pictures.autoscout24.net/listing-images/13c8b0af-3d77-46cf-aa5a-e74290d5328d_947a8ded-63f0-48c0-948f-c376b2c7df81.jpg/1280x960.webp?promo=ae1d4f1e-637d-4565-aeec-0666f480e40d_2",
            "https://prod.pictures.autoscout24.net/listing-images/13c8b0af-3d77-46cf-aa5a-e74290d5328d_6e203296-d018-4ae7-8eb5-09a155c5b7f7.jpg/1280x960.webp"
        ],
        "video_url": "https://www.youtube.com/watch?v=RlQ4CaNqNpY",
        "location": {
            "city": "MARKHAM",
            "province": "ON",
            "postal_code": "L3R 5X3",
            "street": "8220 KENNEDY RD",
            "latitude": 43.85487,
            "longitude": -79.30679
        },
        "seller": {
            "id": "47944480",
            "type": "dealer",
            "is_dealer": true,
            "company_name": "MARKHAM HONDA",
            "website": "https://www.markhamhonda.com/",
            "logo_url": "https://prod.pictures.autoscout24.net/dealer-info/47944480-original-f91c6097-3a5c-44dc-a2e4-d6bdcaeae01d.jpg/resize/200x100%3E/quality/90",
            "google_rating": 4.2,
            "phones": [
                {
                    "type": "office",
                    "number": "647-946-8441"
                },
                {
                    "type": "sms",
                    "number": "647-691-5347"
                }
            ]
        },
        "carfax_url": "https://vhr.carfax.ca/?id=aZrBl9Pw7SkiHVAf4y34GqmCFtrOFpJs"
    },
    "meta": {
        "endpoint_family": "listing",
        "billable": true
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

The id parameter is missing or not a listing UUID. This response is not billable.

{
    "errors": {
        "id": [
            "A listing id is required, e.g. 13c8b0af-3d77-46cf-aa5a-e74290d5328d."
        ]
    },
    "message": "The request validation failed"
}
404

Listing Not Found

No listing exists for the supplied id, or it was sold and removed. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested AutoTrader.ca resource was not found."
    },
    "success": false
}
503

Upstream Unavailable

AutoTrader.ca is temporarily unreachable, blocked the request, or answered a shape we could not parse. Retry later; this response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "AutoTrader.ca is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.