---
title: "PcComponentes API: Spanish electronics search as JSON"
description: "PcComponentes API for Spanish electronics search with prices and discounts, product details and customer reviews as JSON. 2 to 63 credits per call."
url: https://perceptlayer.com/apis/pccomponentes
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / PcComponentes

from 2 credits per call 3 endpoints 12 datapoints 

# PcComponentes API

PcComponentes API for Spanish electronics search with prices and discounts, product details and customer reviews as JSON. 2 to 63 credits per call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

PcComponentes

GET /v1/pccomponentes/search?query=portatil&sort=relevance 

```
{
  "success": true,
  "articles": [
    {
      "id": "11158543",
      "slug": "portatil-acer-nitro-v-anv15-52-15-6-intel-core-9-270h-32gb-1tb-ssd-rtx-5060-sin-so",
      "name": "Portátil Acer Nitro V ANV15-52 15,6\" Intel Core 9 270H 32GB 1TB SSD RTX 5060 Sin SO",
      "brandName": "Acer",
      "originalPrice": 1699,
      "promotionalPrice": 1329,
      "discount": 21,
      "currency": "EUR",
      "stock": 1,
      "ratingCount": 1982,
      "ratingAvg": 4.39,
      "images": [
        "https://thumb.pccomponentes.com/w-150-150/articles/1115/11158543/1358-portatil-acer-nitro-v-anv15-52-156-intel-core-9-270h-32gb-1tb-ssd-rtx-5060-sin-so.jpg",
        "https://thumb.pccomponentes.com/w-300-300/articles/1115/11158543/1358-portatil-acer-nitro-v-anv15-52-156-intel-core-9-270h-32gb-1tb-ssd-rtx-5060-sin-so.jpg",
        "https://thumb.pccomponentes.com/w-530-530/articles/1115/11158543/1358-portatil-acer-nitro-v-anv15-52-156-intel-core-9-270h-32gb-1tb-ssd-rtx-5060-sin-so.jpg"
      ]
    },
    {
      "id": "11086487",
      "slug": "portatil-lenovo-legion-5-15ahp11-15-3-amd-ryzen-7-250-32gb-512gb-ssd-rtx-5060-freedos",
      "name": "Portátil Lenovo Legion 5 15AHP11 OLED 15.3\" AMD Ryzen 7 250 32GB 512GB SSD RTX 5060 FreeDOS",
      "brandName": "Lenovo",
      "promotionalPrice": 1379,
      "discount": 0,
      "currency": "EUR",
      "stock": 1,
      "ratingCount": 517,
      "ratingAvg": 4.69,
      "images": [
        "https://thumb.pccomponentes.com/w-150-150/articles/1108/11086487/1376-portatil-lenovo-legion-5-15ahp11-oled-153-amd-ryzen-7-250-32gb-512gb-ssd-rtx-5060-freedos-bda6ea45-f5bb-445a-8cce-cf16d9750176.jpg",
        "https://thumb.pccomponentes.com/w-300-300/articles/1108/11086487/1376-portatil-lenovo-legion-5-15ahp11-oled-153-amd-ryzen-7-250-32gb-512gb-ssd-rtx-5060-freedos-bda6ea45-f5bb-445a-8cce-cf16d9750176.jpg",
        "https://thumb.pccomponentes.com/w-530-530/articles/1108/11086487/1376-portatil-lenovo-legion-5-15ahp11-oled-153-amd-ryzen-7-250-32gb-512gb-ssd-rtx-5060-freedos-bda6ea45-f5bb-445a-8cce-cf16d9750176.jpg"
      ]
    },
    {
      "id": "11210814",
      "slug": "portatil-asus-vivobook-15-f1504ma-bq454-15-6-intel-core-5-320-8gb-512gb-ssd-intel-graphics-windows-11-home?refurbished=like-new",
      "name": "Portátil ASUS Vivobook 15 F1504MA-BQ454 15,6\" Intel Core 5 320 8GB 512GB SSD Intel Graphics Windows 11 Home Reacondicionado",
      "brandName": "Asus",
      "promotionalPrice": 733.99,
      "discount": 0,
      "currency": "EUR",
      "ratingCount": 298,
      "ratingAvg": 4.6,
      "images": [
        "https://thumb.pccomponentes.com/w-150-150/articles/1121/11210814/1537-portatil-asus-vivobook-15-f1504ma-bq454-156-intel-core-5-320-8gb-512gb-ssd-intel-graphics-windows-11-home.jpg",
        "https://thumb.pccomponentes.com/w-300-300/articles/1121/11210814/1537-portatil-asus-vivobook-15-f1504ma-bq454-156-intel-core-5-320-8gb-512gb-ssd-intel-graphics-windows-11-home.jpg",
        "https://thumb.pccomponentes.com/w-530-530/articles/1121/11210814/1537-portatil-asus-vivobook-15-f1504ma-bq454-156-intel-core-5-320-8gb-512gb-ssd-intel-graphics-windows-11-home.jpg"
      ]
    }
  ],
  "total": 3351,
  "totalPages": 50,
  "page": 1,
  "pageSize": 20,
  "sort": "relevance",
  "sortingKeys": [
    "relevance",
    "price_asc",
    "price_desc"
  ],
  "filters": {
    "price": {
      "order": 0,
      "key": "price",
      "type": "range",
      "name": "Precio",
      "rel": "",
      "range": {
        "min": 149,
        "max": 14098.3
      }
    },
    "families": {
      "order": 1,
      "key": "families",
      "type": "enum",
      "name": "Familias",
      "rel": "",
      "values": [
        {
          "id": "1115",
          "name": "Portátiles",
          "slug": "portatiles",
          "count": 4022
        }
      ]
    },
    "brands": {
      "order": 2,
      "key": "brands",
      "type": "enum",
      "name": "Marcas",
      "rel": "",
      "values": [
        {
          "id": "178",
          "name": "Lenovo",
          "slug": "lenovo",
          "count": 711
        },
        {
          "id": "11",
          "name": "HP",
          "slug": "hp",
          "count": 584
        },
        {
          "id": "43",
          "name": "Asus",
          "slug": "asus",
          "count": 565
        }
      ]
    },
    "status": {
      "order": 3,
      "key": "status",
      "type": "enum",
      "name": "Estado del Artículo",
      "rel": "",
      "values": [
        {
          "id": "new",
          "name": "Nuevo",
          "slug": "",
          "count": 3101
        },
        {
          "id": "reaco",
          "name": "Reacondicionado",
          "slug": "",
          "count": 921
        }
      ]
    },
    "seller_type": {
      "order": 4,
      "key": "seller_type",
      "type": "enum",
      "name": "Vendido por",
      "rel": "",
      "values": [
        {
          "id": "marketplace_seller",
          "name": "Marketplace",
          "slug": "marketplace_seller",
          "count": 2005
        },
        {
          "id": "pccomponentes_seller",
          "name": "PcComponentes",
          "slug": "pccomponentes_seller",
          "count": 2017
        }
      ]
    },
    "filter_group_140": {
      "order": 10,
      "key": "filter_group_140",
      "type": "enum",
      "name": "Almacenamiento SSD",
      "rel": "",
      "values": [
        {
          "id": "2883",
          "name": "512 GB SSD",
          "count": 1853
        },
        {
          "id": "3194",
          "name": "1 TB SSD",
          "count": 952
        },
        {
          "id": "2882",
          "name": "256 GB SSD",
          "count": 403
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_27": {
      "order": 14,
      "key": "filter_group_27",
      "type": "enum",
      "name": "Color",
      "rel": "",
      "values": [
        {
          "id": "269",
          "name": "Negro",
          "count": 1091,
          "display": {
            "color": "#212121"
          }
        },
        {
          "id": "638",
          "name": "Plata",
          "count": 920,
          "display": {
            "color": "#C2C2C2"
          }
        },
        {
          "id": "162",
          "name": "Gris",
          "count": 709,
          "display": {
            "color": "#969393"
          }
        }
      ],
      "displayPattern": "COLOR"
    },
    "filter_group_1207": {
      "order": 18,
      "key": "filter_group_1207",
      "type": "enum",
      "name": "Gama",
      "rel": "",
      "values": [
        {
          "id": "39301",
          "name": "Macbook Pro",
          "count": 532
        },
        {
          "id": "39300",
          "name": "Macbook Air",
          "count": 395
        },
        {
          "id": "39265",
          "name": "Lenovo ThinkPad",
          "count": 378
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1184": {
      "order": 6,
      "key": "filter_group_1184",
      "type": "enum",
      "name": "Idioma del Teclado",
      "rel": "",
      "values": [
        {
          "id": "38795",
          "name": "Teclados ES",
          "count": 2793
        },
        {
          "id": "38790",
          "name": "Teclados DE",
          "count": 497
        },
        {
          "id": "38083",
          "name": "Teclados FR",
          "count": 295
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1200": {
      "order": 15,
      "key": "filter_group_1200",
      "type": "enum",
      "name": "Inteligencia Artificial",
      "rel": "",
      "values": [
        {
          "id": "39112",
          "name": "IA integrada",
          "count": 1081
        },
        {
          "id": "39101",
          "name": "Orientados a IA",
          "count": 37
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_20": {
      "order": 11,
      "key": "filter_group_20",
      "type": "enum",
      "name": "Memoria Ram",
      "rel": "",
      "values": [
        {
          "id": "285",
          "name": "16GB RAM",
          "count": 1766
        },
        {
          "id": "962",
          "name": "32 GB RAM",
          "count": 850
        },
        {
          "id": "219",
          "name": "8 GB RAM",
          "count": 639
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_19": {
      "order": 12,
      "key": "filter_group_19",
      "type": "enum",
      "name": "Modelo Sistema Operativo",
      "rel": "",
      "values": [
        {
          "id": "12298",
          "name": "Windows 11 Pro",
          "count": 1575
        },
        {
          "id": "12062",
          "name": "Windows 11 Home",
          "count": 824
        },
        {
          "id": "40746",
          "name": "macOS Tahoe",
          "count": 747
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1237": {
      "order": 20,
      "key": "filter_group_1237",
      "type": "enum",
      "name": "Personalización",
      "rel": "",
      "values": [
        {
          "id": "41028",
          "name": "Diseños Exclusivos",
          "count": 36
        },
        {
          "id": "62872",
          "name": "Inspiración Asiática",
          "count": 14
        },
        {
          "id": "62871",
          "name": "Harry Potter",
          "count": 10
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1584": {
      "order": 21,
      "key": "filter_group_1584",
      "type": "enum",
      "name": "Plataforma / SoC",
      "rel": "",
      "values": [
        {
          "id": "62575",
          "name": "NVIDIA RTX Spark N1X",
          "count": 28
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_3": {
      "order": 19,
      "key": "filter_group_3",
      "type": "enum",
      "name": "Procesador",
      "rel": "",
      "values": [
        {
          "id": "38877",
          "name": "Intel Core Ultra 7",
          "count": 470
        },
        {
          "id": "38879",
          "name": "Intel Core Ultra 5",
          "count": 431
        },
        {
          "id": "184",
          "name": "Intel Core I5",
          "count": 399
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_28": {
      "order": 13,
      "key": "filter_group_28",
      "type": "enum",
      "name": "Resolución",
      "rel": "",
      "values": [
        {
          "id": "606",
          "name": "1920 x 1200 (WUXGA)",
          "count": 1168
        },
        {
          "id": "96",
          "name": "Full HD (1920 x 1080)",
          "count": 1108
        },
        {
          "id": "570",
          "name": "2560 x 1600 (WQXGA)",
          "count": 334
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1148": {
      "order": 8,
      "key": "filter_group_1148",
      "type": "enum",
      "name": "Sistema Operativo",
      "rel": "",
      "values": [
        {
          "id": "36836",
          "name": "Windows",
          "count": 2490
        },
        {
          "id": "36842",
          "name": "Mac OS",
          "count": 942
        },
        {
          "id": "632",
          "name": "Sin S.O.",
          "count": 510
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1234": {
      "order": 9,
      "key": "filter_group_1234",
      "type": "enum",
      "name": "Tamaño de Portátil",
      "rel": "",
      "values": [
        {
          "id": "40195",
          "name": "Portátil de 15 a 16 pulgadas",
          "count": 1986
        },
        {
          "id": "40194",
          "name": "Portátil de 13 a 14 pulgadas",
          "count": 1580
        },
        {
          "id": "40193",
          "name": "Portátil hasta 13 pulgadas",
          "count": 234
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_22": {
      "order": 7,
      "key": "filter_group_22",
      "type": "enum",
      "name": "Tarjeta Gráfica",
      "rel": "",
      "values": [
        {
          "id": "40474",
          "name": "Gráfica Integrada",
          "count": 2644
        },
        {
          "id": "39088",
          "name": "GPU 10 Núcleos",
          "count": 331
        },
        {
          "id": "41002",
          "name": "GPU 20 Núcleos",
          "count": 155
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_81": {
      "order": 5,
      "key": "filter_group_81",
      "type": "enum",
      "name": "Tipo de Portátil",
      "rel": "",
      "values": [
        {
          "id": "39066",
          "name": "Para estudiar o trabajar",
          "count": 3137
        },
        {
          "id": "670",
          "name": "Ultrabook",
          "count": 1392
        },
        {
          "id": "40786",
          "name": "Para Profesionales",
          "count": 944
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_1247": {
      "order": 17,
      "key": "filter_group_1247",
      "type": "enum",
      "name": "Tipo de Teclado Portátil",
      "rel": "",
      "values": [
        {
          "id": "40473",
          "name": "Con Retroiluminación",
          "count": 580
        },
        {
          "id": "40472",
          "name": "Con Teclado Numérico",
          "count": 477
        }
      ],
      "displayPattern": "TEXT"
    },
    "filter_group_6": {
      "order": 16,
      "key": "filter_group_6",
      "type": "enum",
      "name": "Tipo Pantalla",
      "rel": "",
      "values": [
        {
          "id": "215",
          "name": "IPS",
          "count": 729
        },
        {
          "id": "97",
          "name": "LED",
          "count": 446
        },
        {
          "id": "42130",
          "name": "Vidrio estándar",
          "count": 237
        }
      ],
      "displayPattern": "TEXT"
    }
  },
  "category": {
    "id": "caf4cbb7-1dfb-40a9-9657-209f6e784e66",
    "name": "Portátiles",
    "slug": "portatiles"
  },
  "queryId": "",
  "applied_filters": {
    "query": "portatil",
    "sort": "relevance"
  },
  "meta": {
    "endpoint_family": "pccomponentes-search",
    "attempts": 1,
    "request_id": "req_fb98610477db459296277ed611d48389",
    "credits_charged": 2,
    "credits_remaining": 4820
  },
  "selectedFilters": {
    "query": "portatil",
    "families": [
      "1115"
    ]
  }
}
```

200 OK JSON X-Credits-Used: 2

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | slug string | name string | brandName string | originalPrice number | promotionalPrice number | discount integer | currency string | stock number | ratingCount integer | ratingAvg number | images string\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 11158543 | portatil-acer-nitro-v-anv15-52-15-6-intel-core-9-270h-32gb-1tb-ssd-rtx-5060-sin-so | Portátil Acer Nitro V ANV15-52 15,6" Intel Core 9 270H 32GB 1TB SSD RTX 5060 Sin SO | Acer | 1699 | 1329 | 21 | EUR | 1 | 1982 | 4.39 | \[3 items\] |
| 2 | 11086487 | portatil-lenovo-legion-5-15ahp11-15-3-amd-ryzen-7-250-32gb-512gb-ssd-rtx-5060-freedos | Portátil Lenovo Legion 5 15AHP11 OLED 15.3" AMD Ryzen 7 250 32GB 512GB SSD RTX 5060 FreeDOS | Lenovo | — | 1379 | 0 | EUR | 1 | 517 | 4.69 | \[3 items\] |
| 3 | 11210814 | portatil-asus-vivobook-15-f1504ma-bq454-15-6-intel-core-5-320-8gb-512gb-ssd-intel-graphics-windows-11-home?refurbished=like-new | Portátil ASUS Vivobook 15 F1504MA-BQ454 15,6" Intel Core 5 320 8GB 512GB SSD Intel Graphics Windows 11 Home Reacondicionado | Asus | — | 733.99 | 0 | EUR | — | 298 | 4.6 | \[3 items\] |

Recorded from our API · 3 items shown · 12 datapoints per item GET /v1/pccomponentes/search?query=portatil&sort=relevance

12 datapoints

### Identity

-   id string
-   slug string
-   name string
-   brandName string

### Reputation

-   ratingCount integer
-   ratingAvg number
-   images string\[\]

### Price

-   originalPrice number
-   promotionalPrice number
-   discount integer
-   currency string

### Other

-   stock number

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/pccomponentes/search?query=portatil&sort=relevance" \
  -H "X-API-Key: $API_KEY"
```

PcComponentes · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/pccomponentes/product`](https://perceptlayer.com/apis/pccomponentes/product) | `slug` +1 optional | `product` | 63 credits |
| [GET `/v1/pccomponentes/reviews`](https://perceptlayer.com/apis/pccomponentes/reviews) | `slug` +2 optional | `product_id` `slug` `rating` `reviewCount` `ratingCount` `reviews` | 63 credits |
| [GET `/v1/pccomponentes/search`](https://perceptlayer.com/apis/pccomponentes/search) | none +7 optional | `articles` `totalPages` `pageSize` `sortingKeys` `category` `queryId` +2 more | 2 credits |

Overview

## About the PcComponentes API

## What you can get

The PcComponentes API returns PcComponentes product data as JSON through 3 endpoints.

-   **Search:** `search` takes a `query` or `category`, with `sort` (relevance, price\_asc, price\_desc, discount, best\_selling, top\_rated or activation\_date), `min_price`, `max_price`, `price` and `page`.
-   **Products:** `product` takes a `slug`, with `id`.
-   **Reviews:** `reviews` takes a `slug`, with `id` and `page`.

The recorded search for "portatil" returns `articles`, each with `id`, `slug`, `name`, `brandName`, `originalPrice`, `promotionalPrice`, `discount`, `currency`, `stock`, `ratingCount`, `ratingAvg` and `images`. It also returns `total` (3,351 in that recording), `totalPages` (50), `pageSize` (20) and `filters` such as brand, processor, RAM and graphics card. The first result was an Acer Nitro V laptop at €1,329, down 21% from €1,699.

## How a call works

Search, then look up: `GET /v1/pccomponentes/search?query=portatil&sort=relevance` with your key in the `X-API-Key` header returns each product's `slug`. `product` takes it and returns `price`, `in_stock`, `rating`, `review_count`, `rating_count`, `description` and `images`. `reviews` takes the same `slug` and returns `rating`, `reviewCount` and `reviews`, each with `date`, `rating`, `text` and `author`, 15 to a page. `search` costs 2 credits per successful call; `product` and `reviews` cost 63 each. Failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track PcComponentes prices and discounts for laptops or components

`Use the PcComponentes API to track PcComponentes prices and discounts for laptops or components` 

### Rank a category by best sellers or top rated with \`sort\`

`` Use the PcComponentes API to rank a category by best sellers or top rated with `sort` `` 

### Watch stock and promotional prices for a product list from search results

`Use the PcComponentes API to watch stock and promotional prices for a product list from search results` 

### Read customer reviews for a product before buying in bulk

`Use the PcComponentes API to read customer reviews for a product before buying in bulk` 

FAQ

## Questions

**How much does the PcComponentes API cost?**

\`search\` costs 2 credits per successful call, and each page is one call. \`product\` and \`reviews\` cost 63 credits each. Failed calls cost nothing. Search results already carry price, discount, stock and rating, so you may not need \`product\` for price tracking.

**Does \`product\` return specifications?**

Only when the product page publishes them. The recorded Acer Nitro V page published no specification properties, and the response said so.

**Do I need a PcComponentes account?**

No. You call this PcComponentes API with your Perceptlayer key in the \`X-API-Key\` header, with no PcComponentes login.

**Is this the official PcComponentes API?**

No. Perceptlayer is an independent service and is not affiliated with PcComponentes. It returns PcComponentes data as JSON with a Perceptlayer key, so there is no PcComponentes developer account, app review or partner approval to get first. It only reads data: if PcComponentes has an official API and you need to act on your own PcComponentes account, such as posting, managing orders or reading private data, use that one.

**Should I build a PcComponentes scraper instead?**

You can, but a PcComponentes scraper is code you maintain: page changes break it, requests get blocked, and PcComponentes's terms govern how you collect data. The PcComponentes API gives you 3 endpoints of named JSON fields for 2 credits per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the PcComponentes API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
