Skip to main content
Version: v1

Tire Pros

The Tire Pros API is used to determine RSA eligibility for vehicles with a qualifying service.

ABS will provide partners with a unique JWT token for accessing the Tire Pros API. JWT tokens created with your partner ID and client secret cannot be used to access this API.

RSA Eligibility [GET]

This endpoint returns whether a vehicle is RSA eligible.

A vehicle is identified using either VIN or the combination of licensePlate and state. If all three parameters are provided, only VIN is used to look up a vehicle.

Go Example

package main

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

func main() {

url := "https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer {JWT}")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}

Ruby Example

require "uri"
require "net/http"

url = URI("https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer {JWT}"

response = http.request(request)
puts response.read_body

Python Example

import requests

url = "https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}"

payload={}
headers = {
'Authorization': 'Bearer {JWT}'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Shell Example

curl --header 'Authorization: Bearer {JWT}' --location --request GET 'https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}'

Javascript Example

var axios = require('axios')

var config = {
method: 'get',
url: 'https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}',
headers: {
Authorization: 'Bearer {JWT}',
},
}

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data))
})
.catch(function (error) {
console.log(error)
})

Make sure to replace {licensePlate} and {state} with the appropriate values.

The above command returns JSON structured like this:

{
"isEligible": true
}

HTTP Request

To lookup a vehicle with by license plate number and state:

GET https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?licensePlate={licensePlate}&state={state}

To lookup a vehicle with by VIN:

GET https://absintegrations.com/api/v1/vehicle-lookup/tire-pros/rsa/eligible?vin={vin}

Path Parameters

ParameterRequirementDescription
vinOptional if licensePlate and state are providedThe value of the Vehicle Identification Number of the vehicle you are trying to determine eligibility for.
licensePlateRequired if searching without vinAlphanumeric license plate number of the vehicle you are trying to determine the eligibility for
stateRequired if searching without vinTwo-Letter State Abbreviation for the state of the vehicle you are trying to determine eligibility for.