wholefoodsmarket.com APIwholefoodsmarket.com ↗
Search Whole Foods products, get pricing and ingredients, find nearby stores, and retrieve weekly sales flyers via a structured JSON API.
curl -X GET 'https://api.parse.bot/scraper/51e4baf2-1a29-4eda-a2b1-d52afdac2133/search_products?limit=3&query=organic+bread' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for grocery products by keyword. Returns products with pricing, availability, ingredients, and nutritional info. Uses ZIP code to determine store location for pricing.
| Param | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (max 30) |
| queryrequired | string | Search keyword (e.g., 'milk', 'organic bread') |
| zip_code | string | 5-digit US ZIP code for location-specific pricing and availability |
{
"type": "object",
"fields": {
"meta": "object containing query and zip_code used",
"results": "array of product objects with product_id, name, brand, price_current, availability, ingredients, and more",
"total_count": "integer total number of matching products"
},
"sample": {
"data": {
"meta": {
"query": "milk",
"zip_code": "10001"
},
"results": [
{
"name": "Organic Whole Milk, 128 oz",
"brand": "365 by Whole Foods Market",
"category": {
"displayName": "Grocery",
"productType": "DAIRY_BASED_DRINK"
},
"snap_ebt": "SNAP EBT eligible",
"image_url": "https://m.media-amazon.com/images/I/61m5EiZuUEL.jpg",
"diet_types": [
"kosher",
"vegetarian"
],
"product_id": "B074H5SR5S",
"unit_price": "0.06 per fluid ounce",
"description": "Who are we?...",
"ingredients": "ORGANIC MILK, VITAMIN D3.",
"product_url": "https://www.wholefoodsmarket.com/grocery/product/B074H5SR5S",
"availability": "in_stock",
"location_zip": null,
"size_display": "128 oz",
"price_current": 7.99,
"price_original": null,
"size_normalized": {
"unit": "oz",
"value": 128
},
"last_checked_utc": "2026-05-14T10:49:29Z"
}
],
"total_count": 269
},
"status": "success"
}
}About the wholefoodsmarket.com API
The Whole Foods Market API covers 4 endpoints that return grocery product data including pricing, ingredients, nutritional information, and availability. Use search_products to query the catalog by keyword with location-specific pricing via ZIP code, find_stores to locate nearby stores with hours and Prime eligibility, and get_weekly_sales to pull current sale items for a specific store.
Product Search and Details
The search_products endpoint accepts a query string (e.g., 'organic bread' or 'oat milk') and an optional zip_code to return location-adjusted pricing and availability. Results include up to 30 products per request, each with product_id (ASIN), name, brand, price_current, availability status, and an ingredients string. The total_count field tells you how many total matches exist beyond the current page.
The get_product_details endpoint takes a single product_id (ASIN) and returns a fuller record for that item: description, ingredients, availability (one of in_stock, out_of_stock, or limited), and price_current where available. Price may return null for items that require in-store lookup.
Store Finder and Weekly Sales
find_stores accepts either a 5-digit ZIP code or a city/store name string. ZIP lookups return the nearest store; name queries search against store tokens. Each store record includes store_id, name, address, lat/lng coordinates, hours, and a prime_eligible flag indicating Amazon Prime discount eligibility.
get_weekly_sales takes an optional store_id (discoverable via find_stores) and returns the current weekly flyer for that location. Each sale item includes product_id, name, availability, price_current, and promotional_text describing the offer. Omitting store_id falls back to a default store.
- Build a grocery price tracker that monitors
price_currentchanges across Whole Foods product categories - Compare ingredient lists from
search_productsresults to flag allergens or additives in product selections - Surface weekly sale items from
get_weekly_salesin a meal-planning or budget-shopping app - Determine the nearest Prime-eligible Whole Foods store using
find_storesand theprime_eligiblefield - Populate a product catalog with brand, description, and ingredients data via
get_product_details - Build a location-aware shopping assistant that adjusts prices by passing
zip_codetosearch_products
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 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.
Does Whole Foods Market have an official developer API?+
How does location affect the data returned by search_products?+
zip_code parameter to search_products causes the response to reflect pricing and availability for the Whole Foods store serving that ZIP code. Without a ZIP code, results may use a default or regional store, which can mean different prices or missing availability signals for location-specific items.Does get_weekly_sales return sale prices for all stores?+
store_id. You can retrieve store IDs using find_stores, then call get_weekly_sales once per store to compare offers across locations. There is no batch endpoint for multi-store sales in a single call.Are product reviews or ratings available through this API?+
Does the API cover nutritional facts beyond the ingredients string?+
search_products response includes an ingredients field and additional product fields, but structured nutritional data (calories, macros, vitamins) is not a guaranteed field in the current schema — price_current may also return null for some products. You can fork this API on Parse and revise it to surface additional nutritional detail where the source exposes it.