Discover/Dia API
live

Dia APIdia.es ↗

Search and browse Día supermarket products, categories, offers, and nutritional data via 7 structured endpoints returning prices, stock, and facets.

Endpoint health
verified 9h ago
search_products
get_products_by_category
get_categories
get_offers
get_subcategories
7/7 passing latest checkself-healing
Endpoints
7
Updated
7d ago

What is the Dia API?

The Día supermarket API covers 7 endpoints that expose product listings, search results, category navigation, and live promotions from dia.es. The get_product_detail endpoint returns per-SKU nutritional information, ingredient lists, storage instructions, and multiple images, while search_products supports keyword queries with filter facets and pagination across the full Día catalog.

This call costs1 credit / call— charged only on success
Try it

No input parameters required.

→ api.parse.bot/scraper/a1d71c17-a0c7-43ac-8b5e-ed231981ce90/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a1d71c17-a0c7-43ac-8b5e-ed231981ce90/get_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalmissing one? ·

Get all top-level product categories from the Dia supermarket navigation menu. Returns approximately 30 categories with their IDs, names, and URL slugs. These category IDs are used as input for get_subcategories and get_products_by_category.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "categories": "array of category objects each containing id, name, slug, and link"
  },
  "sample": {
    "data": {
      "categories": [
        {
          "id": "L128",
          "link": "/novedades-y-recomendados/c/L128",
          "name": "Novedades y recomendados",
          "slug": "novedades-y-recomendados"
        },
        {
          "id": "L105",
          "link": "/frutas/c/L105",
          "name": "Frutas",
          "slug": "frutas"
        },
        {
          "id": "L108",
          "link": "/huevos-leche-y-mantequilla/c/L108",
          "name": "Huevos, leche y mantequilla",
          "slug": "huevos-leche-y-mantequilla"
        }
      ]
    },
    "status": "success"
  }
}

About the Dia API

Category and Product Navigation

get_categories returns approximately 30 top-level categories, each with an id, name, slug, and link. Those category IDs feed directly into get_subcategories, which resolves child categories including a Todo entry for the unfiltered parent view. Both top-level and subcategory IDs are accepted by get_products_by_category, which returns paginated 20-item pages with per-product fields including sku_id, display_name, brand, prices, units_in_stock, image, and url.

Search and Bulk Retrieval

search_products accepts a query string (single or multi-word, e.g. aceite oliva) and returns 30-item pages with a facets array for narrowing results, plus total_items and full product objects. For large-scale category exports, get_all_products_by_category walks listing pages internally and returns a deduplicated set of product summaries in a single response. It accepts start_page and max_pages parameters (capped at 40 pages per call), returns a complete boolean, and includes a next_page integer so callers can resume where a previous call stopped.

Product Detail and Offers

get_product_detail takes a product_id (SKU) from any listing endpoint and returns the complete product record: prices with price, price_per_unit, currency, measure_unit, and strikethrough_price; ingredients with HTML text; nutritional_info with nutritional_values and vitamins; instructions covering storage and preparation; and a breadcrumb array for category context. get_offers retrieves currently discounted products grouped by category, including discount percentages and club pricing, using cursor-based pagination where each page surfaces two category groups.

Reliability & maintenanceVerified

The Dia API is a managed, monitored endpoint for dia.es — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when dia.es changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official dia.es API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
9h ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track price changes and strikethrough prices for specific SKUs across the Día catalog.
  • Build a grocery comparison tool using search_products facets and per-unit pricing fields.
  • Extract nutritional data and ingredient lists from get_product_detail for diet-tracking applications.
  • Monitor active promotions with get_offers to identify discounted club-price items by category.
  • Populate a category-browsing interface using get_categories and get_subcategories IDs.
  • Bulk-export an entire product category with get_all_products_by_category using start_page and next_page for resumable crawls.
  • Alert on stock availability changes using units_in_stock returned by listing and detail endpoints.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Día have an official developer API?+
Día does not publish a public developer API or documented data access program for dia.es. This Parse API is the structured way to access the catalog data.
What does `get_product_detail` return beyond basic pricing?+
It returns the full product record for a given product_id (SKU), including ingredients (with HTML-formatted text), nutritional_info broken into nutritional_values and vitamins, instructions for storage and preparation, multiple images, a breadcrumb array showing category path, and prices with both the shelf price and a strikethrough_price when a discount is active.
How does pagination work differently across endpoints?+
get_products_by_category uses integer page numbers with a fixed page size of 20 items, and search_products uses integer page numbers at 30 items per page. get_offers uses cursor-based tokens: the response includes current_page and next_page token values, and each page surfaces two category groups of discounted products.
Are product reviews or customer ratings available?+
Not currently. The API covers product data including prices, stock, nutritional info, and promotional offers, but does not include customer reviews or star ratings. You can fork this API on Parse and revise it to add a reviews endpoint if that data is accessible on the product pages.
Can I retrieve products for a specific store location or postal code?+
Not currently. The API returns catalog and offer data at the national dia.es level without store-level or postal-code filtering. You can fork this API on Parse and revise it to add location-scoped endpoints if the source supports them.
Page content last updated . Spec covers 7 endpoints from dia.es.
Related APIs in Food DiningSee all →
carrefour.es API
Access data from carrefour.es.
dezacalidad.es API
Access data from dezacalidad.es.
compraonline.alcampo.es API
Search and browse Alcampo's online product catalog, view detailed product information, explore categories, check current promotions, and find nearby store locations across Spain. Access real-time data from Alcampo's online shopping platform to discover products, compare prices, and locate physical stores.
chedraui.com.mx API
Search and browse products from Chedraui Mexico's online store, view detailed product information and categories, and discover trending searches to find exactly what you're looking for. Access comprehensive product catalogs organized by category and see what other shoppers are searching for most.
carrefour.com.ar API
Search for products across Carrefour's online store and access detailed product information, categories, and news articles about the retailer. You can also retrieve financial data about Carrefour to stay informed on company performance and market news.
la comer.com.mx API
Search and browse La Comer Mexico's product catalog across different stores and departments, then retrieve detailed product information including pricing and availability. Access the complete product hierarchy by category to discover items and compare offerings across multiple locations.
lider.cl API
Search and browse products from Lider Supermercado's catalog to compare prices, explore categories, and check real-time availability across Chile. Get detailed product information including pricing and category organization to help you shop efficiently online or in-store.
delhaize.be API
Access data from delhaize.be.