Natura
Natura Search API
Natura keyword search in Brazil, Argentina, Chile, Colombia, Mexico or Peru: up to 100 products a page with sale price, list price, discount and rating, the site's refinements and the market's own sorts. 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsoncountryenum<string>default:brThe storefront. br, ar, cl, co, mx or pe; us is a 400 (Natura's US store lists no products).
Example: br
br— Brazil: www.natura.com.br, pt-BR, BRL.ar— Argentina: www.naturacosmeticos.com.ar, es-AR, ARS.cl— Chile: www.natura.cl, es-CL, CLP.co— Colombia: www.natura.com.co, es-CO, COP.mx— Mexico: www.natura.com.mx, es-MX, MXN.pe— Peru: www.natura.com.pe, es-PE, PEN.
querystringrequiredSearch keywords in the market's language, 1-100 characters (letters or digits).
Example: perfume
sortenum<string>The market's own sorts; a sort the market does not offer is a 400 (see the table: cl offers 4, ar 9). Default: the site's order.
best_sellers— Best sellers (every market).relevance— Best matches (br, ar, mx).price_asc— Price, low to high (every market).price_desc— Price, high to low (every market).discount— Biggest discount first (br, ar, cl, co, pe).name_asc— Name A-Z (br, ar, co, mx, pe).name_desc— Name Z-A (br, ar, co, mx, pe).brand— Brand (ar, mx).most_popular— Most popular (ar, mx).
filtersobjectRefinements as the site names them: {attribute: value or [values]} from facets[].attribute and facets[].values[].value, up to 5 attributes and 10 values each, e.g. {"brand": "Kaiak", "natg_gender": "masculino"}.
Example: {"brand": "Kaiak"}
min_priceintegerMinimum price, whole units of the market's currency.
Example: 50
max_priceintegerMaximum price, whole units of the market's currency; must be above min_price.
Example: 100
pageintegerdefault:1Results page, 1-200.
page_sizeintegerdefault:24Products per page, 1-100. Pages of 100 can take up to a minute.
Notes
Natura. Natura is the Brazilian beauty brand of Natura &Co, selling perfume, body care, hair care, skincare and makeup on its own storefronts in six Latin American countries. country picks the storefront (default br): br (www.natura.com.br, pt-BR, BRL), ar (www.naturacosmeticos.com.ar, es-AR, ARS), cl (www.natura.cl, es-CL, CLP), co (www.natura.com.co, es-CO, COP), mx (www.natura.com.mx, es-MX, MXN) or pe (www.natura.com.pe, es-PE, PEN). Data comes in the market's language and currency, never translated or converted; every answer carries store, country, host, currency and language. Natura's US store is not covered (its catalog lists no products). Natura has no public product API. This endpoint answers for all six markets. 1 credit per call. Reviews carry no reviewer names. The store list is Natura's public store data: address, CEP, phone and the store's own @natura.net mailbox (any other address on the list is dropped).
| country | Storefront | Currency | Sorts |
|---|---|---|---|
br | www.natura.com.br (pt-BR) | BRL | best_sellers, relevance, name_asc, name_desc, price_asc, price_desc, discount |
ar | www.naturacosmeticos.com.ar (es-AR) | ARS | best_sellers, relevance, price_asc, price_desc, name_asc, name_desc, brand, most_popular, discount |
cl | www.natura.cl (es-CL) | CLP | best_sellers, discount, price_asc, price_desc |
co | www.natura.com.co (es-CO) | COP | best_sellers, name_asc, name_desc, price_asc, price_desc, discount |
mx | www.natura.com.mx (es-MX) | MXN | best_sellers, price_asc, price_desc, relevance, name_asc, name_desc, brand, most_popular |
pe | www.natura.com.pe (es-PE) | PEN | best_sellers, discount, name_asc, name_desc, price_asc, price_desc |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.natura.search(query="perfume", sort="discount")["data"]
print(d["total"], d["total_pages"])
for p in d["items"]:
print(p["product_id"], p["name"], p["price_display"], p["list_price_display"], p["discount_percent"])Response