API

Aerpro Developer Tools

Welcome to the Aerpro API!

While designed for internal use, the Aerpro API has been made available to customers. All data remains current and accurate, matching the information used on aerpro.com.

  • Embed the Aerpro Vehicle Selector plugin on your website
  • jQuery library must be loaded (the plugin will attempt to load it if missing)
  • A custom JavaScript callback function to handle the results
Integration Guide

Implementation Steps

Follow these five steps to integrate the vehicle selector on your website. The plugin requires jQuery and provides a callback-based interface for handling vehicle data.

  • Load jQuery from a CDN or your own server
  • Include the Aerpro plugin script tag
  • Define a callback function to handle vehicle data
  • Create a container element for the widget
  • Initialize the plugin with your callback
  • The attribution link must remain visible
Code Examples

Step-by-Step Integration

Step 1: Load jQuery

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>

Step 2: Load the Aerpro Plugin

<script src="https://aerpro.com/plugin.js"></script>

Step 3: Define a Callback Function

window.myCallback = function(data) {
  // data.vehicle contains: make, model, year, picture, products
  console.log('Vehicle:', data.vehicle.make, data.vehicle.model);
  console.log('Products:', data.vehicle.products.length);
};

Step 4: Create a Container Element

<div id="aerpro-selector-here"></div>

Step 5: Initialize the Plugin

$('#aerpro-selector-here').aerproVehicleSelector(myCallback);
Try It Out

Live Demo

Select a vehicle below to see the plugin in action:

All code and data are the property of TDJ Australia Pty Ltd. You may not pre-fetch, index, store, or cache any content from the API except as necessary for immediate display to end users. Do not abuse this system; excessive use will result in rate-limiting.