v1

latestOpenAPI 3.0.02026-07-147195292.0 KB
Motorcycle Search

Gets active motorcycle listings for the given search criteria

This endpoint provides search on motorcycle inventory. This API produces a list of currently active motorcycles from the market for the given search criteria. The API results are limited to allow pagination upto 5000 rows. The search API facilitates the following use cases -

  1. Search motorcycles around a given geo-point within a given radius
  2. Search motorcycles for a specific year / make / model or combination of these
  3. Search motorcycles matching multiple year, make, model combinatins in the same search request
  4. Filter results by most motorcycle specification attributes
  5. Search for similar motorcycles by VIN or Taxonomy VIN
  6. Filter motorcycles within a given price / miles range
  7. Specify a sort order for the results on price / miles / listed date
  8. Search motorcycles for a given City / State combination
  9. Get Facets to build the search drill downs
  10. Get Market averages for price/miles for your search
get/search/motorcycle/active

Query parameters

api_keystring

The API Authentication Key. Mandatory with all API calls.

price_rangestring string

Price range to filter listings with the price in the range given. Range to be given in the format - min-max e.g. 1000-5000

miles_rangestring string

Miles range to filter listings with miles in the given range. Range to be given in the format - min-max e.g. 1000-5000

msrp_rangestring string

MSRP range to filter listings with the msrp in the range given. Range to be given in the format - min-max e.g. 1000-5000

latitudenumber double

Latitude component of location

longitudenumber double

Longitude component of location

radiusinteger

Radius around the search location (Unit - Miles)

search_textstring

To search a substring across entire document

yearstring

To filter listing on their year

makestring

To filter listings on their make

modelstring

To filter listings on their model

trimstring

To filter listing on their trim

vinstring

To filter listing on their VIN

taxonomy_vinstring

Taxonomy VIN of the motorcycle

inventory_type'used' | 'new'

To filter listing on their condition. Either used or new

stock_nostring

To filter listing on their stock number on lot

sourcestring

To filter listing on their source

dealer_idstring string

Dealer id to filter the listings.

colorstring

Color of the vehicle

body_typestring

To filter listing on their body type

vehicle_typestring

To filter listing on their vehicle type

cylindersstring

To filter listing on their cylinders

drivetrainstring

To filter listing on their drivetrain

enginestring

To filter listing on their engine

fuel_typestring

To filter listing on their fuel type

transmissionstring

To filter listing on their transmission

statestring

To filter listing on State in which they are listed

citystring

To filter listing on City in which they are listed

zipstring

To filter listing on ZIP around which they are listed

msa_codestring

To filter listing on msa code in which they are listed

sort_bystring string

Sort by field. Default sort field is distance from the given point

sort_order'asc' | 'desc' | 'ASC' | 'DESC' string

Sort order - asc or desc. Default sort order is asc

rowsinteger

Number of results to return. Default is 10. Max is 50

startinteger

Page number to fetch the results for the given criteria. Default is 0. Pagination is allowed only till first 10000 results for the search and sort criteria. The page value can be only between 1 to 10000/rows

facetsstring

The comma separated list of fields for which facets are requested. Facets could be requested in addition to the listings for the search. Please note - The API calls with lots of facet fields may take longer to respond.

range_facetsstring

The comma separated list of numeric fields for which range facets are requested. Range facets could be requested in addition to the listings for the search. Please note - The API calls with lots of range facet fields may take longer to respond.

facet_sort'count' | 'index'

Control sort order of facets with this parameter with default sort being on count, Other available sort is alphabetical sort, which can be obtained by using index as value for this param

statsstring

The list of fields for which stats need to be generated based on the matching listings for the search criteria. The stats consists of mean, max, average and count of listings based on which the stats are calculated for the field. Stats could be requested in addition to the listings for the search. Please note - The API calls with the stats fields may take longer to respond.

last_seen_rangestring string

Last seen date range to filter listings with the last seen in the range given. Range to be given in the format [YYYYMMDD] - min-max e.g. 20190523-20190623

first_seen_rangestring string

First seen date range to filter listings with the first seen in the range given. Range to be given in the format [YYYYMMDD] - min-max e.g. 20190523-20190623

last_seen_daysstring string

Last seen days range to filter listings with the last seen in the range given. Range to be given in the format - min-max e.g. 25-12

first_seen_daysstring string

First seen days range to filter listings with the first seen in the range given. Range to be given in the format - min-max e.g. 25-12

Response

List of all motorcycles listings matching the search & filter criteria

facetsobject
num_foundinteger

The number of listings found

range_facetsobject
statsobject