Looking up one Automobile.it listing
Reading one vehicle's full detail on this API follows a short path once a listing's identifier or canonical URL is in hand:
- Run
automobile-it-searchfor the brand the vehicle belongs to and read the identifier or canonical URL on the row that matches it. - Send that identifier or canonical URL as
body.listing_idtoautomobile-it-product-detail. - Read the asking price, full description, grouped vehicle specifications and dealer profile as four separate pieces of the response.
- Keep the identifier on hand for later lookups rather than copying a bare numeric id off a listing page, since a bare number on its own is rejected.
There is no second input alongside body.listing_id, so the identifier or canonical URL from a prior search is everything this one lookup needs. Running this lookup again later for the same vehicle, with the same identifier or canonical URL, reaches the same four pieces unchanged, so there is no need to repeat the search step unless that value itself has been lost.
Searching Automobile.it Italy cars listings by brand, page by page
Working through one brand's current listings on automobile-it-search means repeating the same call with one input changed each time:
- Send
body.queryset tofiatorvolkswagen, whichever brand you are searching. - Leave
body.pageout on the first call, which reads page 1 by default. - Read each row's listing identifier, EUR asking price, vehicle facts and dealer name.
- Send the same
body.queryagain withbody.pageset to 2 to read that brand's second and last native page.
Because automobile-it-search exposes only two native pages per brand, this loop never runs past body.page set to 2; a value outside 1 or 2 is rejected rather than treated as a request for a page further out.
Setting body.limit without losing rows between pages
body.limit trims each native page automobile-it-search reads down to at most that many rows, from 1 to 24 with 3 as the default, before the page comes back. Because trimming happens on each native page separately, raising body.page afterward reads the next native page rather than the rows a smaller body.limit left off the one before it; those left-off rows are not revisited by paging forward.
A search built to read both of a brand's native pages in full should set body.limit to a value high enough on each of the two calls that neither page's rows are trimmed away, since a body.limit that is too low on page 1 cannot be recovered by anything sent on page 2. Lowering body.limit again on a later call only affects the rows that call itself reads, not rows a prior call already returned or skipped. Rather than lowering body.limit partway through, a tracker that wants a consistent row count across both of a brand's pages is better off keeping body.limit fixed across the two calls and changing only body.page between them.
Combining a brand search with a full listing lookup
Finding a vehicle through automobile-it-search and then reading its full detail through automobile-it-product-detail takes one extra step between the two calls:
- Send
body.query, andbody.pageif needed, toautomobile-it-searchfor the brand you are searching. - Pick the row that interests you and read its listing identifier or canonical URL.
- Send that value as
body.listing_idtoautomobile-it-product-detailfor the asking price, full description, grouped specifications and dealer profile.
The two operations share no input name between them: the brand route that drives automobile-it-search plays no part in automobile-it-product-detail, since body.listing_id alone drives that lookup once a row's identifier or canonical URL is in hand. A dealer's name from the search row and the fuller dealer profile from the lookup describe the same dealer, not two different ones.
Automobile.it explained
Listings on Automobile.it are grouped into categories such as used, zero-km, new, long-term rental and classic cars, spanning more than one stage of a vehicle's life rather than only used stock. Buyers in Italy use marketplaces such as this one to gather dealer and private-seller listings nationwide and compare them before settling on a car, rather than relying on one local source.
[
{
"body": {
"query": "fiat",
"page": 1,
"limit": 3
}
},
{
"body": {
"listing_id": "uboldo-fiat-panda-1-2-easypower-lounge/180506605"
}
}
]{
"body": {
"query": "volkswagen",
"page": 2
}
}Server-side request template
This server-side template shows authentication and request identity using the first operation of this API. Choose the operation for your use case and check its current availability and price on the API page. After a timeout, resend the unchanged request with the same Idempotency-Key.
The gateway request is always POST.
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.
# 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/automobile-it/automobile-it-product-detail' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"listing_id":"uboldo-fiat-panda-1-2-easypower-lounge/180506605"}}'Integration checklist
- The API key is stored in a server-side secret manager and never sent to a browser.
- Each request carries its own Idempotency-Key, kept until the request has a final answer.
- The integration reads ok and error.code and handles each error code as the error table describes.
- An uncertain POST is inspected using its original identity, never blindly repeated with a new one.
- The operation’s current availability and price have been checked on its API page.
Automobile.it Vehicle Listings API overview and prices · Read the API reference · Try it in the playground