Dia ES - Product prices avatar

Dia ES - Product prices

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Dia ES - Product prices

Dia ES - Product prices

Scrapes products and prices from the Dia online supermarket (dia.es) by search term or category.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Giacomo Pigani

Giacomo Pigani

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Dia Scraper

Scrapes products and prices from Dia's online supermarket. You can search the same way as on the website, or download every product in a category.

Input

Set a search term or a category, not both: like on the website, Dia's search can't be limited to a category.

ParameterOptionsDescription
searchTerm(optional) Text to search forOne search, like the search box on the website. Returns the same products, in the same order, as the website.
category(optional) Category code, e.g. L105, or a category page URLEvery product in this category or subcategory. In a URL only the code after /c/ matters, so https://www.dia.es/frutas/c/L105 and https://www.dia.es/anything/c/L105 are the same category.

Example using a search query:

{
"searchTerm": "leche condensada"
}

Example using a category (a pasted category URL works too):

{
"category": "https://www.dia.es/cervezas-vinos-y-licores/vino-tinto/c/L2120"
}

Categories

The top-level categories and their codes. A subcategory's code is the one after /c/ in its URL on the website, e.g. L2120 in /cervezas-vinos-y-licores/vino-tinto/c/L2120.

CodeCategory
L124Navidad (seasonal)
L128Novedades y recomendados
L105Frutas
L104Verduras
L102Carnes
L103Pescados y mariscos
L134Charcutería
L101Quesos
L108Huevos, leche y mantequilla
L112Panadería
L113Yogures y postres
L119Congelados y helados
L106Arroz, pastas y legumbres
L107Aceites, salsas y especias
L114Conservas, caldos y cremas
L109Café, cacao e infusiones
L132Bollería, repostería y azúcar
L111Galletas, cereales y mermeladas
L110Chocolates y golosinas
L116Platos preparados y pizzas
L115Aperitivos y frutos secos
L117Agua y refrescos
L127Zumos y smoothies
L118Cervezas, vinos y licores
L122Limpieza y hogar
L129Higiene y cuidado del cuerpo
L130Cabello y perfumería
L131Salud y parafarmacia
L120Infantil
L123Mascotas

Output

  • Dataset: one item per product, as Dia returns it, with the page and image links made absolute. Search results also carry search_term. A product appears only once per run, even when it is in more than one subcategory.
  • FAILED_REQUESTS (key-value store, only when some requests failed): the URL and error of each failed page. If any page failed, the run fails rather than returning an incomplete dataset as a success.

Prices are the ones the website shows before you choose a delivery address.

Product fields

Values come as Dia sends them. Fields inside an object are written with a dot, e.g. prices.price. Dia sends a few fields only in search results or only in category listings.

FieldDescription
sku_idProduct code, as in the product page URL.
display_nameName with size, e.g. Leche condensada Dia Láctea 1 Kg.
brandBrand. Missing for loose produce.
url, imageProduct page and main image.
prices.pricePrice in EUR.
prices.price_per_unit, prices.measure_unitUnit price in EUR, and its unit, e.g. KILO, LITRO, UNIDAD.
prices.strikethrough_price, prices.discount_percentagePrice before the discount (the same as price when there is none) and the discount in percent.
prices.is_promo_price, prices.is_club_priceThe price is a promotion; the price is for Club Dia members only.
promotions, headband_promotionActive promotions, and the promotion banner on the product card.
stamp_descriptionBadge on the product card, e.g. Mejor valorado, Novedad.
units_in_stockUnits in stock.
weight_in_grams, average_weightCategory rows, products sold by weight: grams per unit and average weight of one piece.
l1_category_description, l2_category_descriptionSearch rows only: category and subcategory names.
dia_brand, brand_typeSearch rows only: Dia's own brand, and the brand type code (D = Dia).
allergens, product_infoSearch rows only: dietary labels, e.g. Sin lactosa.
search_termSearch rows only: the search that returned the product.