Documentation
autolina.ch API reference for 6 operations
Reference for the autolina.ch API: what each of its 6 operations' inputs does, aliases included, and what each operation returns.
See also: autolina.ch API: Swiss car listings, dealers and models overview and prices · autolina.ch API guide: search, dealers and listings
On this page
autolina.ch API dealer lookup: aliases and fields the table leaves out
body.dealer_id on autolina-dealer accepts seller_id and id as alternative names for the same value. An id already captured this way reaches this operation unchanged, whether it came from a listing's own seller.dealer_id field or from an autolina-dealers row's dealer_id.
The dealer object this operation returns is not rendered above. It carries:
name,url,street,postcode,city,canton: where and what the dealer isphone,mobile_phone,whatsapp,email,website: every contact channel autolina.ch has for itlogo,banner,about: its own page's image and text
has_dealer_page marks whether the dealer keeps its own page on autolina.ch, and subscription_expired marks whether that dealer's own listing subscription has lapsed. makes_in_stock lists each make the dealer sells, with models_in_stock on every entry showing how many models of that make it currently has on the lot.
Fields in this section (2)
autolina-dealer, body.dealer_id
Dealer directory: paging and what a row leaves out
body.query on autolina-dealers also accepts q and name as alternative names, matched against part of a dealer's own name. body.make_id narrows the directory to dealers selling one make, and body.quality_seal_id takes exactly 22, 23 or 24 for the AGVS/UPSA, Garage Plus or CarXpert seal; unlike the array-style filters autolina-search takes, this one holds only a single seal value at a time.
Each row's own quality_seals[] lists the same seal ids body.quality_seal_id filters by, and makes[] names the makes that dealer sells, without the per-make stock counts autolina-dealer's own makes_in_stock adds.
Fields in this section (6)
autolina-dealers, body.query, body.make_id, body.quality_seal_id, body.page, body.limit
Listing lookup: aliases and the fields a row leaves out
body.listing_id on autolina-listing accepts id and car_id as alternative names, so the listing_id a search row already carries, or the number at the end of an autolina.ch listing URL, reaches this operation without reformatting. A listing that is no longer online returns no match for its id, which can happen when a listing_id taken from an older search result has since been delisted.
autolina-listing returns thumbnails[] for its photos, where an autolina-search row instead carries image and images[], so a full listing's photo field is not simply the row's own field repeated back. doors, seats, cylinders and gears describe the car's build beyond the power and engine size a row already shows, and inspection_date dates the Swiss MFK check mfk_inspected only confirms as passed or not.
The seller object here carries every field autolina.ch has for that seller, profile_url and offers_test_drive among them. That goes well beyond the type, name and logo a search row's own seller carries.
Fields in this section (2)
autolina-listing, body.listing_id
autolina.ch API makes: the ids that start a model or search lookup
autolina-makes takes no input at all, so a bare call answers with the make list in one response rather than one page of it. Each entry names one make with make_id, name and slug, and its own count reports that make's current live listing count, read directly from this call rather than computed from a separate search.
The same make_id this operation returns is the exact value autolina-search takes as body.make_id and the value autolina-models accepts in place of a make's own name or slug through body.make, so a single id read here reaches either operation without any further lookup in between.
Fields in this section (1)
autolina-makes
Models: how make resolves, and what model_group adds
body.make on autolina-models takes a make's own name or slug such as vw, bmw or mercedes-benz, or a numeric make_id from autolina-makes. brand and make_id both work as alternative names for this one input, so whichever form a caller already has reaches it unchanged.
The response echoes back the resolved make object before listing models. Each model carries its own model_id, name and slug, and separately a model_group_id together with model_group, the group's own name paired directly with its id so a caller never has to look the name up a second time. A model group bundles several close variants under one id and name, such as every Golf body style grouped under a single model_group_id that autolina-search can then match in one call.
Fields in this section (2)
autolina-models, body.make
Search: enums, arrays and rejected values
body.condition, body.fuel, body.body_type and body.transmission on autolina-search each take one value or several comma-separated values from a fixed list, matching any one of them rather than requiring all. body.drive matches any one of its values the same way.
body.exterior_color and body.canton, the two remaining list-based filters, also take one or several comma-separated values from a fixed list. Every one of these seven filters rejects a value outside its own list rather than ignoring it or falling back to an unfiltered search, so a misspelled or unsupported value never silently returns the whole catalogue in its place.
Six of the seven also accept their own alternative name; body.condition does not. fuel_type is accepted in place of body.fuel, and body in place of body.body_type. gearbox stands in for body.transmission, and drivetrain for body.drive.
color and colour both stand in for body.exterior_color, and region and state both stand in for body.canton. body.canton additionally takes FL for Liechtenstein alongside the 26 Swiss canton codes, since autolina.ch lists sellers based there as well.
Fields in this section (8)
autolina-search, body.condition, body.fuel, body.body_type, body.transmission, body.drive, body.exterior_color, body.canton
Search: numeric ranges, recency, dealer stock and the result shape
On autolina-search, body.mileage_min and body.mileage_max also accept km_min and km_max as alternative names for the same bounds. body.power_hp_min and body.power_hp_max likewise accept hp_min and hp_max. body.dealer_id narrows a search to one seller's own stock, taking seller_id as an alternative name, the same id autolina-dealer itself takes as body.dealer_id.
body.listed_within_days chooses one of six fixed windows. The values are 1, 2, 3, 7, 14 and 30 days, rather than any arbitrary number. Set to true, body.with_photos_only keeps only listings with at least one photo, and body.mfk_inspected keeps only listings that passed the Swiss MFK inspection.
body.dealer_id here and autolina-dealer's own body.dealer_id both expect the same up-to-ten-digit id format as autolina-listing's body.listing_id, so a value already captured for one of the three reaches either of the other two without reformatting.
body.query on autolina-search matches free text against the listing's version line, such as 'golf gti' or 'tdi'; when several words are sent, every one of them must appear.
Fields in this section (14)
autolina-search, body.price_min, body.price_max, body.mileage_min, body.mileage_max, body.year_min, body.year_max, body.power_hp_min, body.power_hp_max, body.seats_min, body.dealer_id, body.listed_within_days, body.with_photos_only, body.mfk_inspected
{
"body": {
"listing_id": "5000000"
}
}{
"body": {
"quality_seal_id": "22",
"limit": 50
}
}Operations
Every public gateway operation uses POST /api/v1/{project}/{action}.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
Dealer profile
POST /api/v1/autolina/autolina-dealer
Returns one dealer's address, phone, WhatsApp, email, website, about text and the makes it has in stock.
Input fields
| Field | Type | Required | Allowed values | Limits |
|---|---|---|---|---|
body.dealer_id | string | Required | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-dealer' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"dealer_id":"9990"}}'Dealer directory
POST /api/v1/autolina/autolina-dealers
Lists Swiss dealers by part of their name, the make they sell or their quality seal, a page at a time.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.limit | integer | Optional | 20 | — | 1–100 |
body.make_id | integer | Optional | — | — | 1–9007199254740991 |
body.page | integer | Optional | 1 | — | 1–10000 |
body.quality_seal_id | string | Optional | — | "22""23""24" | — |
body.query | string | Optional | — | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-dealers' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"query":"garage"}}'Listing detail
POST /api/v1/autolina/autolina-listing
Returns one listing in full: specification, consumption, battery, warranty, equipment, photos and the seller's own contact details.
Input fields
| Field | Type | Required | Allowed values | Limits |
|---|---|---|---|---|
body.listing_id | string | Required | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-listing' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"listing_id":"5000000"}}'Makes
POST /api/v1/autolina/autolina-makes
Returns the make list for autolina.ch together with each make's current live listing count.
Input fields
This operation takes no input fields. Send the JSON request body shown below.
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-makes' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{}}'Models
POST /api/v1/autolina/autolina-models
Returns one make's models and model groups, the ids autolina-search filters by.
Input fields
| Field | Type | Required | Allowed values | Limits |
|---|---|---|---|---|
body.make | string | Optional | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-models' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"make":"bmw"}}'Listing search
POST /api/v1/autolina/autolina-search
Searches listings by make, model, price, mileage, year, fuel, body type and canton, a page at a time.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.body_type | string[] | Optional | — | "cabriolet""coupe""suv""small_car""estate""saloon""pickup""van""commercial""camper" | — |
body.canton | string[] | Optional | — | 27 values"AG""AI""AR""BE""BL""BS""FR""GE""GL""GR""JU""LU""NE""NW""OW""SG""SH""SO""SZ""TG""TI""UR""VD""VS""ZG""ZH""FL" | — |
body.condition | string[] | Optional | — | "new""used""classic""demo""pre_registered" | — |
body.dealer_id | string | Optional | — | — | — |
body.drive | string[] | Optional | — | "all_wheel""rear_wheel""front_wheel" | — |
body.exterior_color | string[] | Optional | — | 18 values"anthracite""beige""blue""bordeaux""brown""yellow""gold""gray""green""pink""orange""red""black""silver""turquoise""violet""white""other" | — |
body.fuel | string[] | Optional | — | 13 values"petrol""diesel""electric""cng""lpg""bioethanol""full_hybrid_petrol""full_hybrid_diesel""hydrogen""mild_hybrid_petrol""plugin_hybrid_petrol""mild_hybrid_diesel""plugin_hybrid_diesel" | — |
body.limit | integer | Optional | 20 | — | 1–100 |
body.listed_within_days | string | Optional | — | "1""2""3""7""14""30" | — |
body.make | string | Optional | — | — | — |
body.make_id | string | Optional | — | — | — |
body.mfk_inspected | boolean | Optional | false | — | — |
body.mileage_max | integer | Optional | — | — | 0–9007199254740991 |
body.mileage_min | integer | Optional | — | — | 0–9007199254740991 |
body.model_group_id | string | Optional | — | — | — |
body.model_id | string | Optional | — | — | — |
body.page | integer | Optional | 1 | — | 1–10000 |
body.power_hp_max | integer | Optional | — | — | 0–9007199254740991 |
body.power_hp_min | integer | Optional | — | — | 0–9007199254740991 |
body.price_max | integer | Optional | — | — | 0–9007199254740991 |
body.price_min | integer | Optional | — | — | 0–9007199254740991 |
body.query | string | Optional | — | — | — |
body.seats_min | integer | Optional | — | — | 1–99 |
body.sort | string | Optional | "relevance" | "relevance""newest""price_asc""price_desc""mileage_asc""mileage_desc""year_asc""year_desc""make_asc""make_desc" | — |
body.transmission | string[] | Optional | — | "automatic""manual" | — |
body.with_photos_only | boolean | Optional | false | — | — |
body.year_max | integer | Optional | — | — | 1900–2100 |
body.year_min | integer | Optional | — | — | 1900–2100 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autolina/autolina-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"body_type":["cabriolet"],"canton":["AG"],"condition":["new"],"dealer_id":"example","drive":["all_wheel"],"exterior_color":["anthracite"],"fuel":["petrol"],"limit":1,"listed_within_days":"1","make":"example","make_id":"example","mfk_inspected":false,"mileage_max":0,"mileage_min":0,"model_group_id":"example","model_id":"example","page":1,"power_hp_max":0,"power_hp_min":0,"price_max":0,"price_min":0,"query":"example","seats_min":1,"sort":"relevance","transmission":["automatic"],"with_photos_only":false,"year_max":1900,"year_min":1900}}'How calls work
POST /api/v1/autolina/<action>withx-api-key,Content-Type: application/jsonand a requiredIdempotency-Key.- A successful call returns
ok: true:datais the result of the operation,meta.requestIdidentifies the recorded request andmeta.chargedCreditUnitsis the amount charged. Otherwiseokisfalseanderror.codenames the reason; readokanderror.coderather than relying on the HTTP status alone. Every gateway reply carries a request id for support:meta.requestId, or a top-levelrequestIdin a reply withoutmeta(such as a refusal before admission). - Charged the listed price only when a call succeeds. Failures are not charged; an unconfirmed outcome is released after at most 900 seconds without a charge.
- Repeating the same request with the same Idempotency-Key after it has finished returns the stored response for 24 hours without a new charge.
In the gateway reference: