Mercadona Grocery Prices API

Products and prices from the Mercadona online supermarket in Spain: package price, bulk price, price per kilo or litre, packaging, category, picture and product page. Pick categories or read the whole catalog.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usProducts, 11 fieldsv1.0

Data from tienda.mercadona.es

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Category IDsoptional
Category IDs, for example 112 for oil, vinegar and salt. Leave empty for all. One per line, or separated by commas.
Example: 112
Warehouseoptional
Optional warehouse code for regional prices.
Example: mad1

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/mercadona-groceries/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/mercadona-groceries/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"category_ids":[112]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

category_idslist
Category IDs, for example 112 for oil, vinegar and salt. Leave empty for all.
example: 112
warehousetext
Optional warehouse code for regional prices.
example: mad1

What's in each record

11 fields: 10 here, 1 technical one under Technical details.

Basics

  • Product name

    Example Aceite de oliva 0,4º Hacendado

  • Packaging

    Packaging, such as Botella.

    Example Garrafa

  • Reference unit

    Reference unit, such as kg or L.

    Example L

  • Category

    Example Aceite, vinagre y sal

  • Subcategory

    Example Aceite de oliva

Prices

  • Unit price

    Price of one package in EUR.

    Example 16.25

  • Bulk price

    Bulk price in EUR.

    Example 3.25

  • Reference price

    Price per reference unit in EUR.

    Example 3.25

Pictures and media

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Mercadona product ID product_id

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
product_idtextMercadona product ID (hidden)3 of 3
nametextProduct name3 of 3
packagingtextPackaging3 of 3
unit_pricemoneyUnit price3 of 3
bulk_pricemoneyBulk price3 of 3
reference_pricemoneyReference price3 of 3
reference_unittextReference unit3 of 3
categorytextCategory3 of 3
subcategorytextSubcategory3 of 3
image_urlimage linkProduct picture3 of 3
urllinkProduct page3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProduct namePackagingReference unitCategorySubcategoryUnit priceBulk priceReference priceProduct pageProduct picture
1Aceite de oliva 0,4º HacendadoGarrafaLAceite, vinagre y salAceite de oliva16.253.253.25tienda.mercadona.es/product/4241/aceite-oliva-04o-hacendado-garrafaprod-mercadona.imgix.net/images/3b8cde7b3cb069ee0316029012cf8562.jpg?fit=crop&h=300&w=300
2Aceite de oliva 0,4º HacendadoBotellaLAceite, vinagre y salAceite de oliva3.503.503.50tienda.mercadona.es/product/4240/aceite-oliva-04o-hacendado-botellaprod-mercadona.imgix.net/images/65c2349950feb1958362e06217003b10.jpg?fit=crop&h=300&w=300
3Aceite de oliva virgen extra HacendadoGarrafaLAceite, vinagre y salAceite de oliva11.003.673.67tienda.mercadona.es/product/4717/aceite-oliva-virgen-extra-hacendado-garrafaprod-mercadona.imgix.net/images/bda0f6a8c3a5f96a424b98c0df93f2e8.jpg?fit=crop&h=300&w=300

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Prices are in euros as shown in the shop; Mercadona prices can differ by warehouse region, so set a warehouse code for a specific region.
  • Product names and categories are in Spanish.
  • One category is one request, so the whole catalog (about 4,000 products) takes a few minutes at half a second per request.
  • Only products the shop publishes today; sold-out or withdrawn items are not listed, and there is no price history.
  • unit_price is the price of one package; reference_price is per reference_unit (kg, l, ud.).

Version history

A run uses the live version unless the request names another one with version.