---
title: "John Lewis API: Category | Perceptlayer"
description: "Category from John Lewis as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/john-lewis/category
---

[APIs](https://perceptlayer.com/apis) / [John Lewis](https://perceptlayer.com/apis/john-lewis) / Category

# John Lewis: Category

Category from John Lewis as JSON. 1 credit per successful call.

GET `/v1/john-lewis/category`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `path` | string | Required | Up to 300 characters |
| `page` | integer | Optional | Any |
| `sort` | string | Optional | relevance |
| `price_min` | number | Optional | Any |
| `price_max` | number | Optional | Any |

## Example request

John Lewis

GET /v1/john-lewis/category?path=browse%2Felectricals%2Fkettles%2F\_%2FN-aht 

```
{
  "success": true,
  "data": {
    "category": "browse/electricals/kettles/_/N-aht",
    "page": 1,
    "pagination": {
      "page": 1,
      "total": 64,
      "total_pages": 1,
      "page_count": 64,
      "has_next_page": false
    },
    "sort": "relevance",
    "products": [
      {
        "product_id": "112182670",
        "sku_id": "112049022",
        "title": "De'Longhi KBY3001 Electric Kettle, 1.7L",
        "brand": "De'Longhi",
        "url": "https://www.johnlewis.com/delonghi-kby3001-electric-kettle-1-7l/p112182670",
        "price": {
          "min": 49,
          "max": 49.99,
          "display_min": "£49.00",
          "display_max": "£49.99"
        },
        "on_sale": false,
        "rating": 4,
        "review_count": 100,
        "out_of_stock": false,
        "available_to_order": true,
        "images": [
          "https://media.johnlewiscontent.com/i/JohnLewis/112049022",
          "https://media.johnlewiscontent.com/i/JohnLewis/112049022alt1",
          "https://media.johnlewiscontent.com/i/JohnLewis/112049022alt2"
        ]
      },
      {
        "product_id": "112100439",
        "sku_id": "112049020",
        "title": "De'Longhi Ballerina Seta Electric Kettle, 1.7L",
        "brand": "De'Longhi",
        "url": "https://www.johnlewis.com/delonghi-ballerina-seta-electric-kettle-1-7l/p112100439",
        "price": {
          "min": 49,
          "max": 49,
          "display_min": "£49.00",
          "display_max": "£49.00"
        },
        "on_sale": false,
        "rating": 4.2,
        "review_count": 45,
        "out_of_stock": false,
        "available_to_order": true,
        "images": [
          "https://media.johnlewiscontent.com/i/JohnLewis/112049021",
          "https://media.johnlewiscontent.com/i/JohnLewis/112049021alt1",
          "https://media.johnlewiscontent.com/i/JohnLewis/112049021alt2"
        ]
      },
      {
        "product_id": "2815066",
        "sku_id": "231549140",
        "title": "De'Longhi KBOV3001BG Vintage Icona Kettle",
        "brand": "De'Longhi",
        "url": "https://www.johnlewis.com/delonghi-kbov3001bg-vintage-icona-kettle/p2815066",
        "price": {
          "min": 49,
          "max": 49,
          "display_min": "£49.00",
          "display_max": "£49.00"
        },
        "on_sale": false,
        "rating": 4.3,
        "review_count": 216,
        "out_of_stock": false,
        "available_to_order": true,
        "images": [
          "https://media.johnlewiscontent.com/i/JohnLewis/231549140",
          "https://media.johnlewiscontent.com/i/JohnLewis/231549140alt1",
          "https://media.johnlewiscontent.com/i/JohnLewis/231549140alt2"
        ]
      }
    ],
    "facets": [
      {
        "name": "Stock Availability",
        "key": "childSKUs.hideOutOfStock",
        "values": [
          {
            "name": "Show in stock items only",
            "count": 58,
            "link": "/browse/electricals/kettles/show-in-stock-items-only/_/N-ahtZ1z0wxdt",
            "key": "1z0wxdt"
          }
        ]
      },
      {
        "name": "New In",
        "key": "product.newIn",
        "values": [
          {
            "name": "New In",
            "count": 4,
            "link": "/browse/electricals/kettles/new-in/_/N-ahtZ7lhg",
            "key": "7lhg"
          }
        ]
      },
      {
        "name": "On Offer",
        "key": "sku.offerType",
        "values": [
          {
            "name": "All Offers",
            "count": 38,
            "link": "/browse/electricals/kettles/all-offers/_/N-ahtZ1yzvw1q",
            "key": "1yzvw1q"
          }
        ]
      }
    ],
    "breadcrumb": [
      {
        "name": "Electricals",
        "url": "https://www.johnlewis.com/electricals/c500001"
      },
      {
        "name": "Kettles",
        "url": "https://www.johnlewis.com/browse/electricals/kettles/_/N-aht"
      }
    ],
    "category_paths": [
      {
        "name": "Kettles",
        "path": "browse/electricals/kettles/_/N-aht"
      }
    ]
  },
  "meta": {
    "endpoint_family": "category"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/john-lewis?try=category#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `category` | string |
| `pagination` | object |
| `products` | object\[\] |
| `breadcrumb` | object\[\] |
| `category_paths` | object\[\] |
