Search motorcycle and truck ads
ba_search_bikes_trucksSearch Bama motorcycle and truck ads with filters for brand, price, year, mileage, usage and region. Use it to find scooters, tractors or heavy vehicles matching a budget or spec.
Instructions
Search motorcycle or truck (heavy vehicle, bus, machinery) ads on Bama with filters.
Use it for "find a Honda scooter under 500 million" or "used Volvo tractor" questions. Look up vehicle, body, usage and region values with ba_vehicles / ba_filters using the same vehicle_type. Prices are Toman, years Jalali (imports can show a Gregorian year). Then call ba_ad with a code (it finds the section itself). Keep paging while has_more is true; there is no total count. Cars are searched with ba_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Motorcycles: type from ba_filters kind=body, e.g. ['race'], ['scooter']. | |
| fuel | No | Motorcycles: ['gasoline'] or ['electric']. | |
| kind | Yes | Which section of Bama to search. | |
| page | No | 0-based page. Page 0 is short (about 10 ads), later pages 30. | |
| sort | No | relevance | |
| color | No | Color values from ba_filters (vehicle_type=kind), e.g. ['red']. | |
| usage | No | Trucks: usage from ba_filters kind=usage, e.g. ['tractor'], ['truck,axle1,tanker']. | |
| region | No | State or city values from ba_filters kind=region, e.g. ['tehran']. | |
| seller | No | Dealers only or private only. | |
| vehicle | No | Brand or brand,model values from ba_vehicles with the same vehicle_type, e.g. ['honda']. | |
| year_to | No | Latest year, Jalali. | |
| price_to | No | Maximum price in Toman. | |
| year_from | No | Earliest year, Jalali. | |
| mileage_to | No | Maximum mileage in km (0 = zero-km only). | |
| price_from | No | Minimum price in Toman. | |
| with_photo | No | Only ads with photos. | |
| with_price | No | Only ads that state a price. | |
| body_status | No | Trucks: paint condition from ba_filters kind=body_status, e.g. ['nopaint']. | |
| installment | No | Only installment ads. | |
| mileage_from | No | Minimum mileage in km. | |
| transmission | No | ||
| description_chars | No | Include this many characters of each ad's text (0 = none). |