App Logo
johnlewis.com

Search John Lewis products

Automatically search John Lewis products on johnlewis.com. Search the John Lewis UK store (johnlewis.com) by free-text query and return one page of products (72 per page) in the site's relevance order. Returns the query, page, total count, page count (stated on page 1 only), has_next_page, the searches John Lewis suggests, and items: product number, link, title, brand, lowest and highest price in pounds sterling, earlier price when reduced, image, rating, review count, availability, default sku id, colours with their sku ids, and offer labels. A query with no match returns an empty list; John Lewis can also answer a query it cannot match with a list of popular products, which the script returns as the site shows it. A page past the last one returns an empty list.

Inputs

query required

Free-text search, for example "kettle".

page optional

Results page, 72 products per page. Stop when has_next_page is false.

Default: 1

Output

url required
page required
items required
query required
currency required

GBP

page_count required

Number of pages John Lewis states; it states it on page 1 only.

suggestions required

Other searches John Lewis suggests for this query.

total_count required

Number of products John Lewis states for the search; null on a page past the end.

has_next_page required

FAQ

Search the John Lewis UK store (johnlewis.com) by free-text query and return one page of products (72 per page) in the site's relevance order. Returns the query, page, total count, page count (stated on page 1 only), has_next_page, the searches John Lewis suggests, and items: product number, link, title, brand, lowest and highest price in pounds sterling, earlier price when reduced, image, rating, review count, availability, default sku id, colours with their sku ids, and offer labels. A query with no match returns an empty list; John Lewis can also answer a query it cannot match with a list of popular products, which the script returns as the site shows it. A page past the last one returns an empty list.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/search-products, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/search-products
You do not need one. "Search John Lewis products" drives the real johnlewis.com pages in a browser, so it works whether or not johnlewis.com offers an API for this.
Required: query. Optional: page.
It returns url, page, items, query, currency, page_count, suggestions, total_count, has_next_page.
No. It only uses pages of johnlewis.com that are reachable without signing in.
It only reads. It looks things up on johnlewis.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/search-products, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/search-products
It is one of Reduck's official scripts.

Start building not clicking