Search emag.ro products
Automatically search emag.ro products on emag.ro. Search emag.ro by free-text query and return one page of results in emag's own order: the total result count, whether a next page exists, and the items (product id, offer id, product code, title, link, price in lei (RON), rating, review count, stock status). Results include sponsored products. Stop paging when has_next_page is false. Pass a product code or link to Get emag.ro product.
Inputs
query requiredFree-text search, for example cablu usb. The site is in Romanian, so Romanian terms match best.
page optionalResult page, 1 for the first. About 60 products per page.
Default: 1Output
page requireditems requiredquery requiredhas_next_page requiredtotal_results requiredNumber of products the site says match.
FAQ
Remove product from emag.ro cart
Remove a product from the emag.ro cart of this browser by its product id, whatever its quantity, and return what is left in the cart: each line with its product id, offer id, name, seller, quantity, unit price and line price in lei (RON), plus the item count and products total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. When the same product is in the cart from several sellers, pass the offer id to pick the line.
List emag.ro cart items
List the items in the emag.ro cart of this browser, as the site holds it: for each line its product id, offer id, name, seller, quantity, unit price and line price in lei (RON), plus the number of items and the products total. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list and a zero count.
Add product to emag.ro cart
Add an emag.ro product to the shopping cart from its product page link or product code, with an optional quantity, and return the cart as the site holds it afterwards: each line with its product id, offer id, name, seller, quantity, unit price and line price in lei (RON), plus the item count and products total. Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. A product page that does not offer the add button (out of stock, no longer listed) fails with an error; a link that is not an emag.ro product page fails with an error.
