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

[APIs](https://perceptlayer.com/apis) / [Mercadona](https://perceptlayer.com/apis/mercadona) / Category

# Mercadona: Category

Category from Mercadona as JSON. 1 credit per successful call.

GET `/v1/mercadona/category`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Up to 40 characters |
| `lang` | string | Optional | es, en, ca |
| `wh` | string | Optional | Up to 10 characters |

## Example request

Mercadona

GET /v1/mercadona/category?id=112 

```
{
  "success": true,
  "data": {
    "category": "112",
    "count": 36,
    "items": [
      {
        "id": "4241",
        "name": "Aceite de oliva 0,4º Hacendado",
        "slug": "aceite-oliva-04o-hacendado-garrafa",
        "url": "https://tienda.mercadona.es/product/4241/aceite-oliva-04o-hacendado-garrafa",
        "image": "https://prod-mercadona.imgix.net/images/3b8cde7b3cb069ee0316029012cf8562.jpg?fit=crop&h=300&w=300",
        "images": [
          "https://prod-mercadona.imgix.net/images/3b8cde7b3cb069ee0316029012cf8562.jpg?fit=crop&h=300&w=300"
        ],
        "size": "5 l",
        "currency": "EUR",
        "categories": [
          "Aceite, especias y salsas"
        ],
        "availability": {
          "in_stock": true
        },
        "price": 16.25,
        "regular_price": 16.75,
        "unit_price": 3.25,
        "unit": "l",
        "price_decreased": false
      },
      {
        "id": "4240",
        "name": "Aceite de oliva 0,4º Hacendado",
        "slug": "aceite-oliva-04o-hacendado-botella",
        "url": "https://tienda.mercadona.es/product/4240/aceite-oliva-04o-hacendado-botella",
        "image": "https://prod-mercadona.imgix.net/images/65c2349950feb1958362e06217003b10.jpg?fit=crop&h=300&w=300",
        "images": [
          "https://prod-mercadona.imgix.net/images/65c2349950feb1958362e06217003b10.jpg?fit=crop&h=300&w=300"
        ],
        "size": "1 l",
        "currency": "EUR",
        "categories": [
          "Aceite, especias y salsas"
        ],
        "availability": {
          "in_stock": true
        },
        "price": 3.5,
        "regular_price": 3.6,
        "unit_price": 3.5,
        "unit": "l",
        "price_decreased": false
      },
      {
        "id": "4717",
        "name": "Aceite de oliva virgen extra Hacendado",
        "slug": "aceite-oliva-virgen-extra-hacendado-garrafa",
        "url": "https://tienda.mercadona.es/product/4717/aceite-oliva-virgen-extra-hacendado-garrafa",
        "image": "https://prod-mercadona.imgix.net/images/bda0f6a8c3a5f96a424b98c0df93f2e8.jpg?fit=crop&h=300&w=300",
        "images": [
          "https://prod-mercadona.imgix.net/images/bda0f6a8c3a5f96a424b98c0df93f2e8.jpg?fit=crop&h=300&w=300"
        ],
        "size": "3 l",
        "currency": "EUR",
        "categories": [
          "Aceite, especias y salsas"
        ],
        "availability": {
          "in_stock": true
        },
        "price": 11,
        "regular_price": 11.25,
        "unit_price": 3.67,
        "unit": "l",
        "price_decreased": false
      }
    ]
  },
  "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/mercadona?try=category#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.items` has these 15 fields, read from a recorded call that returned 36 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `name` | string |
| `slug` | string |
| `url` | url |
| `image` | url |
| `images` | string\[\] |
| `size` | string |
| `currency` | string |
| `categories` | string\[\] |
| `availability` | object |
| `price` | number |
| `regular_price` | number |
| `unit_price` | number |
| `unit` | string |
| `price_decreased` | boolean |
