WFP Market Food Prices

Market prices of food and other basics that the World Food Programme collects in about 100 countries: date, market and its location, commodity, unit, retail or wholesale price in local currency and in US dollars. Filter by commodity, market, price type and dates.

$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 usRecords, 19 fieldsv1.0

Data from data.humdata.org/organization/wfp

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

Countries
Countries by English name or three-letter code, such as Kenya or KEN. Up to 20. One per line, or separated by commas.
Example: Kenya
Commoditiesoptional
Only these commodities. A word matches every kind: Maize also finds Maize (white) and Maize flour. One per line, or separated by commas.
Example: Maize
Marketsoptional
Only markets whose name holds one of these words, such as Mombasa. One per line, or separated by commas.
Example: Mombasa
Price typeoptional
Only retail or only wholesale prices.
Date fromoptional
Only prices on or after this day, as YYYY-MM-DD. WFP dates each month's price on the 15th.
Example: 2026-01-01
Date tooptional
Only prices on or before this day, as YYYY-MM-DD.
Example: 2026-06-30

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/wfp-food-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
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/wfp-food-prices/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"countries":["Kenya"]},"max_items":50}'

Inputs

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

countrieslistrequired
Countries by English name or three-letter code, such as Kenya or KEN. Up to 20.
example: Kenya
commoditieslist
Only these commodities. A word matches every kind: Maize also finds Maize (white) and Maize flour.
example: Maize
marketslist
Only markets whose name holds one of these words, such as Mombasa.
example: Mombasa
price_typetext
Only retail or only wholesale prices.
example: Wholesaleone of: Retail, Wholesale
date_fromtext
Only prices on or after this day, as YYYY-MM-DD. WFP dates each month's price on the 15th.
example: 2026-01-01
date_totext
Only prices on or before this day, as YYYY-MM-DD.
example: 2026-06-30

What's in each record

19 fields: 16 here, 3 technical ones under Technical details.

Basics

  • Admin 1

    First-level region of the market, such as a province or region.

    Example Rift Valley

  • Admin 2

    Second-level area of the market, such as a district or county.

    Example Turkana

  • Market name

    Example Ethiopia (Kakuma)

  • Category

    Commodity group, such as cereals and tubers or pulses and nuts.

    Example cereals and tubers

  • Commodity

    Commodity, such as Maize (white) or Beans (dry).

    Example Maize flour

  • Unit

    Unit the price is for, such as KG, 90 KG or L.

    Example KG

Prices

  • Price flag

    How the price was made: actual, aggregate or both.

    Example aggregate

  • Price type

    Retail or Wholesale.

    Example Retail

  • Currency

    Currency of price, as an ISO 4217 code such as KES.

    Example KES

  • Price

    Price per unit in the local currency (see currency).

    Example KES 90.00

  • USD price

    Price per unit in US dollars, as WFP converted it.

    Example KES 0.69

Location

  • Country

    Country name as WFP writes it.

    Example Kenya

  • Country code

    Three-letter country code (ISO 3166-1 alpha-3), such as KEN.

    Example KEN

  • Latitude

    Latitude of the market.

    Example 3.72

  • Longitude

    Longitude of the market.

    Example 34.85

Dates

  • Date

    Month of the price, dated the 15th as WFP dates it.

    Example Oct 15, 2026

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idKey of this price: country code, market id, commodity id, unit, price type, flag and date.
  • Market ID market_idWFP's id of the market.
  • Commodity ID commodity_idWFP's id of the commodity.

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
countrytextCountry3 of 3
country_codetextCountry code3 of 3
admin1textAdmin 13 of 3
admin2textAdmin 23 of 3
markettextMarket name3 of 3
market_idtextMarket ID (hidden)3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
categorytextCategory3 of 3
commoditytextCommodity3 of 3
commodity_idtextCommodity ID (hidden)3 of 3
unittextUnit3 of 3
price_flagtextPrice flag3 of 3
price_typetextPrice type3 of 3
currencytextCurrency3 of 3
pricemoneyPrice3 of 3
usd_pricemoneyUSD price3 of 3

How it reads the site

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

Sample records

Sample records
RecordAdmin 1Admin 2Market nameCategoryCommodityUnitPrice flagPrice typeCurrencyPriceUSD priceCountryCountry codeLatitudeLongitudeDate
1Rift ValleyTurkanaEthiopia (Kakuma)cereals and tubersMaize flourKGaggregateRetailKESKES 90.00KES 0.69KenyaKEN3.7234.85Oct 15, 2026
2North EasternGarissaHagadera (Daadab)cereals and tubersMaize flourKGaggregateRetailKESKES 100.00KES 0.77KenyaKEN0.0140.37Oct 15, 2026
3Rift ValleyTurkanaHongKong (Kakuma)cereals and tubersMaizeKGaggregateRetailKESKES 60.00KES 0.46KenyaKEN3.7534.84Oct 15, 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
  • Monthly prices as WFP publishes them on the Humanitarian Data Exchange, usually refreshed once a month. The newest month is often one or two months back, and some countries stopped long ago (Somalia's prices end in November 2021).
  • About 100 countries, the ones WFP publishes there, mostly low- and middle-income countries. Countries are matched by English name or three-letter code; markets and commodities are named as WFP names them.
  • Every run reads each country's whole price file, so large countries take longer: a typical country takes 5 to 20 seconds, while India, the Philippines and Syria (26 to 36 MB) take about one to two minutes each. Up to 20 countries per run.
  • At most 10,000 prices per run, newest first. With several countries the limit is shared between them; use date_from, commodities or markets to narrow a country with many markets.
  • price_flag says how WFP made the price: actual (collected), aggregate (averaged from several collections) or both. usd_price is WFP's own conversion for that month and is empty where WFP gives none.
  • id is built from the country code, market id, commodity id, unit, price type, flag and date, so the same price keeps the same id from run to run.
  • Data: World Food Programme (WFP), licence CC BY-IGO. Credit WFP when you use it; WFP and the Humanitarian Data Exchange do not endorse this API.

Version history

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