# Whole Foods Search

Search Whole Foods via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by LiteScrape, pass parameters such as query, store_id, and retrieve structured data including source product identifier, product title, brand name, product image URL, and source product URL for grocery catalogue discovery, and record matching, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/whole-foods/whole-foods-search/a8093740-b5b1-4b67-bc52-ee20762fb164/
API ID: a8093740-b5b1-4b67-bc52-ee20762fb164
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/search
Page update time: 2026-12-03T02:48:56.104Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:55.308Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Whole Foods Search API

The JSON body accepts query, optional page and optional store\_id. products groups source identity, title, brand, image and URL; store metadata and pagination retain the context of the requested catalogue page.

## What You Can Build

- **Grocery catalogue discovery**: Find product identities and source links from keyword queries.
- **Record matching**: Connect brand and product IDs to grocery catalogue entries.

## Returned Data

| Field | Meaning |
| --- | --- |
| `products[].product_id` | Source product identifier. |
| `products[].title` | Product title. |
| `products[].brand` | Brand name. |
| `products[].image` | Product image URL. |
| `products[].url` | Source product URL. |
| `pagination.current` | Returned page. |
| `pagination.next_page` | Next page number when present. |
| `search_metadata.store_id` | Store context associated with the response. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Whole Foods Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "query": "coffee",
          "store_id": "10233"
        }
      ],
      "properties": {
        "page": {
          "default": 1,
          "description": "One-based result page.",
          "maximum": 100,
          "minimum": 1,
          "title": "Page",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "One-based result page."
          }
        },
        "query": {
          "description": "Product keywords to search for.",
          "maxLength": 500,
          "minLength": 1,
          "title": "Query",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Product keywords to search for."
          },
          "x-retail-text": true
        },
        "store_id": {
          "anyOf": [
            {
              "maxLength": 8,
              "minLength": 1,
              "pattern": "^[0-9]{1,8}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it.",
          "title": "Store Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Store ID",
            "summary": "Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it."
          },
          "x-retail-store": true
        }
      },
      "required": [
        "query"
      ],
      "title": "Request",
      "type": "object",
      "description": "Search Whole Foods products with prices and availability."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "pagination": {
      "type": "object",
      "properties": {
        "current": {
          "type": "integer"
        },
        "next_page": {
          "type": "integer"
        },
        "total_results": {
          "type": "integer"
        }
      }
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "product_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "search_metadata": {
      "type": "object",
      "properties": {
        "postal_code": {
          "type": "string"
        },
        "retailer": {
          "type": "string"
        },
        "store_id": {
          "type": "string"
        },
        "store_name": {
          "type": "string"
        },
        "total_time_taken": {
          "type": "number"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "query": {
          "type": "string"
        },
        "store_id": {
          "type": "string"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "query": "coffee",
  "store_id": "10233"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "pagination": {
    "current": 1,
    "next_page": 2,
    "total_results": 325
  },
  "products": [
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41lwMBWCzoL.jpg",
      "product_id": "b07d7853dm",
      "title": "Cycledrome Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-cycledrome-coffee-12-oz-b07d7853dm"
    },
    {
      "brand": "George Howell Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/31ABCUFLZfL.jpg",
      "product_id": "b085z46snm",
      "title": "Montecarlos Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/george-howell-coffee-montecarlos-coffee-12-oz-b085z46snm"
    },
    {
      "brand": "JIMS ORGANIC COFFEE",
      "product_id": "b004amvdh8",
      "title": "Organic Wonder Brew Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-wonder-brew-coffee-12-oz-b004amvdh8"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41mMXnFGDyL.jpg",
      "product_id": "b07d775m4r",
      "title": "Steamroller Blend Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-steamroller-blend-coffee-12-oz-b07d775m4r"
    },
    {
      "brand": "FAZENDA COFFEE ROASTERS",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41-GfGmurKL.jpg",
      "product_id": "b07d7fs86h",
      "title": "Fazenda Blend Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/fazenda-coffee-roasters-fazenda-blend-coffee-12-oz-b07d7fs86h"
    },
    {
      "brand": "Jims Organic Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41hJgpO15SL.jpg",
      "product_id": "b0046hcjr0",
      "title": "Organic Colombian Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-colombian-coffee-12-oz-b0046hcjr0"
    },
    {
      "brand": "Jims Organic Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41zPJLuNS0L.jpg",
      "product_id": "b00a282zee",
      "title": "Organic Ground Hazelnut Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-ground-hazelnut-coffee-12-oz-b00a282zee"
    },
    {
      "brand": "STUMPTOWN COFFEE ROASTERS",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41kcmiz--DL.jpg",
      "product_id": "b00nbkylba",
      "title": "Cold Brew Coffee, 10.5 FZ",
      "url": "https://www.wholefoodsmarket.com/product/stumptown-coffee-roasters-cold-brew-coffee-105-fz-b00nbkylba"
    },
    {
      "brand": "Equator Coffees",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/31kbxVwHFDL.jpg",
      "product_id": "b0dvm1q7j8",
      "title": "Organic Smooth Black Coffee, 42 FZ",
      "url": "https://www.wholefoodsmarket.com/product/equator-coffees-organic-smooth-black-coffee-42-fz-b0dvm1q7j8"
    },
    {
      "brand": "Throne Sport Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/31ComLc2qpL.jpg",
      "product_id": "b0djtfvf7l",
      "title": "Black Sport Coffee, 11 FZ",
      "url": "https://www.wholefoodsmarket.com/product/throne-sport-coffee-black-sport-coffee-11-fz-b0djtfvf7l"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/412GQ3kdfSL.jpg",
      "product_id": "b07d6vf5vg",
      "title": "Dark Roast Of The Decade Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-dark-roast-of-the-decade-coffee-12-oz-b07d6vf5vg"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41uA7XUgiML.jpg",
      "product_id": "b07d77vcg2",
      "title": "Cycledrome Blend Decaf Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-cycledrome-blend-decaf-coffee-12-oz-b07d77vcg2"
    },
    {
      "brand": "JIMS ORGANIC COFFEE",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41lCpn9jQIL.jpg",
      "product_id": "b004bdq99i",
      "title": "Organic Witches Brew Coffee, 11 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-witches-brew-coffee-11-oz-b004bdq99i"
    },
    {
      "brand": "Fazenda Coffee Roasters",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41lV8xCvpvL.jpg",
      "product_id": "b00jdsnnc2",
      "title": "Costa Rica Tarrazu Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/fazenda-coffee-roasters-costa-rica-tarrazu-coffee-12-oz-b00jdsnnc2"
    },
    {
      "brand": "George Howell Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/31-YmRaQ-yL.jpg",
      "product_id": "b07fz7xstb",
      "title": "Guatemala Whole Bean Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/george-howell-coffee-guatemala-whole-bean-coffee-12-oz-b07fz7xstb"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41NPFNKccJL.jpg",
      "product_id": "b07d7h6l1n",
      "title": "Natural Misty Valley Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-natural-misty-valley-coffee-12-oz-b07d7h6l1n"
    },
    {
      "brand": "JIMS ORGANIC COFFEE",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41lRXFyKHoL.jpg",
      "product_id": "b07c2wy1x4",
      "title": "Organic Double Chocolate Ground Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-double-chocolate-ground-coffee-12-oz-b07c2wy1x4"
    },
    {
      "brand": "FAZENDA COFFEE ROASTERS",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41o30U1K7SL.jpg",
      "product_id": "b00jdsug40",
      "title": "Ethiopia Light Roast Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/fazenda-coffee-roasters-ethiopia-light-roast-coffee-12-oz-b00jdsug40"
    },
    {
      "brand": "Fazenda Coffee Roasters",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41rtn60u9lL.jpg",
      "product_id": "b00jdsp2h6",
      "title": "Guatemala Finca Valparaiso Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/fazenda-coffee-roasters-guatemala-finca-valparaiso-coffee-12-oz-b00jdsp2h6"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41CgOwijLqL.jpg",
      "product_id": "b07dkkcp14",
      "title": "Organic Salonika Blend Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-organic-salonika-blend-coffee-12-oz-b07dkkcp14"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41OhgNz0xhL.jpg",
      "product_id": "b07d77l966",
      "title": "Organic Kilimanjaro Blend Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-organic-kilimanjaro-blend-coffee-12-oz-b07d77l966"
    },
    {
      "brand": "JIMS ORGANIC COFFEE",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/410nEpXOZkL.jpg",
      "product_id": "b07d7g65f5",
      "title": "Organic Ground French Vanilla Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/jims-organic-coffee-organic-ground-french-vanilla-coffee-12-oz-b07d7g65f5"
    },
    {
      "brand": "FAZENDA COFFEE ROASTERS",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/41CE-AIbSgL.jpg",
      "product_id": "b00jdsvnii",
      "title": "Dark French Roast Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/fazenda-coffee-roasters-dark-french-roast-coffee-12-oz-b00jdsvnii"
    },
    {
      "brand": "New Harvest Coffee",
      "image": "https://m.media-amazon.com/images/S/assets.wholefoodsmarket.com/PIE/product/411C2Ld3ufL.jpg",
      "product_id": "b07d77mgz6",
      "title": "Organic Cafe Marika Coffee, 12 OZ",
      "url": "https://www.wholefoodsmarket.com/product/new-harvest-coffee-organic-cafe-marika-coffee-12-oz-b07d77mgz6"
    }
  ],
  "search_metadata": {
    "postal_code": "01801-6043",
    "retailer": "Whole Foods",
    "store_id": "10233",
    "store_name": "Woburn",
    "total_time_taken": 0.362
  },
  "search_parameters": {
    "page": 1,
    "query": "coffee",
    "store_id": "10233"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How do query and page work?
query must contain 1–500 characters. page accepts integers 1–100 and defaults to 1; use returned next_page where available.

### Can I select a store?
Use optional store_id as a 1–8 digit string. This selects supported source store context rather than supplying a ZIP code.

### Are prices or stock included in every result?
The documented result fields cover product identity, title, brand, image and URL. Treat price or stock as optional only when actually returned; do not fill missing values with zero or in-stock status.

### How can I open the selected product?
Use its full source URL with the separate Whole Foods Product route. Keep product_id and store context attached when matching the detail record.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/whole-foods/whole-foods-search/a8093740-b5b1-4b67-bc52-ee20762fb164/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
