Dealer profile
Returns one dealer's address, phone, WhatsApp, email, website, about text and the makes it has in stock.
Loading / 加载中…
autolina.ch API: Swiss car listings, dealers and models · Classifieds & second-hand data
The autolina.ch API searches Swiss car listings by make, model, model group, price, mileage, year of first registration, fuel (including every hybrid type), body type, transmission, drive, colour and canton, then returns one listing's full specification, consumption, battery and warranty detail together with the seller's own contact details. It also lists every make with its live listing count, one make's models and model groups, and the Swiss dealer directory with each dealer's own profile, address and stock.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns one dealer's address, phone, WhatsApp, email, website, about text and the makes it has in stock.
Lists Swiss dealers by part of their name, the make they sell or their quality seal, a page at a time.
Returns one listing in full: specification, consumption, battery, warranty, equipment, photos and the seller's own contact details.
Returns the make list for autolina.ch together with each make's current live listing count.
Returns one make's models and model groups, the ids autolina-search filters by.
Searches listings by make, model, price, mileage, year, fuel, body type and canton, a page at a time.
autolina-dealer and autolina-dealers describe the same autolina.ch dealer at two different depths. autolina-dealers pages the whole directory by part of a name, by the make a dealer sells or by its quality seal, and each row carries only the fields a list view needs.
| Field | What it tells you |
|---|---|
quality_seals[] | the seal ids that dealer carries, matching body.quality_seal_id's own values |
makes[] | the makes that dealer sells, without any stock count |
autolina-dealer instead answers one dealer in full once its body.dealer_id is known, adding the contact channels and about-page text no directory row carries. Its own makes_in_stock list goes further than the directory row's makes[], since each entry also carries models_in_stock, showing how many models of that make the dealer currently has on its lot.
Where a search row only summarises, autolina-listing answers the same car in full once its listing_id is known. new_price gives the car's original list price when new, separate from gross_price, the asking price including any add-ons a row does not break out on its own. kerb_weight_kg, total_weight_kg and trailer_load_braked_kg describe three different weight figures rather than one.
fuel_consumption_combined_l100km sits alongside the car's raw fuel_consumption text, its co2_g_km and its energy_efficiency label. A plug-in or electric listing adds battery_capacity_kwh and battery_range_km on top of those figures.
equipment splits into standard and optional lists rather than one mixed list. part_exchange_possible, wir_payment and financing each mark a different way the sale itself can be arranged.
eurotax_code, chassis_number and dealer_reference are three separate identifiers for the same car, each useful for a different lookup. views, created_at, updated_at and is_online track the listing's own history rather than the car's, and the seller object's type separates a dealer from a private individual before any of its address or contact fields are read.
condition on an autolina-search row states the car's own state as one of five values — new, used, classic, demo or pre_registered — with condition_code carrying the same value in a second form. is_new_listing is a separate field entirely: it marks autolina.ch's own 'recently listed' badge on the listing, not the condition of the car, so a used car can still carry a true is_new_listing the day it goes online. location groups a row's postcode, city, canton and country together rather than spreading them across separate top-level fields.
seller on a row carries only type, name and logo, far less than the same object returns from autolina-listing. quality_seals[] and is_premium mark the listing itself rather than its seller, and updated_at tracks when that row's own data last changed.
Each entry autolina-makes returns pairs a make_id with its name, slug and current count. A make_id read from that list reaches autolina-models's body.make and autolina-search's body.make_id without any change in between. body.make_id, body.model_id and body.model_group_id each also take several comma-separated ids in one call.
autolina-models then answers one make's models, each with its own model_id and, separately, a model_group_id that bundles several closely related models together, such as every Golf body style under one group, named directly by that entry's own model_group. autolina-search takes body.model_id to match one exact model and body.model_group_id to match every model inside a group at once, so a caller never has to look up which individual model ids belong to a group before searching it as a whole.
body.price_min and body.price_max, together with body.mileage_min and body.mileage_max, are each inclusive on autolina-search: a listing priced or driven exactly at the bound sent still matches it. Both price bounds are set in Swiss francs, the currency a matched row's own price field reports, while both mileage bounds are set in kilometres, matching mileage_km. body.power_hp_min and body.power_hp_max work the same way for horsepower.
body.year_min and body.year_max bound the car's year of first registration the same way, between 1900 and 2100. body.seats_min keeps only cars with at least that many seats, from 1 up to 99.
body.sort on autolina-search takes one of these orders:
relevance: the site's default order, newest listing first together with any premium placementnewest: newest listing first, without weighting placementprice_asc / price_desc: price low to high or high to lowmileage_asc / mileage_desc: fewest kilometres first or most firstyear_asc / year_desc: oldest or newest first registration firstmake_asc / make_desc: make and model A-Z or Z-AThe same body.page and body.limit mechanics carry a caller through both autolina-search and autolina-dealers, with nothing below either ceiling limiting how far a page number can be carried, so body.page multiplied by body.limit can be carried as far as the total row count itself. A body.page or body.limit value outside its own bounds is rejected outright rather than clamped to the nearest allowed number.
autolina.ch brings together listings from Swiss car dealers and private sellers. A Swiss corporate fleet operator is among the sellers using the marketplace, advertising part of its own used-vehicle inventory there to private buyers.
{
"body": {
"fuel": ["petrol"],
"make": "vw",
"model_group_id": "74",
"sort": "price_asc",
"year_min": 2018
}
}POST /api/v1/autolina/<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).autolina-search by make, price and canton, then opens full specification with autolina-listing.autolina-dealers and shows one dealer's stock and contact details with autolina-dealer.autolina-makes then autolina-models to build a cascading selector before a search runs.autolina-search for one make and model group and records price and mileage_km per listing over time.autolina-listing's seller fields for cars listed by individuals rather than dealers.autolina-search's and autolina-dealers's body.page each go up to 10000, with body.limit capped at 100 rows per page.autolina-search rejects any body.condition, body.fuel, body.body_type or body.transmission value outside its listed set rather than ignoring it. The same holds for body.drive, body.exterior_color and body.canton.body.power_hp_min or body.power_hp_max filter on autolina-search only matches listings that state their horsepower.body.listing_id on autolina-listing, which can follow a listing_id taken from an older search result.autolina-dealers's body.quality_seal_id takes only 22, 23 or 24; no other value is accepted.Send body.dealer_id to autolina-dealer; id and seller_id work as alternative names for the same value, so one taken from a listing's seller.dealer_id field or from an autolina-dealers row reaches it unchanged. The dealer object returns the address, canton, phone, mobile number, WhatsApp, email, website and about text, plus has_dealer_page and subscription_expired, and a makes_in_stock list naming each make the dealer sells together with how many of its models are currently in stock.
Call autolina-dealers with body.make_id for dealers selling one make, or body.quality_seal_id set to 22, 23 or 24 for a dealer carrying the AGVS | UPSA, Garage Plus or CarXpert seal; this one field holds only a single seal value at a time. body.query narrows the same call by part of a dealer's name, with q and name accepted as alternative names for it. All three filters can be combined on one call to narrow by name, make and seal together.
Send body.listing_id to autolina-listing; id and car_id work as alternative names for it. The listing object adds every search-row field plus the full specification: consumption, CO2, energy label, battery capacity and range, and the Swiss MFK inspection date. A warranty object and equipment split into standard and optional describe the car's own terms and fittings. The seller's own phone, mobile_phone, whatsapp and email distinguish a private seller from a dealer through seller.type.
Call autolina-makes with no input at all. Each entry in the response names one make with its make_id, name, slug and count, the last showing that make's current live listing count. The same make_id is the value autolina-search takes as body.make_id and autolina-models takes as part of body.make, so a count read here can be followed straight into either operation.
Send body.make to autolina-models, either the make_id from autolina-makes or the make's own name or slug such as vw or bmw. brand and make_id both work as alternative names for the same input. The response echoes the resolved make and lists its models, each with its own model_id, name, slug, model_group_id and model_group. The last names the group a model belongs to, such as every Golf body style grouped under one model_group_id.
Send body.make (or the faster body.make_id) together with body.price_min and body.price_max to autolina-search; every bound is inclusive. The same call also takes body.mileage_min and body.mileage_max. body.make is checked against autolina.ch's own live make list and rejected when it matches nothing, while body.make_id skips that check entirely. body.model_id and body.model_group_id narrow the same search further once a model or model group id is known from autolina-models.
Set body.fuel on autolina-search to one or several comma-separated values from its fixed list, which separates electric, hydrogen, cng, lpg and bioethanol from four distinct hybrid combinations: full hybrid petrol, full hybrid diesel, mild hybrid petrol and mild hybrid diesel, plus their plug-in forms. fuel_type works as an alternative name for the same input, and any value outside that list is rejected rather than ignored.
Set body.listed_within_days on autolina-search to 1, 2, 3, 7, 14 or 30 to keep only listings put online in that many days. Pair it with body.sort set to newest to put the most recent listing first; the default relevance order instead favours newly listed cars together with any premium placement, so the two orders can rank the same results differently.
body.model_id and body.model_group_id on a search?body.model_id on autolina-search matches one specific model, the same id autolina-models returns per entry in models. body.model_group_id instead matches every model inside one group at once, such as the Golf hatchback, estate, Plus, Sportsvan and Cabriolet all sharing a single model_group_id; autolina-models returns that same id alongside each model's own model_group name.
autolina-listing returns mfk_inspected and inspection_date for the Swiss roadworthiness check. It also returns a warranty object with has_warranty, type and text describing any warranty on the car. autolina-search also takes body.mfk_inspected as a filter that, set to true, keeps only listings that have passed that inspection; it defaults to false. The same two fields let a buyer compare a car's inspection status against its warranty terms before contacting the seller about either one.