# eMAG Categories API Documentation

<p><strong>eMAG Categories API Documentation</strong> Browse the public eMAG category tree for the Romanian or Bulgarian storefront. Every category has a numeric id, a name and a public path. The path works unchanged as the category or filter_url parameter of the search endpoint. Cost: 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/emag-api/emag_categories](https://scrappa.co/docs/emag-api/emag_categories)
- **API group:** eMAG API
- **Endpoint:** `GET https://scrappa.co/api/emag/categories`

## 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 |
| --- | --- | --- | --- |
| `site` | string | No | ro or bg, default ro. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 502 | Error | The category response changed shape. |

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