See cars near the buyer
see_cars_near_buyer returns cars listed near a ZIP code. It returns up to five.
Who can use it
A connected assistant on an account that was granted it. It is listed only for such an account; for any other it answers as if it does not exist. Sign in with OAuth. See Authentication.
Arguments
| Argument | Type | Required | Meaning |
|---|---|---|---|
make | string | Yes | The make, for example Kia. |
model | string | Yes | The model, for example Telluride. |
zip | string | Yes | The buyer's five-digit ZIP code. |
year | integer | No | A model year. Left out, the search covers every model year. |
radius | integer | No | Miles from the buyer's ZIP, from 1 to 100. When no radius is given, the search starts at 25 miles. When fewer than five cars match, it widens to 50 miles, then to 100. A radius that is given is used as given. |
trim | string | No | A trim to look for. |
drivetrain | string | No | A drivetrain to look for. |
fuel | string | No | The fuel type, exactly one of: Gasoline, Hybrid, Plug-In Hybrid, Electric, Diesel. A gas car is Gasoline, not Gas. The model and trim fields ignore a fuel type. |
exteriorColor | string | No | The buyer's own words. A color family, such as White or Gray, matches more cars than a dealer's color name. |
interiorColor | string | No | The buyer's own words. A color family, such as Black or Gray, matches more cars than a dealer's color name. |
condition | string | No | new or used. When given, it applies to every model year. Left out, the search covers new cars when no model year is given or the model year is the current one or later, and both new and used cars for an older model year. On accounts where listing filters are on, certified is also accepted. |
minPrice | integer | No | The lowest listed price in whole dollars, from 0 to 150,000. Only on accounts where listing filters are on. |
maxPrice | integer | No | The highest listed price in whole dollars, from 0 to 150,000. Only on accounts where listing filters are on. |
minYear | integer | No | The oldest model year, from 2000. Not sent with year. Only on accounts where listing filters are on. |
maxYear | integer | No | The newest model year. Not sent with year. Only on accounts where listing filters are on. |
maxMileage | integer | No | The most miles on the car, from 0 to 200,000. Only on accounts where listing filters are on. |
bodyType | string | No | The body style, exactly one of: SUV, Sedan, Pickup, Coupe, Hatchback, Van, Wagon, Convertible. A truck is Pickup. Only on accounts where listing filters are on. |
transmission | string | No | The transmission, exactly one of: Automatic, Manual. Only on accounts where listing filters are on. |
dealerType | string | No | The kind of dealership, exactly one of: franchise, independent. Only on accounts where listing filters are on. |
maxDaysOnMarket | integer | No | The most days the car has been listed, exactly one of: 7, 30, 60. Only on accounts where listing filters are on. |
sort | string | No | The order of the cars, exactly one of: price_low, price_high, newest, days_on_lot. Left out, the order is not by price or distance. Only on accounts where listing filters are on. |
page | integer | No | Which five cars of the search to show, from 1 to 4. The answer says hasMore when a later page has cars. Only on accounts where listing filters are on. |
What it returns
Each match has a handle, a label that names the car (the color, model year, model and trim, the miles as listed, and the listed price before taxes and dealer fees), and the exterior and interior color. The label never names a dealership. A match also has, when the listing has them: the exact miles, bodyType, drivetrain, transmission, fuelType, powertrainType (HEV for a hybrid, PHEV for a plug-in hybrid, MHEV for a mild hybrid or BEV for an electric car; a hybrid's fuelType can still read Unleaded), engine (the engine as the listing gives it, for example 3.5L V6; at most 40 characters), msrpUsd (a new car only), certified (true only for a certified pre-owned car, the same rule the website's car card uses; left out for every other car), otdEstimate (an out-the-door estimate at the state of the ZIP in the search: the lines, the total, the state's name and whether registration and local tax are in it; only an account the operator has granted the estimate flag gets it; it is an estimate and not a dealership's price, and it is left out when the search has no usable ZIP) and distanceBand (how far the car is from the buyer's ZIP, as a band: Under 10 miles, 10 to 25 miles, 25 to 50 miles, 50 to 100 miles or Over 100 miles; never an exact distance). Left out when the distance is not known. Only an account the operator has granted the dealer-facts flag also gets dealerName, dealerCity and dealerState. A part of the label the listing does not have is left out. matchCount.n is how many cars match the filters. When matchCount.exact is false, there are n or more. Up to five cars is not proof that no more match. hasMore: true means more cars match than are shown. On accounts where listing filters are on, the next page, up to page 4, shows the next five cars. limitReached: true with it means this search cannot show them, and a narrower search (a model, trim, color or fuel) changes which cars come back. No hasMore is not proof that no more match. On accounts without listing filters, sort and page are refused. A listing does not mean the car is still for sale. A handle is valid for a limited time, for this buyer only; pass it as listingId to requests_preview or requests_submit.
On an account that was granted new-car requests, a match also has condition: new or used. It is there only when the listing says exactly one of those. A match with no condition goes to the one dealership that lists it.
Errors
Errors return isError: true and an error.code. See Errors. A missing, expired or revoked token, or an account without access, gets JSON-RPC error -32001.
Example
A tools/call request to https://www.ridekick.com/api/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "see_cars_near_buyer",
"arguments": {
"make": "Kia",
"model": "Telluride",
"zip": "94103",
"year": 2024
}
}
}Related
Last updated