Mexico Wholesale Produce Prices API

Daily wholesale prices of fruit and vegetables in Mexican markets from the government's SNIIM survey: product, quality, packaging, state of origin, destination market, and minimum, maximum and most frequent price in pesos per kilogram.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

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

Data from economia-sniim.gob.mx/nuevo/Consultas/MercadosNacionales/PreciosDeMercado/Agricolas/ConsultaFrutasYHortalizas.aspx

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

Products
Products to look up, in Spanish with the quality as SNIIM lists them, such as Aguacate Hass - Primera, Cebolla Bola - Primera or Mango Ataulfo - Primera. One per line, or separated by commas.
Example: Aguacate Hass - Primera
Date fromoptional
First day, as YYYY-MM-DD. Default: 6 days before date_to.
Example: 2026-12-01
Date tooptional
Last day, as YYYY-MM-DD. Default: today.
Example: 2026-12-04
Destination marketoptional
Only this wholesale market, by words of its name such as Iztapalapa or Tijuana. Default: all markets.
Example: Iztapalapa

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,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/mexico-wholesale-produce-prices/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
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/mexico-wholesale-produce-prices/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"products":["Aguacate Hass - Primera"]},"max_items":50}'

Inputs

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

productslistrequired
Products to look up, in Spanish with the quality as SNIIM lists them, such as Aguacate Hass - Primera, Cebolla Bola - Primera or Mango Ataulfo - Primera.
example: Aguacate Hass - Primera
date_fromtext
First day, as YYYY-MM-DD. Default: 6 days before date_to.
example: 2026-12-01
date_totext
Last day, as YYYY-MM-DD. Default: today.
example: 2026-12-04
destination_markettext
Only this wholesale market, by words of its name such as Iztapalapa or Tijuana. Default: all markets.
example: Iztapalapa

What's in each record

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

Basics

  • Product

    Product name, in Spanish.

    Example Cebolla Bola

  • Quality

    Quality grade, such as Primera.

    Example Primera

  • Presentation

    Packaging the price was surveyed for, such as Kilogramo or Caja de 10 kg.

    Example Kilogramo

  • Destination market

    Wholesale market that reported the price, with its state.

    Example Nuevo León: Mercado de Abasto "Estrella" de San Nicolás de los Garza

  • Notes

    The survey's remark for the row, when there is one.

    Example A la alza por escasez

Prices

  • Price minimum MXN

    Lowest price, Mexican pesos per kilogram.

    Example 18

  • Price maximum MXN

    Highest price, Mexican pesos per kilogram.

    Example 22

  • Price frequent MXN

    Most frequent price, Mexican pesos per kilogram.

    Example 20

Location

  • Origin state

    Mexican state the product came from.

    Example Guanajuato

Dates

  • Date

    Day of the price survey.

    Example Nov 25, 2026

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.

  • ID idRow key made from the day, product, quality, packaging, origin and market.

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
idtextID (hidden)3 of 3
datedateDate3 of 3
producttextProduct3 of 3
qualitytextQuality3 of 3
presentationtextPresentation3 of 3
origin_statetextOrigin state3 of 3
destination_markettextDestination market3 of 3
price_min_mxnnumberPrice minimum MXN3 of 3
price_max_mxnnumberPrice maximum MXN3 of 3
price_frequent_mxnnumberPrice frequent MXN3 of 3
notestextNotes0 of 3

How it reads the site

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

Sample records

Sample records
RecordProductQualityPresentationDestination marketNotesPrice minimum MXNPrice maximum MXNPrice frequent MXNOrigin stateDate
1Cebolla BolaPrimeraKilogramoNuevo León: Mercado de Abasto "Estrella" de San Nicolás de los Garza—182220GuanajuatoNov 25, 2026
2Cebolla BolaPrimeraKilogramoNuevo León: Mercado de Abasto "Estrella" de San Nicolás de los Garza—182220GuanajuatoNov 26, 2026
3Cebolla BolaPrimeraKilogramoNuevo León: Mercado de Abasto "Estrella" de San Nicolás de los Garza—182220GuanajuatoNov 27, 2026

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
  • Give products by the name the SNIIM lists, with the quality, such as "Aguacate Hass - Primera"; a name without the quality ("Aguacate Hass") returns every quality of it, up to 25 products per run. Names are Spanish.
  • One row is one product, packaging, origin state, destination market and day. Not every market reports every day, so some days and markets are missing.
  • Prices are in Mexican pesos per kilogram, as calculated by SNIIM from the surveyed packaging (the packaging is in presentation). min, max and most frequent price can be equal.
  • SNIIM adds each day's survey in the following days and can correct earlier days, so the last day or two may be incomplete. If you give no dates, the last 7 days are returned.
  • A long date range for a popular product holds thousands of rows and takes one request for every 500 rows, so it runs for a while; the site is slow and is read one request a second.
  • notes holds the survey's remark for the row and is empty for most rows.
  • The source is public information of the Mexican Secretaria de Economia (SNIIM), read from its plain HTTP website. Not affiliated with or endorsed by the Mexican government.

Version history

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