Discover/la comer.com.mx API
live

la comer.com.mx APIla comer.com.mx

Access La Comer Mexico's product catalog, store list, category hierarchy, pricing, and nutrition data via 4 structured API endpoints.

Endpoints
4
Updated
3mo ago
Try it
ID of the store to fetch context for.
api.parse.bot/scraper/e4a6d721-8255-4962-87ed-68e0e784ff04/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e4a6d721-8255-4962-87ed-68e0e784ff04/get_departments_and_stores?store_id=287' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Fetch the complete department/aisle hierarchy and the list of available stores. Use this to find store IDs and subcategory IDs for use in other endpoints.

Input
ParamTypeDescription
store_idstringID of the store to fetch context for.
Response
{
  "type": "object",
  "fields": {
    "stores": "array of store objects with id, sucursal (name), key, and keyText",
    "departments": "array of department objects with subcategories (subagrupaciones) and article counts"
  },
  "sample": {
    "data": {
      "stores": [
        {
          "id": 408,
          "key": 200,
          "cerrada": 0,
          "keyText": "Market",
          "latitud": null,
          "longitud": null,
          "sucursal": "City Market Antea Qro",
          "direccion": null
        }
      ],
      "departments": [
        {
          "id": 57,
          "raiz": true,
          "final": false,
          "orden": 1,
          "virtual": false,
          "descripcion": "Despensa",
          "conteoArticulos": 0,
          "subagrupaciones": [
            {
              "id": 72,
              "raiz": false,
              "final": true,
              "orden": 1,
              "virtual": false,
              "descripcion": " Salsas chiles y moles",
              "conteoArticulos": 480,
              "subagrupaciones": [],
              "idAgrupacionPadre": 57,
              "idAgrupacionVirtual": 0
            }
          ],
          "idAgrupacionPadre": null,
          "idAgrupacionVirtual": 0
        }
      ]
    },
    "status": "success"
  }
}

About the la comer.com.mx API

The La Comer Mexico API covers 4 endpoints for searching and browsing the full La Comer grocery catalog, including store-level pricing, department hierarchies, and individual product detail pages. The get_product_detail endpoint returns EAN-level data including nutrition info, technical specs, and multiple image URLs, while search_products lets you query by keyword across any store with paginated results.

Store and Category Discovery

Start with get_departments_and_stores to retrieve the full list of available La Comer store locations — each with a sucursal name, id, key, and keyText — alongside the complete department and subcategory hierarchy. Departments include nested subagrupaciones arrays with article counts, giving you the padreId values needed to query any leaf category. Pass an optional store_id to scope the response to a specific branch.

Product Search and Category Browsing

search_products accepts a required query string (e.g., 'leche' or 'pan') and returns up to 20 products per page, with total and numpages fields for pagination. Each result object includes artEan, artDes (description), artPrven (price), marDes (brand), and inveCant (inventory count). For structured catalog browsing, get_products_by_category takes a dept_id and a leaf subcat_id from the hierarchy and returns vecArticulo product arrays along with noHojas for page count. This endpoint also surfaces promotional metadata such as clearance status and original pre-discount price.

Product Detail

get_product_detail takes a single EAN barcode string (e.g., '7501639313538') and an optional store_id. It returns an estrucArti object with full pricing, textual description, fichaTecnica (technical/nutrition data), and availability status. The estrucArtiImg field is a dictionary of image URLs keyed by size identifier, useful for building product displays or data pipelines that require visual assets.

Common use cases
  • Track price changes for specific products across multiple La Comer store locations using get_product_detail with different store_id values.
  • Build a grocery comparison tool by pulling artPrven and marDes fields from search_products results for competing brands.
  • Extract nutrition and ingredient data from fichaTecnica in get_product_detail for dietary or health-focused applications.
  • Map the full La Comer category tree from get_departments_and_stores to index all subcategories and their article counts.
  • Monitor clearance and promotional pricing using the promotional metadata returned by get_products_by_category.
  • Collect product image assets at multiple sizes via estrucArtiImg for catalog digitization or price comparison UIs.
  • Build store-specific inventory snapshots using inveCant from search_products across known store IDs.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does La Comer have an official public developer API?+
La Comer does not publish a public developer API or developer portal for third-party access to its product catalog.
How does pagination work in `search_products` and `get_products_by_category`?+
search_products returns 20 products per page and includes total (total matching products) and numpages (total pages) so you can iterate through results. get_products_by_category returns a noHojas field for the total page count; pass an incrementing page integer to walk through all products in a subcategory.
Does the API return customer reviews or ratings for products?+
Not currently. The API covers pricing, inventory, nutrition data, technical specs, and promotional metadata, but product reviews and ratings are not part of any endpoint's response. You can fork this API on Parse and revise it to add a review-fetching endpoint if that data is accessible.
Are all La Comer store locations covered, or only certain regions?+
The get_departments_and_stores endpoint returns whatever store list La Comer exposes through its catalog system. Coverage reflects La Comer's own store network, which operates primarily in Mexico City, Estado de Mexico, and select other states. Stores outside that network, or any affiliated banners not served by the same catalog, will not appear in results.
Can I fetch historical pricing or price trends over time?+
Not currently. Each endpoint returns current pricing only — there is no historical price or timestamp series in any response field. You can fork this API on Parse and revise it to add a price-logging layer that stores results over time.
Page content last updated . Spec covers 4 endpoints from la comer.com.mx.
Related APIs in Food DiningSee all →
dia.es API
Browse and search products across Día supermarket's catalog, view product details, categories, and current offers available on dia.es. Find specific items, explore product categories and subcategories, and discover active promotions.
kroger.com API
Find Kroger grocery store locations across the US organized by state, city, and search parameters. Get detailed store information including directories and specifics for any Kroger location in your area.
coupons.com API
Search and discover coupons, printable offers, and store-specific deals from Coupons.com. Browse top featured offers, find deals across thousands of retailers, and access aggregated coupon data including discount amounts, usage conditions, and expiration details.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
winecompanion.com.au API
Browse and explore Australian wineries from Wine Companion's comprehensive directory, including contact details, ratings, and regional locations. Search and filter by state, region, or facilities to find wineries across Australia.
liquor.com API
Find and browse thousands of cocktail recipes with ratings and user reviews, search drinks by ingredient or category, and read curated articles about spirits and mixology. Get detailed recipe instructions, comments from other users, and expert content all in one place.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.