Search Ulta Beauty products
Automatically search Ulta Beauty products on ulta.com. Search Ulta Beauty (ulta.com) by free text and get one page of results, up to 64 products and the sponsored products the page shows. For each product you get the product id, the sku id of the shade or size the card shows, the link, the name, the brand, the price as shown (a range when shades or sizes differ) with its low and high values, the regular price when on sale, the rating, the review count, the number of shades or sizes, the badge and the sponsored flag. Sort by relevance, best sellers, price, new arrivals or top rated. A query with no match returns an empty list and a total of 0. A page past the last one returns an empty list. When Ulta Beauty sends a query to a brand or category page instead of a result list, the list is empty and redirect_url gives that page.
Inputs
query requiredFree-text search, e.g. "lipstick".
page optionalResults page, 64 items per page. Stop when has_next_page is false.
Default: 1sort optionalSort order. Omit for the site's default order.
Output
page requireditems requiredquery requiredhas_next_page requiredurl optionalsort optionaltotal_count optionalNumber of results the site states; null when the search went to another page.
redirect_url optionalPage Ulta Beauty sends this query to (a brand or category page) instead of a result list; items is then empty.
FAQ
Add a product to the Ulta Beauty cart
Add a product to the Ulta Beauty (ulta.com) bag of this browser for shipping, by its link or by its product id and sku id, with a quantity. A product with more than one shade or size needs the sku id of one (from Get Ulta Beauty product). The call returns the whole bag after the add: each line with its line id, product id, offer id (sku id), name, seller, quantity, unit price and line price in US dollars, plus the number of units and the value of the items. Lines already in the bag stay. Ulta Beauty sells at most 10 units of one sku per order; a quantity above that limit fails and adds nothing. An unknown product, a sku the product does not have, a missing sku and a sku that cannot ship now fail with an error that says so. Works as a guest. Nothing is paid or ordered.
Remove a product from the Ulta Beauty cart
Remove a shade or size from the Ulta Beauty (ulta.com) bag of this browser by its sku id (the offerId of List the Ulta Beauty cart items), whatever its quantity, and return the bag after the removal: each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars, plus the number of units and the value of the items. When the sku is on more than one line (shipping and pickup), every line of it is removed. A sku that is not in the bag gives removed false, and nothing is changed.
List the Ulta Beauty cart items
List the items in the Ulta Beauty (ulta.com) bag of this browser, as the site holds it. For each line you get the line id, the product id, the offer id (the sku id of the shade or size), the name with the shade or size, the seller, the quantity, the unit price and the line price in US dollars. You also get the number of units and the value of the items, before shipping and tax. The bag is the guest bag of the browser, so no sign-in is necessary. An empty bag returns an empty list and a count of 0. Saved-for-later items are not included.
