Skip to main content

Search

Search API enables users to programmatically query Amazon Business.

Endpoint

GET /api/v1/amazon/search HTTP/1.1
Accept: application/json

Searches for products on Amazon Business.

Parameters

ParameterInTypeRequiredDescription
queryquerystringtrueQuery string, typically the contents of a search box, e.g. iPhone
pagequeryinteger(int32)falsePage of results to retrieve, starting with 1 (default: 1)
pageSizequeryinteger(int32)falseNumber of results to return for the page. Minimum is 1, maximum and default are 24.

Additional parameters

Notice that you may add an unlimited number of dynamic parameters to the query. Those are not known upfront and can be build from the response returned by a previous search. See the search tutorial for an example.

Example

ParameterInTypeRequiredDescription
categoryquerystringfalseA category to limit results to
is_primequerystringfalseLimit results to Amazon Prime
pricequerystringfalseLimit to a specific price range
availabilityquerystringfalseFilter for a products that are e.g. in stock only
lbr_brands_browse-binquerystringfalseFilter for a specific brand
...querystringfalseAdditional, dynamically generated filters

Response

Overview

StatusMeaningDescription
200OKA list of search results.
400Bad RequestThe server understood your request but is unable to complete it, e.g. because a required parameter is missing.
401UnauthorizedYou sent invalid or expired credentials.
429Too Many RequestsThe server received too many requests in a given amount of time; you should throttle down and retry later.
500Internal Server ErrorSomething went wrong on our side.

Response schema

Status Code 200

NameTypeRequiredDescription
idstringtrueAlways amazon for results from Amazon Business
namestringtrueA localized text for the term Amazon Business
countobjecttrueDescribes an exact or lower bound for the number of matching results
dataarrayfalseAn array of individual search results
facetsarrayfalseAn array of facets to further filter the search results
Search Count
NameTypeRequiredDescription
valueinteger(int32)trueThe total number of results. Notice that relation indicates whether this is an exact number or a lower bound.
relationstringfalseIndicates whether the count is exact (eq) or a lower bound (gte). Default is eq.
Search Result
NameTypeRequiredDescription
idstringtrueAn opaque, unique identifier for the individual search result; use it to retrieve product details or initiate the punchout process
providerstringtrueAlways amazon for the Storefront API for Amazon Business
namestringtrueName of the product
vendorstringfalseName of the vendor
priceobject(Money)truePrice of the product per unit. This is typically the price of the buy box winner. Some prices come with taxes inluded, which is indicated by the priceTaxLabel.
previewobject(Image)falsePreview image
quantityDiscountsAvailablebooleanfalseIndicates whether quantity discounts are available for this product
deliverystringfalseDescribes delivery details of the product in textual form, e.g. FREE delivery on Friday, August 13th
priceTaxLabelstringfalseDescribes tax-related details of the price in textual form, e.g. excl. taxes
preferredbooleanfalseIndicates whether this is a preferred product according to the buying guidance settings of the purchasing organization
blockedbooleanfalseIndicates whether this is blocked according to the buying guidance settings of the purchasing organization. These products should be disabled from adding to the shopping cart.
starRatingnumber(float64)falseRating of the product on Amazon in the form of a numerical value between 0.0 (bad) and 5.0 (good)
Search Facets
NameTypeRequiredDescription
idstringtrueA unique, opaque string to identify the facet; it can be used to build subsequent search requests
namestringtrueA localized text that describes the facet, e.g. "Brand" or "Price range"
parentsarray(SearchFacetValue)falseCertain facets are hierarchical, e.g. categories, and return the parent categories
valuesarray(SearchFacetValue)trueArray of the different values of the facet. E.g. for "Price range" the values could be "Up to 5$" and "5-10$"
Search Facet Value
NameTypeRequiredDescription
idstringtrueA unique, opaque string to identify the facet value; it can be used to build subsequent search requests
namestringtrueA localized text that describes the facet value
selectedbooleanfalseIndicates whether this facet value is currently selected
Money
NameTypeRequiredDescription
amountnumbertrueAmount of the price. Minimum is 0.0
currencystringtrueCurrency code as of ISO 3166
formattedstringfalseA localized, textual form of the monetary value
Image
NameTypeRequiredDescription
urlstringtrueURL to the image
widthinteger(int32)falseWidth of the image in pixels
heightinteger(int32)falseHeight of the image in pixels
altTextstringfalseAlternative text to further describe the image
kindstringfalseDescribes the size/purpose of the image: thumbnail, small, medium, or large

Examples

200 response
```json
{
"id": "amazon",
"name": "Amazon Business",
"count": {
"value": 2404,
"relation": "eq"
},
"data": [
{
"id": "s_CgpCMDdaUEtONllSEAIaAlVTIgVlbi1VUyjChT0",
"provider": "amazon",
"sku": "B07ZPKN6YR",
"name": "Apple iPhone 11, 64GB, Black - Unlocked (Renewed)",
"vendor": "Chubbiestech",
"price": {
"amount": 364,
"currency": "USD",
"formatted": "$ 364.00"
},
"preview": {
"url": "https://m.media-amazon.com/images/I/31PpUfTCiFL._SY500_.jpg",
"width": 366,
"height": 500,
"altText": "Apple iPhone 11, 64GB, Black - Unlocked (Renewed)"
},
"delivery": "Delivery Friday, June 3",
"availability": "In Stock.",
"priceTaxLabel": "incl. taxes"
},
...
],
"facets": [
{
"id": "category",
"name": "Category",
"parents": [
{
"id": "",
"name": "Electronics",
"selected": true
}
],
"values": [
{
"id": "search-alias#electronics,node#281407",
"name": "Accessories \u0026 Supplies"
},
{
"id": "search-alias#electronics,node#502394",
"name": "Camera \u0026 Photo"
},
{
"id": "search-alias#electronics,node#3248684011",
"name": "Car \u0026 Vehicle Electronics"
},
...
]
},
{
"id": "price",
"name": "Price",
"values": [
{
"id": "1253503011",
"name": "Under $25"
},
{
"id": "1253504011",
"name": "$25 to $50"
},
{
"id": "1253505011",
"name": "$50 to $100"
},
{
"id": "1253506011",
"name": "$100 to $200"
},
{
"id": "1253507011",
"name": "$200 \u0026 Above"
}
]
},
{
"id": "availability",
"name": "Availability",
"values": [
{
"id": "2661600011",
"name": "In Stock Only"
},
{
"id": "2661601011",
"name": "Include Out of Stock"
}
]
},
{
"id": "delivery_day",
"name": "Delivery Day",
"values": [
{
"id": "8308920011",
"name": "Get It Today"
},
{
"id": "8308921011",
"name": "Get It by Tomorrow"
}
]
},
{
"id": "review-rating",
"name": "Avg. Customer Review",
"values": [
{
"id": "1248879011",
"name": "4 Stars \u0026 Up"
},
{
"id": "1248880011",
"name": "3 Stars \u0026 Up"
},
{
"id": "1248881011",
"name": "2 Stars \u0026 Up"
},
{
"id": "1248882011",
"name": "1 Star \u0026 Up"
}
]
},
{
"id": "is_prime",
"name": "Delivery Option",
"values": [
{
"id": "1249137011",
"name": "Free Shipping by Amazon"
}
]
},
{
"id": "cpf_eligible",
"name": "Climate Pledge Friendly",
"values": [
{
"id": "21512497011",
"name": "Climate Pledge Friendly"
}
]
},
{
"id": "lbr_brands_browse-bin",
"name": "Brand",
"values": [
{
"id": "SAMSUNG",
"name": "SAMSUNG"
},
{
"id": "Apple",
"name": "Apple"
},
{
"id": "LG",
"name": "LG"
},
{
"id": "Motorola",
"name": "Motorola"
},
{
"id": "Google",
"name": "Google"
},
{
"id": "Nokia",
"name": "Nokia"
},
{
"id": "HUAWEI",
"name": "HUAWEI"
}
]
},
{
"id": "condition-type",
"name": "Condition",
"values": [
{
"id": "New",
"name": "New"
},
{
"id": "Used",
"name": "Used"
},
{
"id": "Certified Refurbished",
"name": "Renewed"
}
]
}
]
}