search_listings
COST: 3 credits per call (OmniaAuto credits; my_usage shows the balance; at zero a call returns out_of_credits).
Search live Canadian vehicle listings by make, model, location, price and other filters: returns up to 10 matching vehicles (specs, price, mileage, location, listing_url) and the total count. Use it to see individual vehicles, not market-wide figures (market_stats) or a price estimate (valuation). Show listing_url to the user (null means no link, never invent one); an unrecognised condition, near or radius_km returns an error and costs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name, e.g. Calgary; exact match, any case | |
| make | No | Make, e.g. Toyota; exact match, any case | |
| near | No | Centre of a radius search: city, postal code or lat,lng (e.g. 53.54,-113.49); radius_km sets its size | |
| sort | No | price, mileage, year, last_seen (default), first_seen or distance (requires near) | |
| limit | No | Vehicles to return, 1-10; larger values are capped at 10 | |
| model | No | Model, e.g. RAV4; exact match, any case | |
| order | No | asc or desc; default is asc for price, mileage and distance, desc otherwise | |
| province | No | 2-letter province code, e.g. AB, ON, QC; empty = all Canada | |
| year_min | No | Earliest model year, e.g. 2020; 0 = any | |
| body_type | No | SUV, Sedan, Pickup, Hatchback, Minivan, Coupe, Van, Convertible or Wagon; empty = any | |
| condition | No | New, Used, Certified or Demo; empty = any | |
| price_max | No | Max price in CAD; 0 = no limit | |
| price_min | No | Min price in CAD; 0 = no limit | |
| radius_km | No | Radius around near, in km (default 25, max 500); requires near | |
| mileage_max | No | Max odometer in km; 0 = no limit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Resolved near anchor and radius_km, on a radius search | |
| note | No | ||
| unit | No | Always vehicle | |
| error | No | Set on a refusal, e.g. out_of_credits, not_found; result fields are then absent | |
| total | No | Vehicles matching the filters | |
| results | No | One object per vehicle: vin, MY, Make, model, Trim, Condition, mileage, price, City, Province, listing_url, distance_km on a radius search | |
| returned | No | Vehicles in results | |
| total_exact | No | ||
| pricing_note | No | ||
| credits_remaining | No | Credits left in the current period | |
| allowance_exhausted | No | True when the plan's vehicle limit is reached: total is returned, results is empty |