curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/magazineluiza-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/magazineluiza-search"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/magazineluiza-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape Magazine Luiza (Magalu) product search
Searches Magazine Luiza (magazineluiza.com.br, Brazil) for query and returns the products as JSON: productId, offerId, title, brand, url, price, bestPrice with bestPriceMethod (usually the Pix price), originalPrice (list price), discountPercent, currency (BRL), installments (count, amount, interest-free), rating, reviewCount, sellerId / sellerName, available, sponsored, magaluIndica, category / subcategory, badges, image and variations. Sort with sort, start at page, and collect up to max_results across pages (40 per page, each page billed as one request, see pagesFetched). url takes a Magalu search link instead of query.
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/magazineluiza-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/magazineluiza-search"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/magazineluiza-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
What to search, e.g. 'geladeira', 'smart tv 55' or 'air fryer'.
Order: relevance, price_low, price_high, best_selling, rating, newest, fastest_delivery, price_with_shipping_low.
1-based results page to start from (1-25).
Products to collect across pages (1-200); Magalu serves 40 per page and each page fetched is billed as one request.
Instead of query: a Magazine Luiza search link, e.g. https://www.magazineluiza.com.br/busca/geladeira/ (its sort and page are used).
Response
JSON with a products array plus paging totals.

