---
title: "eMAG API: product search as JSON | Perceptlayer"
description: "eMAG API for product search in Romania and Bulgaria, product details, seller offers, reviews and categories as JSON. 1 credit per call for most calls."
url: https://perceptlayer.com/apis/emag
---

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

1 credit per call 5 endpoints 16 datapoints 

# eMAG API

eMAG API for product search in Romania and Bulgaria, product details, seller offers, reviews and categories as JSON. 1 credit per call for most calls.

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

eMAG

GET /v1/emag/search?site=ro&query=laptop 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": 143626261,
        "part_number_key": "DDB2JB7BM",
        "offer_id": 442823387,
        "name": "Laptop Acer Aspire Lite AL15-37P-C5B8 procesor Intel® N50 pana la 3.40 GHz, 15.6\" Full HD IPS, 8GB RAM, 128 GB PCIe Gen3 SSD, Intel® UHD Graphics, Windows 11 Home, Light Silver",
        "url": {
          "path": "/laptop-acer-aspire-lite-al15-37p-c5b8-procesor-intelr-n50-pana-la-3-40-ghz-15-6-full-hd-ips-8gb-ram-128-gb-pcie-gen3-ssd-intelr-uhd-graphics-windows-11-home-light-silver-nx-x76ex-003/pd/DDB2JB7BM/"
        },
        "image": {
          "original": "https://s13emagst.akamaized.net/products/143627/143626261/images/res_bcc6addfca942fdc6621dfa01a2c8e5e.png",
          "resized_images": [
            "https://s13emagst.akamaized.net/products/143627/143626261/images/res_bcc6addfca942fdc6621dfa01a2c8e5e.png?width=200&height=200&hash=DA67C8EF38E7C1E9A4BB57205951195E",
            "https://s13emagst.akamaized.net/products/143627/143626261/images/res_bcc6addfca942fdc6621dfa01a2c8e5e.png?width=350&height=350&hash=3EC4877AD6FED156B99A4EDDB7286483",
            "https://s13emagst.akamaized.net/products/143627/143626261/images/res_bcc6addfca942fdc6621dfa01a2c8e5e.png?width=720&height=720&hash=0A9E11CEC4D0ACAA4E4640A7C14446DE"
          ]
        },
        "price": {
          "amount": 1649.99,
          "currency": "RON"
        },
        "original_price": {
          "amount": 2199.99,
          "currency": "RON"
        },
        "discount_percent": 25,
        "discount_value": 550,
        "lowest_price_30_days": 2199.99,
        "vendor": {
          "name": "eMAG",
          "id": 1
        },
        "seller": {
          "name": "eMAG"
        },
        "availability": {
          "code": "in_stock",
          "in_stock": true
        },
        "review_count": 0,
        "is_genius": false
      },
      {
        "id": 127672075,
        "part_number_key": "DMHVT92BM",
        "offer_id": 369389151,
        "name": "Laptop Gaming Lenovo LOQ 17IRX10 cu procesor Intel Core™ i7-14700HX pana la 5.5GHz, 17.3\" Full HD, IPS, 165Hz, 24GB DDR5, 1TB SSD, NVIDIA GeForce RTX™ 5070 8GB GDDR7, No OS, Luna Grey",
        "url": {
          "path": "/laptop-gaming-lenovo-loq-17irx10-cu-procesor-intel-coretm-i7-14700hx-pana-la-5-5ghz-17-3-full-hd-ips-165hz-24gb-ddr5-1tb-ssd-nvidia-geforce-rtxtm-5070-8gb-gddr7-no-os-luna-grey-83jh00germ/pd/DMHVT92BM/"
        },
        "image": {
          "original": "https://s13emagst.akamaized.net/products/98129/98128179/images/res_4803206807f9500cddda725c5c88494a.jpg",
          "resized_images": [
            "https://s13emagst.akamaized.net/products/98129/98128179/images/res_4803206807f9500cddda725c5c88494a.jpg?width=200&height=200&hash=73F4CD3EA59C5023403A59B1F8A68A7B",
            "https://s13emagst.akamaized.net/products/98129/98128179/images/res_4803206807f9500cddda725c5c88494a.jpg?width=350&height=350&hash=821FCE724E49F8C238990C3769DF1CD6",
            "https://s13emagst.akamaized.net/products/98129/98128179/images/res_4803206807f9500cddda725c5c88494a.jpg?width=720&height=720&hash=8F4F3051C345623E3F44D204E5AF656C"
          ]
        },
        "price": {
          "amount": 8699.99,
          "currency": "RON"
        },
        "original_price": {
          "amount": 10199.99,
          "currency": "RON"
        },
        "discount_percent": 14,
        "discount_value": 1500,
        "lowest_price_30_days": 10199.99,
        "vendor": {
          "name": "eMAG",
          "id": 1
        },
        "seller": {
          "name": "eMAG"
        },
        "availability": {
          "code": "in_stock",
          "in_stock": true
        },
        "rating": 4.33,
        "review_count": 3,
        "is_genius": false
      },
      {
        "id": 132598860,
        "part_number_key": "DVYWS42BM",
        "offer_id": 389333794,
        "name": "Laptop Apple MacBook Air 13'' cu procesor Apple M5, 10 nuclee CPU, 8 nuclee GPU, 16GB RAM, 512GB SSD, Midnight, Tastatura US English, Fara incarcator",
        "url": {
          "path": "/laptop-apple-macbook-air-13-cu-procesor-apple-m5-10-nuclee-cpu-8-nuclee-gpu-16gb-ram-512gb-ssd-midnight-tastatura-us-english-fara-incarcator-z1l6000fp/pd/DVYWS42BM/"
        },
        "image": {
          "original": "https://s13emagst.akamaized.net/products/88283/88282977/images/res_a6c650c79a72885951461ac3b97b0380.jpg",
          "resized_images": [
            "https://s13emagst.akamaized.net/products/88283/88282977/images/res_a6c650c79a72885951461ac3b97b0380.jpg?width=200&height=200&hash=0BEC6BB06162BC8F7B056D855694B8EE",
            "https://s13emagst.akamaized.net/products/88283/88282977/images/res_a6c650c79a72885951461ac3b97b0380.jpg?width=350&height=350&hash=2604891DA518F42E59BD508AD0795E1A",
            "https://s13emagst.akamaized.net/products/88283/88282977/images/res_a6c650c79a72885951461ac3b97b0380.jpg?width=720&height=720&hash=5041C83F96FBFDBA2F8483B5D07EB1F8"
          ]
        },
        "price": {
          "amount": 6299.99,
          "currency": "RON"
        },
        "original_price": {
          "amount": 7399.99,
          "currency": "RON"
        },
        "discount_percent": 14,
        "discount_value": 1100,
        "vendor": {
          "name": "eMAG",
          "id": 1
        },
        "seller": {
          "name": "eMAG"
        },
        "availability": {
          "code": "in_stock",
          "in_stock": true
        },
        "rating": 5,
        "review_count": 5,
        "is_genius": false
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 60,
      "total_results": 12655,
      "has_next": true
    },
    "filters": {
      "query": "laptop",
      "sort": "relevance",
      "options": [
        {
          "name": "Timp de livrare estimat",
          "options": [
            "…",
            "…",
            "…"
          ]
        },
        {
          "name": "Produse la oferta",
          "options": [
            "…",
            "…"
          ]
        },
        {
          "name": "Sistem de operare",
          "options": [
            "…",
            "…",
            "…"
          ]
        }
      ],
      "sort_options": [
        {
          "id": "popularity_v_opt_rec",
          "name": "Cele mai relevante",
          "direction": "desc",
          "is_selected": true,
          "is_auto_selected": true,
          "is_default": true,
          "url": {
            "path": "/laptopuri/c",
            "desktop_base": "https://www.emag.ro",
            "mobile_base": "https://www.emag.ro"
          }
        },
        {
          "id": "id",
          "name": "Cele mai noi",
          "direction": "desc",
          "is_selected": false,
          "is_auto_selected": false,
          "is_default": false,
          "url": {
            "path": "/laptopuri/sort-iddesc/c",
            "desktop_base": "https://www.emag.ro",
            "mobile_base": "https://www.emag.ro"
          }
        },
        {
          "id": "price",
          "name": "Pret crescator",
          "direction": "asc",
          "is_selected": false,
          "is_auto_selected": false,
          "is_default": false,
          "url": {
            "path": "/laptopuri/sort-priceasc/c",
            "desktop_base": "https://www.emag.ro",
            "mobile_base": "https://www.emag.ro"
          }
        }
      ]
    },
    "site": "RO",
    "currency": "RON"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_8f3edce3e1424482aad3441f711e2e8c",
    "credits_charged": 1,
    "credits_remaining": 4918
  }
}
```

200 OK JSON X-Credits-Used: 1

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 integer | part\_number\_key string | offer\_id integer | name string | url object | image object | price object | original\_price object | discount\_percent integer | discount\_value integer | lowest\_price\_30\_days number | vendor object | seller object | availability object | review\_count integer | is\_genius boolean |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 143626261 | DDB2JB7BM | 442823387 | Laptop Acer Aspire Lite AL15-37P-C5B8 procesor Intel® N50 pana la 3.40 GHz, 15.6" Full HD IPS, 8GB RAM, 128 GB PCIe Gen3 SSD, Intel® UHD Graphics, Windows 11 Home, Light Silver | {1 fields} | {2 fields} | {2 fields} | {2 fields} | 25 | 550 | 2199.99 | {2 fields} | {1 fields} | {2 fields} | 0 | false |
| 2 | 127672075 | DMHVT92BM | 369389151 | Laptop Gaming Lenovo LOQ 17IRX10 cu procesor Intel Core™ i7-14700HX pana la 5.5GHz, 17.3" Full HD, IPS, 165Hz, 24GB DDR5, 1TB SSD, NVIDIA GeForce RTX™ 5070 8GB GDDR7, No OS, Luna Grey | {1 fields} | {2 fields} | {2 fields} | {2 fields} | 14 | 1500 | 10199.99 | {2 fields} | {1 fields} | {2 fields} | 3 | false |
| 3 | 132598860 | DVYWS42BM | 389333794 | Laptop Apple MacBook Air 13'' cu procesor Apple M5, 10 nuclee CPU, 8 nuclee GPU, 16GB RAM, 512GB SSD, Midnight, Tastatura US English, Fara incarcator | {1 fields} | {2 fields} | {2 fields} | {2 fields} | 14 | 1100 | — | {2 fields} | {1 fields} | {2 fields} | 5 | false |

Recorded from our API · 3 items shown · 16 datapoints per item GET /v1/emag/search?site=ro&query=laptop

16 datapoints

### Identity

-   id integer
-   offer\_id integer
-   name string

### Contact

-   url object
-   seller object

### Reputation

-   image object
-   review\_count integer

### Price

-   price object
-   original\_price object
-   discount\_percent integer
-   discount\_value integer
-   lowest\_price\_30\_days number

### Other

-   part\_number\_key string
-   vendor object
-   availability object
-   is\_genius boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/emag/search?site=ro&query=laptop" \
  -H "X-API-Key: $API_KEY"
```

eMAG · 5 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/emag/categories`](https://perceptlayer.com/apis/emag/categories) | none +1 optional | `id` `name` `url` | 1 credit |
| [GET `/v1/emag/offers`](https://perceptlayer.com/apis/emag/offers) | `pnk` +2 optional | `part_number_key` `offers` `pagination` `site` `currency` | 1 credit |
| [GET `/v1/emag/product`](https://perceptlayer.com/apis/emag/product) | none +3 optional | `product` `site` `currency` | 1–24 credits |
| [GET `/v1/emag/reviews`](https://perceptlayer.com/apis/emag/reviews) | `pnk` +2 optional | `part_number_key` `reviews` `pagination` `rating` `distribution` `site` | 1 credit |
| [GET `/v1/emag/search`](https://perceptlayer.com/apis/emag/search) | none +11 optional | `items` `pagination` `site` `currency` | 1–28 credits |

Overview

## About the eMAG API

## What you can get

The eMAG API returns eMAG product data as JSON through 5 endpoints. Each takes a `site` (ro or bg).

-   **Search:** `search` takes a `query`, `category` or `filter_url`, with `price_from`, `price_to`, `brand` (such as samsung, apple, xiaomi, lenovo, asus, acer, dell or hp), `seller`, `in_stock`, `sort` (relevance, price\_asc, price\_desc or reviews\_desc) and `page`.
-   **Products:** `product` takes a `pnk` (part number key) or a product `url`.
-   **Offers:** `offers` takes a `pnk`, with `page`, and lists every seller's offer for the product.
-   **Reviews:** `reviews` takes a `pnk`, with `page`.
-   **Categories:** `categories` lists the site's categories.

The recorded search for "laptop" on eMAG Romania returns `items`, each with `id`, `part_number_key`, `offer_id`, `name`, `url`, `image`, `price`, `original_price`, `discount_percent`, `discount_value`, `lowest_price_30_days`, `vendor`, `seller`, `availability`, `review_count` and `is_genius`. It also returns `pagination` (60 per page, `total_results` 12,655 in that recording) and the sort and filter `options`.

## How a call works

Search, then look up: `GET /v1/emag/search?site=ro&query=laptop` with your key in the `X-API-Key` header returns each product's `part_number_key`. Pass it as `pnk` to `product` for `specifications` and `description`, to `offers` for other sellers' prices and ratings, or to `reviews`. Check `has_next` before asking for the next `page`. `offers`, `reviews` and `categories` cost 1 credit per successful call. `search` and `product` cost 1 credit for most calls, and more when the store can only be reached by a costlier route: up to 28 credits for `search` and 24 for `product`. 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 eMAG prices against \`lowest\_price\_30\_days\` to check if a discount is real

`` Use the eMAG API to track eMAG prices against `lowest_price_30_days` to check if a discount is real `` 

### Compare every seller's offer for one product with \`offers\`

`` Use the eMAG API to compare every seller's offer for one product with `offers` `` 

### Monitor a brand's listings in a category with \`brand\` and \`in\_stock\`

`` Use the eMAG API to monitor a brand's listings in a category with `brand` and `in_stock` `` 

### Analyse reviews and the star \`distribution\` for a product

`` Use the eMAG API to analyse reviews and the star `distribution` for a product `` 

FAQ

## Questions

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

\`offers\`, \`reviews\` and \`categories\` cost 1 credit per successful call. \`search\` and \`product\` cost 1 credit for most calls; when the store can only be reached by a costlier route, \`search\` costs up to 28 credits and \`product\` up to 24. Failed calls cost nothing.

**What is a \`pnk\`?**

eMAG's part number key, such as \`DDB2JB7BM\`. Search items return it as \`part\_number\_key\`, and \`product\`, \`offers\` and \`reviews\` take it as \`pnk\`.

**What do reviews include?**

Each review has \`text\`, \`title\`, \`author\`, \`rating\`, \`created\_at\`, \`verified\` and \`helpful\_count\`. The response adds the average \`rating\`, a written summary and the star \`distribution\`: one recorded product had 3,622 reviews averaging 4.91.

**Do I need an eMAG account?**

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

**Is this the official eMAG API?**

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

**Should I build an eMAG scraper instead?**

You can, but an eMAG scraper is code you maintain: page changes break it, requests get blocked, and eMAG's terms govern how you collect data. The eMAG API gives you 5 endpoints of named JSON fields for 1 credit 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 eMAG 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)
