Skip to content
Scrappa Get API key
eMAG API 1-28 credits / request

eMAG Search API Documentation

GET https://scrappa.co/api/emag/search

eMAG Search API Documentation Search the Romanian (RON) and Bulgarian (EUR) eMAG storefronts. Filter by category, price range, brand, seller and stock, and sort by price or reviews. Each product has a numeric id, a part number key and an offer id, with numeric prices, original price, discount, full-size images, rating, review count and availability. Filters are always honoured: no returned product breaks a requested filter. Page 2 and later use the public /pN path. A page that repeats page 1 ids or reports another page returns an empty list. Cost: 1 credit on the mobile pool, 28 credits on the residential fallback, only for successful requests with results. Failed and empty requests are not billed.

eMAG Search API Documentation 1-28 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/emag/search
Auth header
x-api-key
Cost
1-28 credits / request
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

8 optional filters available.

query string Optional

Search text, for example phone. Required with category or filter_url.

Example value coffee shops
site string Optional

ro or bg, default ro. Hungary returns 422.

Example value example
category string Optional

Public category path or slug from the categories route.

Example value example
price_from number Optional

Lowest price in the site currency. No returned product is cheaper.

Example value 10
price_to number Optional

Highest price in the site currency. No returned product is more expensive.

Example value 10
brand string Optional

Only products of this brand are returned.

Example value example
sort string Optional

relevance, price_asc, price_desc or reviews_desc.

Example value relevance
page integer Optional

Page number, default 1.

Example value 1

Errors

Handle these documented responses before retrying or showing customer-facing failures.

INVALID_SITE

HTTP INVALID_SITE

The site is not ro or bg.

UPSTREAM_BLOCKED

HTTP UPSTREAM_BLOCKED

eMAG answered with a wall after fallback.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.