Model Ranges

Powered by Auto Trader

Use the Auto Trader taxonomy to power your website or app with comprehensive coverage of vehicles for a wide range of asset types.

 

This method returns a list of model ranges for a given manufacturer, with the option of filtering to currently available vehicles for new vehicle websites and apps.

 

Key features:

 

  • Cars, Vans, Motorcycles and Motorhomes

  • Option to filter to new vehicles only

  • From 1p per search

 

 

Pricing

PAYG
30p
Per Use

Sample Response

Documentation

Introduction

This endpoint returns all Auto Trader model range ids and descriptions for the requested manufacturer.

Header

When making calls to our API, include the following header:

x-api-key:your-api-key-here

Example Request

https://api.oneautoapi.com/autotrader/getmodelrangesfromautotradermanufacturerid?autotrader_manufacturer_id=1a2b345cf6d789ef1g0111h2i13j141k

Example Sandbox Request

https://sandbox.oneautoapi.com/autotrader/getmodelrangesfromautotradermanufacturerid?autotrader_manufacturer_id=1a2b345cf6d789ef1g0111h2i13j141k

Request Parameters

autotrader_manufacturer_id
mandatory, string, e.g. 1a2b345cf6d789ef1g0111h2i13j141k
Auto Trader identifier for the vehicle manufacturer

Sample Response

{
  "success": true,
  "result": {
    "modelranges_data": [
      {
        "model_range_desc": "Hatch",
        "autotrader_model_id": "1a2b345cf6d789ef1g0111h2i13j141k"
      }
    ]
  },
  "error": "If there is an error the message would go here"
}

Response Parameters

success
e.g. true
Whether the api call was successful
model_range_desc
e.g. Hatch
Model range description.
autotrader_model_id
e.g. 1a2b345cf6d789ef1g0111h2i13j141k
Auto Trader identifier for the vehicle model range
error
e.g. If there is an error the message would go here
Details of what went wrong with the api call

Status Codes

200
success, chargeable
Request has been successfully received and a response has been sent.
202
accepted, non-chargeable
Request has been received and accepted for processing, but the action has not yet been completed.
204
no content, non-chargeable
Request has been successfully received but there is no content to return e.g. if an invalid VRM has been sent.
206
partial content, non-chargeable
Request has been successfully received but limited content is returned e.g. if an invalid VRM has been sent.
400
bad request, non-chargeable
Request was not received e.g. if any required parameters are missing.
403
forbidden, non-chargeable
Request was rejected e.g. if the API key is invalid or the service is not enabled.
429
too many requests, non-chargeable
API key rate limit/quota has been exceeded.
500
internal server error, non-chargeable
We are unable to process the request e.g. if the API is under extremely heavy load.
503
service unavailable, non-chargeable
Service is temporarily unavailable. Contact help@oneautoapi.com

Also Available From Auto Trader

One Auto API Limited
Terms Privacy Policy