Avito Search
avito_searchSearch Avito listings by query, category, and location to retrieve item prices, seller details, and URLs for marketplace intelligence.
Instructions
Search Avito listings via the internal js/items API.
Return Format
AvitoSearchResponse: {status, query, page, location_id, tier_used, count, total_count, items[], meta}. Items carry item_id, title, price_rub (None when the ad has no price — never 0), url, location, seller fields.
Error Format
ToolError: BadRequestError on malformed arguments; TransportDownError on firewall blocks (with the captcha/proxy guidance inline); ParserDriftError when a reached-200 body no longer parses as the expected envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page (1-based) | |
| query | Yes | Search text, e.g. 'thinkpad x1 carbon' | |
| category_id | No | Optional Avito category id to narrow the search | |
| location_id | No | Avito location id; default AVITO_LOCATION_ID (637640 = Moscow) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page number. | |
| _meta | No | Validation metadata. | |
| count | No | Number of items returned on this page. | |
| items | No | Search result items. | |
| query | No | Search query text. | |
| status | No | Response status: success or error. | success |
| tier_used | No | Fetch tier used: curl_cffi, cdp, cache. | |
| location_id | No | Avito location id the search ran against. | |
| total_count | No | Total matches Avito reports for the query. |