Search and filter products

This endpoint allows querying for product information using several search parameters. Common use cases include the initial and periodic retrieval of products in a certain city or country, retrieving a list of popular products in a given location, or a free-text query.

Search and filter products

get
/products
Query parameters
city_idintegerOptional

Only return products located in the defined city. Use the /cities endpoint to find the IDs Tiqets has assigned to the various known cities. Products located in the surrounding area can also be returned, this depends on the configuration of each individual product.

Repeat the city_id parameter to broaden the search to span multiple cities.

Example: 113
city_namestringOptional

Name of the city to filter by. Useful for debugging or certain use cases. We recommend using city_id instead.

Example: Barcelona
country_idintegerOptional

Tiqets ID of the product country to filter by.

Example: 50233
country_namestringOptional

Name of the country to filter by. Useful for debugging or certain use cases. We recommend using country_id instead.

Example: United States
currencystringOptional

Currency code of the price components (ISO 4217).

Default: EURExample: EUR
exclude_city_idintegerOptional

Exclude products from the results if they belong to the specified city.

Example: 113
exclude_venue_idintegerOptional

Exclude products from the results if they belong to the specified experience.

Example: 145528
langstringOptional

Language of the content to retrieve (ISO 639-1). Defaults to English if undefined.

Default: enExample: en
latnumberOptional

Filters the result set by latitude. Requires a combination of latitude/longitude parameters. Also see max_distance.

Example: 40.74844100000001
lngnumberOptional

Filters the result set by longitude. Requires a combination of latitude/longitude parameters. Also see max_distance.

Example: -73.9856616352348
max_distanceinteger · min: 1 · max: 100Optional

Maximum distance in kilometers to filter results by. Value can be between 0 and 100; defaults to 5 if undefined.

min_ratinginteger · min: 1 · max: 5Optional

Minimum rating of the product in customer reviews.

Example: 1
page_sizeinteger · min: 1 · max: 100Optional

Number of items per page. Default value is 10, maximum value is 100.

Default: 10Example: 5
pageinteger · min: 1Optional

Number of the page to retrieve. Used in combination with the page_size parameter to define the page size.

Default: 1Example: 1
querystringOptional

Textual query to find products that match the query. The results are ranked by internal calculation of relevancy which can change over time. Adding more keywords narrows down the results.

Example: Sagrada Familia
require_venuebooleanOptional

Define as true if you do not wish to include products that do not have a determined venue location. Defaults to false if undefined.

Default: false
sortstringOptional

Sort by

  • popularity
  • price
  • title
  • distance (in combination with lat/lng)
  • score (Search query matching score. Only in combination with the query parameter). Sort ascending (asc) or descending (desc).
Example: distance desc
tag_idintegerOptional

ID of the tag to filter by. See tags endpoint. Repeat the tag_id parameter to broaden the search to include one or more of the provided tag IDs.

Example: 312
experience_idintegerOptional

ID of the experience to filter by. Experiences can be searched and retrieved using the dedicated Experiences endpoint.

Repeat the experience_id parameter to broaden the search to span multiple experiences.

Note that this parameter is not allowed together with venue_id that is deprecated.

Example: 145528
venue_idintegerOptionalDeprecated

ID of the experience to filter by. Experiences can be searched and retrieved using the dedicated Experiences endpoint.

Repeat the venue_id parameter to broaden the search to span multiple experiences.

Note that this parameter is deprecated and experience_id is recommended. If you specify this and experience_id, it will trigger an error.

Example: 145528
Header parameters
AuthorizationstringRequired

Token <Your_API_Key>.

Default: Token <Partner_API_key>.
Responses
200

Successful operation.

application/json
get
/products

Last updated

Was this helpful?