Search for content
Searches for products and returns a slice of results as well as hints and facets.
Query Parameters
Query string, typically the contents of a search box.
Possible values: >= 1
Default value: 1
Page of results to retrieve, starting with 1.
Possible values: >= 1 and <= 24
Default value: 24
PageSize is the number of results to return for the page.
Postal code of the address to ship the products to.
UPC specifies the Universal Product Code of the product to search for.
ISBN specifies the International Standard Book Number of the book to search for.
SKU specifies the Stock Keeping Unit of the product to search for.
EAN specifies the European Article Number of the product to search for.
PartNumber to search for.
OEMPartNumber to search for.
Filter for criteria such as categories, brand, price range etc. The filter is build from the facets of a previous search response.
Additional parameters such as filter criteria.
- 200
- 400
- 401
- 429
- default
Successful search response.
Schema
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
ID of the provider that returned the results. For Amazon Business, the ID is always "amazon".
Name of the provider that returned the results. For Amazon Business, the name is typically "Amazon Business".
count object required
Count holds information about the number of results found in this search. Notice that this number might be an exact value or an approximation.
Value of the count. Notice that this number might be an exact value or some lower bound, depending on the value of the Relation property.
Possible values: [eq, gte]
Default value: eq
Relation describes whether the Value property is an exact number, in which case Relation is "eq". If Relation is "gte", then the Value property is a lower bound.
data object[]
Slice of results returned.
ID represents an opaque, unique identifier for the individual search result. It is required to pass into other API endpoints, e.g. the Get Product API.
Provider of the result. For results from Amazon Business, this property is always "amazon".
Name of the product.
Vendor name, which can be "Amazon" or some other merchant on their platform.
price object required
Price of the product per unit. In the search results, we will always return the price of the buy box winner on Amazon. To get a list of more offers, load all product details. Notice also that the prices can come with taxes included or excluded. If Amazon returns a price with taxes excluded, we will use that by default. The PriceTaxLabel property will included more details about taxes in the price.
Amount of the price, i.e. its monetary value.
Currency code of the monetary value.
Formatted monetary value in the caller's locale.
preview object
Preview image to be used in the result list.
URL to the image.
Width of the image in pixels.
Height of the image in pixels.
Alternative Text to further describe the image.
Possible values: [thumbnail, small, medium, large]
Kind describes the size/purpose of the image.
QuantityDiscountsAvailable indicates that this product comes with a quantity-based pricing tier.
Delivery describes the delivery details of the product in textual form.
Availability describes the availability details of the product in textual form.
PriceTaxLabel describes the tax-related details of the price in textual form.
Preferred indicates that this product is preferred according to the buying guidance settings of the purchasing organization.
Blocked indicates that this product is blocked according to the buying guidance settings of the purchasing organization.
Possible values: <= 5
StarRating is the rating of the product on Amazon in form of a numerical value between 0.0 (bad) and 5.0 (good).
facets object[]
Possible way to filter and narrow the results by e.g. category or manufacturer.
ID represents a unique, opaque identifier for the facet at hand. Notice that consumers can use this ID in subsequent search requests to narrow down search results by facet. E.g. if you have a facet ID of "brand", you can use this ID as a query parameter in subsequent search requests.
Name of the facet in the locale of the request. You can use this label directly in the UI.
parents object[]
Parents is used in hierarchical facets, e.g. categories.
ID represents an opaque, unique identifier for the facet value. This ID must be used by the consumer as the value of a query string for subsequent queries. E.g. if the user clicks on the facet with the ID "brand" and picks the value ID of "Apple", the query string must be "brand=Apple".
Name of the facet value at hand. The name can be directly used in the UI.
Selected indicates that this facet value is currently being filtered for in the search request.
values object[]
Values of this facet. E.g. if you have a facet of type "Brand", the values represent the actual brands you can filter for: "Apple", "Microsoft", "Samsung" etc.
ID represents an opaque, unique identifier for the facet value. This ID must be used by the consumer as the value of a query string for subsequent queries. E.g. if the user clicks on the facet with the ID "brand" and picks the value ID of "Apple", the query string must be "brand=Apple".
Name of the facet value at hand. The name can be directly used in the UI.
Selected indicates that this facet value is currently being filtered for in the search request.
{
"id": "string",
"name": "string",
"count": {
"value": 191,
"relation": "eq"
},
"data": [
{
"id": "M0E4NjQxM0MtMENCRS00REJBLUI5NTEtODI5QTQ5MDI3OUZDCg==",
"provider": "amazon",
"name": "2021 Apple iPad Pro (11\", Wi-Fi, 128 GB) - Space Gray (3rd generation)",
"vendor": "Amazon",
"price": {
"amount": 694.94,
"currency": "EUR",
"formatted": "€ 694.94"
},
"preview": {
"url": "https://m.media-amazon.com/images/I/41WcHn0alVS._SY160_.jpg",
"width": 160,
"height": 160,
"altText": "2021 Apple iPad Pro (11\", Wi-Fi, 128 GB) - Space Gray (3rd generation)"
},
"priceTaxLabel": "excl. taxes",
"quantityDiscountsAvailable": true,
"delivery": "FREE delivery Friday, August 13",
"availability": "In Stock.",
"starRating": 5
}
],
"facets": [
{
"id": "brand",
"name": "Brand",
"parents": [
{
"id": "string",
"name": "string",
"selected": true
}
],
"values": [
{
"id": "string",
"name": "string",
"selected": true
}
]
}
]
}
Bad request
Schema
Code to indentify the type of error, typically the HTTP status code.
Summary of the error in one sentence.
More details, e.g. validation errors on individual fields.
{
"code": 400,
"message": "Bad request parameters. Please check the parameters for this API request.",
"details": [
"Name is missing.",
"Price is negative."
]
}
Unauthorized
Schema
Code to indentify the type of error, typically the HTTP status code.
Summary of the error in one sentence.
More details, e.g. validation errors on individual fields.
{
"code": 400,
"message": "Bad request parameters. Please check the parameters for this API request.",
"details": [
"Name is missing.",
"Price is negative."
]
}
Too many requests
Schema
Code to indentify the type of error, typically the HTTP status code.
Summary of the error in one sentence.
More details, e.g. validation errors on individual fields.
{
"code": 400,
"message": "Bad request parameters. Please check the parameters for this API request.",
"details": [
"Name is missing.",
"Price is negative."
]
}
General error
Schema
Code to indentify the type of error, typically the HTTP status code.
Summary of the error in one sentence.
More details, e.g. validation errors on individual fields.
{
"code": 400,
"message": "Bad request parameters. Please check the parameters for this API request.",
"details": [
"Name is missing.",
"Price is negative."
]
}