Documentation
Avito.ru API technical reference for ad search and records
Reference for the Avito.ru API: how keywords, categories and filters behave, what search rows and ad records return, and how the lookups work.
See also: Avito.ru API overview and prices · Avito.ru API guide: search, listings and locations
On this page
Avito.ru API search inputs: how location, category and query combine
In avito-search the keyword and the category work together instead of competing. body.query is read the way Avito's search box reads it, so Russian and Latin keywords both work, and body.category narrows the same query to one branch of the tree. A category can be a node id, a Russian name or a path from avito-categories, such as telefony/mobilnye_telefony.
body.location accepts a slug from avito-locations, a major city name such as Москва, or all to search across Russia. Because Avito can convert a keyword into a category with filters, body.category_detection decides whether that conversion happens, and query_interpreted_as reports the category path that was used together with a note.
Fields in this section (5)
avito-search, body.query, body.location, body.category, body.category_detection
Sorting and paging search results
body.sort changes the order of the rows on a page. relevance is Avito's own order and puts paid rows first, while discount on avito-search puts the biggest discount first for goods.
Each page holds 50 rows, and Avito stops at page 30, so a query is paged through a window of 1,500 rows. A page number beyond that window is outside the range the operation expects. has_more shows whether another page follows within the window.
Fields in this section (5)
avito-search, avito-cars-search, avito-real-estate-search, body.sort, body.page
What search replies report besides rows
Beyond listings, data carries the counters needed to read a page. count shows how many rows the page holds, total shows how many matches there are, and pageable_total shows how many of them paging can reach.
page and has_more give the position in the window, and sort_applied, filters_applied and location repeat what the search used. search_url holds the URL of the search itself.
sponsored_dropped counts the paid rows removed from the page, and promoted_on_page counts the paid rows found on it. A page that kept them through body.include_sponsored shows them with is_promoted.
Fields in this section (5)
avito-search, avito-cars-search, avito-real-estate-search, data, body.include_sponsored
Arrays inside Avito.ru search rows
A search row contains several arrays. nearby inside location holds the places close to the ad, such as metro stations with walking time on real estate rows.
images holds the ad's pictures, and badges appears on the row and inside seller for labels shown with the ad or the seller. info inside seller adds further seller details.
reseller_reasons gives the reasons behind reseller_likely, and paid_services lists the paid placement services behind an is_promoted row. fallback_results holds the unrelated ads that Avito pads an empty result with, and body.include_fallback_results on avito-search sends them there.
Fields in this section (4)
avito-search, avito-cars-search, avito-real-estate-search, body.include_fallback_results
Avito Auto filters that depend on the make
avito-cars-search reads Avito Auto. body.make is the make as written in Avito URLs, such as toyota.
body.model is the model slug, such as camry. The model, year, mileage, fuel, drive and seller inputs depend on body.make.
Mileage bounds count kilometres, and body.condition picks used or new cars. body.fuel and body.drive are arrays, so one request can list more than one value:
body.fueltakespetrol,diesel,gas,hybridandelectricbody.drivetakesfront,rearandall_wheel
body.sort adds year_desc for the newest model year first and mileage_asc for the lowest mileage first. Rows carry params_summary with engine, power, gearbox, drive and body details, and dealer rows can carry a starting price through price_is_from next to price_before_discount.
Fields in this section (12)
avito-cars-search, body.make, body.model, body.condition, body.year_min, body.year_max, body.mileage_min, body.mileage_max, body.fuel, body.drive, body.seller_type, body.sort
Avito.ru real estate search: deal and property choices
body.transaction picks the deal. sale, rent_long and rent_daily select a sale, a long-term rent or a daily rent, while rent combines both rent kinds for land, garages and commercial property.
body.property_type switches the kind of property searched, and body.rooms, body.area_min and body.area_max apply to apartments. body.rooms takes an array of studio, the counts 1 to 9, 10_plus and open_plan, so a studio and a two-room apartment can be searched together.
body.market separates secondary resale from new_build for apartments on sale. body.seller_type depends on the deal: private, developer or agency for sales, and owner or agency for rents. Each row's realty_type shows its category_type, transaction_type and rent_term, development_name names the residential complex, and price_per_unit gives the price per m².
Fields in this section (8)
avito-real-estate-search, body.transaction, body.property_type, body.rooms, body.area_min, body.area_max, body.market, body.seller_type
Avito.ru ad record: the blocks of listing
avito-listing looks one ad up by the digits at the end of its URL or by the full URL. The listing object opens with ad_id, title, url and status.
closed_status_text explains a closed ad, and the price fields, published_or_raised_text, expires_at and the full description follow. category and breadcrumbs give the ad's category and its path, and images with images_count hold the pictures and their number.
Its other fields are grouped:
params: each published parameter as anattribute_id, anameand avalueparam_groups: related parameters collected intobuilding,rent_terms,house_rules,requirementsand further groupsvehicleandproperty: the car and real estate summaries, withmarket_estimateinsidepropertylocation: the address withdistrictandnearbyplacescoordinates: the position aslatandlng, with itsprecisionand a radius inradius_mviews: thetotalview count and the count fortoday
Fields in this section (3)
avito-listing, body.ad_id, data
Avito.ru ad record: the seller block
The seller block of avito-listing adds fields that search rows do not have. It names shop_name and contact_person, and gives on_avito_since with on_avito_since_date in YYYY-MM form for how long the seller has been on Avito. reply_time describes how quickly the seller answers, is_verified and inn_verified describe verification, and phone_available with phone_masked describe the phone contact.
Outside seller, the record ends with delivery_available and is_reserved, which show whether Avito Delivery is offered and whether the item is marked as reserved.
Fields in this section (2)
avito-listing, data
Avito.ru category tree and its paths
avito-categories returns the category tree in categories. The tree has 591 nodes covering transport, real estate, jobs, services, electronics, home, fashion, hobbies, animals and business, and the names are in Russian. level gives a node's depth and parent_node_id points to its parent, so the hierarchy can be rebuilt from the list.
The category path is one of the forms that body.category accepts on avito-search, next to node_id and the Russian name. body.query filters the list by category name or path, and count reports how many nodes came back.
Fields in this section (2)
avito-categories, body.query
Avito.ru location lookup for city slugs
avito-locations turns a place name into the values that searches use. The name can be Russian, such as казань, or transliterated, and towns as well as regions match; at least 2 letters are needed.
Each entry in locations returns the slug that body.location takes. It also gives the name, the region the place belongs to and the location_id, and count reports the number of entries.
Fields in this section (2)
avito-locations, body.query
Avito.ru search suggestions
avito-suggest mirrors the search-box suggestions Avito shows while a user types. The text sent can be a partial word, such as айфо, and is limited to 64 characters.
Each entry in suggestions completes it as a query and adds the category_id and the filters that Avito applies to that suggestion. related_words lists words related to the typed text, and count reports the number of suggestions.
Fields in this section (2)
avito-suggest, body.query
Inputs shared by several Avito.ru operations
body.include_pii releases private sellers' names, typed addresses and exact coordinates, which avito-search, avito-cars-search, avito-real-estate-search and avito-listing withhold by default. While they are withheld, name_withheld and coordinates_withheld show it on the row.
body.max_rotations sets how many further attempts are made when Avito refuses a call, and 0 keeps the default number of attempts. It exists on every operation except avito-categories, and a value outside its range is ignored and the default applies.
Fields in this section (8)
avito-search, avito-cars-search, avito-real-estate-search, avito-listing, avito-locations, avito-suggest, body.include_pii, body.max_rotations
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.
Cars search
POST /api/v1/avito/avito-cars-search
Search used and new cars on Avito Auto with car-specific filters.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.condition | string | Optional | — | "used""new" | — |
body.drive | string[] | Optional | — | "rear""front""all_wheel" | — |
body.fuel | string[] | Optional | — | "petrol""gas""hybrid""diesel""electric" | — |
body.include_pii | boolean | Optional | false | — | — |
body.include_sponsored | boolean | Optional | false | — | — |
body.location | string | Optional | "all" | — | — |
body.make | string | Optional | — | — | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
body.mileage_max | integer | Optional | — | — | 0–9007199254740991 |
body.mileage_min | integer | Optional | — | — | 0–9007199254740991 |
body.model | string | Optional | — | — | — |
body.page | integer | Optional | 1 | — | 1–30 |
body.price_max | integer | Optional | — | — | 0–9007199254740991 |
body.price_min | integer | Optional | — | — | 0–9007199254740991 |
body.query | string | Optional | — | — | — |
body.seller_type | string | Optional | — | "private""company" | — |
body.sort | string | Optional | "newest" | "newest""relevance""price_asc""price_desc""year_desc""mileage_asc" | — |
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/avito/avito-cars-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"location":"moskva","make":"toyota"}}'Response fields
listings[]ad_idtitleurlcategorycategory_idnameslugroot_category_id
subtitlepriceprice_minprice_maxprice_is_fromcurrencyprice_textprice_periodis_freeprice_not_publishedprice_before_discountdiscount_percentprice_loweredprice_per_unitvalueunit
published_atlocationlocation_idnameaddressnearby[]slugname_source
coordinateslatlngprecision
coordinates_withheldaddress_as_typedsellertypetype_labelhas_shopnamename_withheldname_hidden_by_avitoprofile_idprofile_urlratingrating_scalereviews_countclosed_ads_countreseller_likelyreseller_reasons[]info[]badges[]
images[]images_counthas_videodescription_snippetparams_summarybadges[]development_namerealty_typecategory_typetransaction_typerent_term
is_promotedpaid_services[]is_xlis_reserveddelivery_availabledelivery_textis_verified_item
counttotalpageable_totalpagehas_moresort_appliedlocationfilters_appliedquery_interpreted_ascategory_pathnote
sponsored_droppedpromoted_on_pagefallback_results_droppedfallback_results[]search_url
Category tree
POST /api/v1/avito/avito-categories
List Avito.ru categories with node ids and the paths a search accepts.
Input fields
| Field | Type | Required | Allowed values | Limits |
|---|---|---|---|---|
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/avito/avito-categories' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"query":"диван"}}'Response fields
categories[]node_idcategory_idnamepathlevelparent_node_id
countsource
Ad detail
POST /api/v1/avito/avito-listing
Open one ad by id or URL for its parameters, seller and view counts.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.ad_id | string | Required | — | — | — |
body.include_pii | boolean | Optional | false | — | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
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/avito/avito-listing' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"ad_id":"8341164961"}}'Location lookup
POST /api/v1/avito/avito-locations
Find the location slug and id for a Russian city, town or region.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.query | string | Required | — | — | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
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/avito/avito-locations' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"query":"диван"}}'Response fields
locations[]slugnameregionlocation_idsource
count
Real estate search
POST /api/v1/avito/avito-real-estate-search
Search apartments, rooms, houses, land, garages and commercial property for sale or rent.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.transaction | string | Required | — | "sale""rent_long""rent_daily""rent" | — |
body.area_max | integer | Optional | — | — | 0–9007199254740991 |
body.area_min | integer | Optional | — | — | 0–9007199254740991 |
body.include_pii | boolean | Optional | false | — | — |
body.include_sponsored | boolean | Optional | false | — | — |
body.location | string | Optional | "all" | — | — |
body.market | string | Optional | — | "secondary""new_build" | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
body.page | integer | Optional | 1 | — | 1–30 |
body.price_max | integer | Optional | — | — | 0–9007199254740991 |
body.price_min | integer | Optional | — | — | 0–9007199254740991 |
body.property_type | string | Optional | "apartment" | "apartment""room""house""land""garage""commercial" | — |
body.query | string | Optional | — | — | — |
body.rooms | string[] | Optional | — | 12 values"1""2""3""4""5""6""7""8""9""studio""10_plus""open_plan" | — |
body.seller_type | string | Optional | — | "private""developer""agency""owner" | — |
body.sort | string | Optional | "newest" | "newest""relevance""price_asc""price_desc" | — |
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/avito/avito-real-estate-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"location":"sankt-peterburg","transaction":"rent_long"}}'Response fields
listings[]ad_idtitleurlcategorycategory_idnameslugroot_category_id
subtitlepriceprice_minprice_maxprice_is_fromcurrencyprice_textprice_periodis_freeprice_not_publishedprice_before_discountdiscount_percentprice_loweredprice_per_unitvalueunit
published_atlocationlocation_idnameaddressnearby[]slugname_source
coordinateslatlngprecision
coordinates_withheldaddress_as_typedsellertypetype_labelhas_shopnamename_withheldname_hidden_by_avitoprofile_idprofile_urlratingrating_scalereviews_countclosed_ads_countreseller_likelyreseller_reasons[]info[]badges[]
images[]images_counthas_videodescription_snippetparams_summarybadges[]development_namerealty_typecategory_typetransaction_typerent_term
is_promotedpaid_services[]is_xlis_reserveddelivery_availabledelivery_textis_verified_item
counttotalpageable_totalpagehas_moresort_appliedlocationfilters_appliedquery_interpreted_ascategory_pathnote
sponsored_droppedpromoted_on_pagefallback_results_droppedfallback_results[]search_url
Ad search
POST /api/v1/avito/avito-search
Search ads in any category by keyword, category, location, price and seller type.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.category | string | Optional | — | — | — |
body.category_detection | boolean | Optional | true | — | — |
body.delivery_only | boolean | Optional | — | — | — |
body.include_fallback_results | boolean | Optional | false | — | — |
body.include_pii | boolean | Optional | false | — | — |
body.include_sponsored | boolean | Optional | false | — | — |
body.location | string | Optional | "all" | — | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
body.page | integer | Optional | 1 | — | 1–30 |
body.price_max | integer | Optional | — | — | 0–9007199254740991 |
body.price_min | integer | Optional | — | — | 0–9007199254740991 |
body.query | string | Optional | — | — | — |
body.seller_type | string | Optional | — | "private""company" | — |
body.sort | string | Optional | "newest" | "newest""relevance""price_asc""price_desc""discount" | — |
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/avito/avito-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"location":"moskva","query":"диван"}}'Response fields
listings[]ad_idtitleurlcategorycategory_idnameslugroot_category_id
subtitlepriceprice_minprice_maxprice_is_fromcurrencyprice_textprice_periodis_freeprice_not_publishedprice_before_discountdiscount_percentprice_loweredprice_per_unitvalueunit
published_atlocationlocation_idnameaddressnearby[]slugname_source
coordinateslatlngprecision
coordinates_withheldaddress_as_typedsellertypetype_labelhas_shopnamename_withheldname_hidden_by_avitoprofile_idprofile_urlratingrating_scalereviews_countclosed_ads_countreseller_likelyreseller_reasons[]info[]badges[]
images[]images_counthas_videodescription_snippetparams_summarybadges[]development_namerealty_typecategory_typetransaction_typerent_term
is_promotedpaid_services[]is_xlis_reserveddelivery_availabledelivery_textis_verified_item
counttotalpageable_totalpagehas_moresort_appliedlocationfilters_appliedquery_interpreted_ascategory_pathnote
sponsored_droppedpromoted_on_pagefallback_results_droppedfallback_results[]search_url
Search suggestions
POST /api/v1/avito/avito-suggest
Return the suggestions Avito shows for a partly typed query, with a category and filters for each.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.query | string | Required | — | — | — |
body.max_rotations | integer | Optional | 0 | — | 0–20 |
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/avito/avito-suggest' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"query":"диван"}}'Response fields
suggestions[]querycategory_idfilters
related_words[]count
How calls work
POST /api/v1/avito/<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: