# Mercadona Related API Documentation

<p><strong>Mercadona Related API</strong> lists public products similar to one product id with EUR prices, images and availability. Use an id from search.</p><p>Send <code>id</code>, with optional <code>lang</code> and <code>wh</code>. Costs 1 credit per request; failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/mercadona-api/mercadona_related](https://scrappa.co/docs/mercadona-api/mercadona_related)
- **API group:** Mercadona API
- **Endpoint:** `GET https://scrappa.co/api/mercadona/related`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Id from search, including decimals such as 12049.1. |
| `lang` | string | No | es, en or ca (default es). |
| `wh` | string | No | Soaked hub code vlc1, mad1, mad2, mad3, bcn1, svq1 or alc1, or a 5-digit store such as 46001 (default vlc1). |

## Example response

```json
{
    "data": {
        "count": 2,
        "items": [
            {
                "id": "17154",
                "name": "Leche semidesnatada",
                "price": 0.9,
                "currency": "EUR",
                "position": 1
            }
        ],
        "product": "17153"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "related"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The id is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | The source could not be reached. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
