Vehicle advert detail
Open a selected advert for its vehicle specification and seller presentation.
Loading / 加载中…
AutoTrader API · E-commerce & marketplace data
AutoTrader API connects vehicle discovery with advert inspection across UK, Canadian, South African and Australian market selections.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Open a selected advert for its vehicle specification and seller presentation.
Find vehicle adverts using a market and the filters supported for that region.
A search row combines an advert's identity with the information needed to distinguish vehicles in a results list. The title supplies its heading, while make and model identify the vehicle family.
Asking price is represented by price, and rrp carries the recommended retail price. These are separate fields rather than interchangeable price labels.
For vehicle comparisons, year and mileage describe age and recorded distance. The vehicleLocation gives the vehicle's location, and sellerType describes the seller category.
The row also carries images for visual presentation and fpaLink for its advert link. Its advertId is the advert identifier rather than a vehicle specification value.
The detail record separates structured vehicle attributes from the advert's written presentation. Inside specification, the make and model describe the vehicle family, fuel describes its fuel type, transmission describes the gearbox and bodyType describes its body style. The remaining specification entries give doors, seats and engine information, so a comparison view can distinguish cabin layout from the mechanical description.
Outside that group, registration represents registration information and year gives the vehicle year. The advert's prose sits in description, with its pictures in images.
Pricing includes the asking figure together with priceIndicatorRating and priceDeviation for price context. The dealer group gathers the seller's name, reviews and location as a separate part of the advert.
A UK search can narrow a make to a model, then combine that choice with price, manufacture year and mileage boundaries. The price inputs express pounds sterling, whereas the mileage boundaries express miles. Gearbox selection distinguishes manual from automatic transmission.
The fuel choices include petrol, diesel, electric, hybrid and plug-in hybrid vehicles, while body style choices include hatchback, saloon, estate, SUV, coupe, convertible and MPV. Fuel and body style also accept other AutoTrader labels beyond the displayed choices.
A postcode anchors the location search, with a central England postcode used when it is omitted. The radius measures miles around that anchor.
The market selection determines which regional listings are searched, with the UK selected when the market input is omitted. Canadian, South African and Australian searches support make, model and page selection. Their result prices are expressed in Canadian dollars, South African rand and Australian dollars respectively, and their mileage is expressed in kilometres.
Keep those regional units attached to a result when presenting price and distance together: the same numeric mileage is read differently from a UK mileage filter. The returned market identifies the region associated with the data.
POST /api/v1/autotrader/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Take advertId from a search row and put it in body.id for the detail operation, keeping the market selection with it. Canadian advert identifiers use UUIDs; the other supported markets use digits. A full advert URL in body.url is an alternative. Accepted id names also include advert_id, advertId, listing_id and listingId.
Set body.page to the desired results page; the search starts at 1 when that input is omitted. The returned page_info carries page for the selected page, page_count for the result page count and total_results for the number of search results. Keep the same search criteria while changing the page selection.
An invalid make, model, fuel, body style or transmission value is ignored by the search operation. Invalid postcode and market values are also ignored, with the corresponding default applied. For advert detail, an invalid URL, postcode or market value is ignored. Choose the intended region and labels explicitly when composing a request.
The search accepts price_from and price_to for the price boundaries, year_from and year_to for the year boundaries, fuel_type for fuel, distance for radius, zip for postcode and country for market. The detail operation also accepts fpa_url for the advert URL, plus zip and country. These names let an existing form express the corresponding documented inputs.