---
title: "eMAG API: Categories | Perceptlayer"
description: "Categories from eMAG as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/emag/categories
---

[APIs](https://perceptlayer.com/apis) / [eMAG](https://perceptlayer.com/apis/emag) / Categories

# eMAG: Categories

Categories from eMAG as JSON. 1 credit per successful call.

GET `/v1/emag/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `site` | string | Optional | ro, bg |

## Example request

eMAG

GET /v1/emag/categories 

```
{
  "success": true,
  "data": {
    "categories": [
      {
        "id": 4283,
        "name": "Laptopuri",
        "url": {
          "path": "/laptopuri/c"
        }
      },
      {
        "id": 7005,
        "name": "Laptopuri Gaming",
        "url": {
          "path": "/laptopuri/filter/tip-laptop-f7882,gaming-v-17788/c"
        }
      },
      {
        "id": 4896,
        "name": "Laptopuri Apple",
        "url": {
          "path": "/laptopuri/brand/apple/c"
        }
      }
    ],
    "site": "RO"
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/emag?try=categories#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `id` | integer |
| `name` | string |
| `url` | object |
