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.
Run this endpoint
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.
string
Optional
Search text, for example phone. Required with category or filter_url.
coffee shops
string
Optional
ro or bg, default ro. Hungary returns 422.
example
string
Optional
Public category path or slug from the categories route.
example
number
Optional
Lowest price in the site currency. No returned product is cheaper.
10
number
Optional
Highest price in the site currency. No returned product is more expensive.
10
string
Optional
Only products of this brand are returned.
example
string
Optional
relevance, price_asc, price_desc or reviews_desc.
relevance
integer
Optional
Page number, default 1.
1
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP INVALID_SITE
The site is not ro or bg.
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.