Endpoint
GET https://api.voyantcloud.com/v1/products/search
Search for products across your catalog with full-text search and faceting. Results include both workspace-owned products and marketplace products from providers you have access to, with automatic workspace isolation and provider filtering.
Authentication
string
required
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)Query parameters
string
Search query string. If omitted, returns all products matching filters.
string
default:"en"
Locale for search. Options:
en, rointeger
default:"0"
Zero-based page number (for page-based pagination)
integer
default:"20"
Number of results per page (1-100)
integer
Starting offset (for offset-based pagination). Takes precedence over
page if provided.integer
Number of results (for offset-based pagination). Defaults to
pageSize if not provided.string
Filter by product type (e.g.,
tour, cruise, accommodation)string
Filter by status (e.g.,
active, draft, archived)string
B2B: Filter by organization visibility (UUID format)
string
Field to sort by. Available options:
priceorpriceFrom- Sort by starting pricecreated- Sort by creation dateupdated- Sort by last update date (default)departure- Sort by earliest departure daterelevance- Sort by text search relevance score
string
default:"desc"
Sort order. Options:
asc, desc.string
Advanced filtering using Typesense filter syntax. This allows filtering on any indexed field.Syntax:
- Array contains:
tags:=[Black Friday] - Exact match:
status:=active - Multiple values (OR):
tags:=[Black Friday, Featured] - Numeric comparison:
priceFromValue:>100 - AND conditions:
tags:=[Black Friday] && type:=tour - OR conditions:
type:=tour || type:=cruise
Remember to URL-encode the
filters parameter value. For example, tags:=[Black Friday] becomes tags%3A%3D%5BBlack%20Friday%5D.Request example
Response
array
required
Array of product search results
integer
Current page number (page-based pagination only)
integer
Total number of pages (page-based pagination only)
integer
Number of results per page (page-based pagination only)
integer
Current offset (offset-based pagination only)
integer
Number of results returned (offset-based pagination only)
integer
required
Total number of matching results
integer
required
Query execution time in milliseconds
object
Facet buckets and counts for the current query (all facet attributes returned).
boolean
Whether facet counts are exact (
true) or approximate (false).Error handling
400 Bad Request
400 Bad Request
Invalid query parameters.Possible causes:
pageSizeexceeds 100- Invalid
localevalue - Invalid
organizationIdformat
Features
Workspace isolation
All search results are automatically filtered to include only:- Products owned by your workspace (
source: "main") - Marketplace products from providers you have active connections or grants for
Override precedence
If your workspace has created overrides for a marketplace product, the override version is returned instead of the base marketplace product, automatically de-duplicated.Relevance ranking
Results are ranked by a relevance algorithm, which considers:- Text matching (query terms in title, description)
- Popularity signals
- Custom ranking factors
Facet Filtering
The search response includes afacets object, which contains all filterable attributes for the current result set. You can use these facets to build a filtered search UI.
While you can use the top-level type and status parameters for basic filtering, the filters parameter provides advanced capabilities using Typesense filter syntax.
Available facets:
type- Product type (tour, cruise, accommodation, etc.)status- Product status (active, draft, archived)categories- Category assignmentstags- Product tagscountries- Countries the product visitsregions- Geographic regionspriceFromCurrency- Price currencysource- Product source (main, marketplace, override)
- Perform an initial search to get available facets.
- Use the
filtersparameter in a subsequent request to refine the results.
Use cases
Product search autocomplete
Build a search-as-you-type experience:Filtered product search
Search with type and status filters:Related endpoints
List products
Browse products with database filtering
Search facets
Search for facet values
Get product
Retrieve detailed product information