# El Corte Inglés Search

<p>Search the public El Corte Inglés catalogue by keyword. Returns product ids, prices as numbers in EUR with original price and discount, full-size image urls, stock flags, native sort and path pagination. Price bands are not supported on search; use the category route. A page label that does not match the requested page returns 422 and is not billed. A past-last page is an empty, non-billable success. Every successful request costs 1 credit. Errors and challenges cost 0 credits and are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/elcorteingles-api/elcorteingles_search](https://scrappa.co/docs/elcorteingles-api/elcorteingles_search)
- **API group:** El Corte Inglés API
- **Endpoint:** `GET https://scrappa.co/api/elcorteingles/search`

## 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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Search text, 1 to 100 characters. Example: cafetera. |
| `p` | integer | No | One-based page number, default 1. Pagination is path based. |
| `sort` | string | No | One site-native sort key: featuredDesc, priceAsc, priceDesc, bestSellerQtyDesc, newInAsc, stockDesc, nameAsc, nameDesc, discountPerDesc or ratingDesc. |

## Example response

```json
{
    "data": {
        "results": [
            {
                "id": "A202302933",
                "name": "Cafetera",
                "price": 99,
                "currency": "EUR",
                "discount": 54,
                "withdrawn": false,
                "variant_id": "26309631",
                "original_price": 153
            }
        ],
        "page_size": 12,
        "current_page": 1,
        "total_products": 499
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Price band not supported | 422 when min_price or max_price is sent to search. Not billed. Use the category route. |
|  | Page not honoured | 422 when the upstream page does not match the requested page. Not billed. |

## 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)
