# Whole Foods Product

Get Whole Foods Product data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by LiteScrape, pass parameters such as store_id, url, and retrieve structured data including source product identifier, product title, brand name, source product description, and primary product image URL for product enrichment, and catalogue reconciliation.

Documentation: https://openany.si/whole-foods/whole-foods-product/c855a7cd-0db7-4f70-b278-ca7c9be3ace1/
API ID: c855a7cd-0db7-4f70-b278-ca7c9be3ace1
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/product
Page update time: 2026-12-03T02:48:56.115Z
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.350Z. 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 Product API

Supply a public Whole Foods product URL and optional store\_id in a JSON body. product includes source identity, description and image links; retain returned store metadata and allow the source to return a canonical product URL.

## What You Can Build

- **Product enrichment**: Attach source brand, descriptions and images to known records.
- **Catalogue reconciliation**: Keep source identifiers and canonical product URLs together.

## Returned Data

| Field | Meaning |
| --- | --- |
| `product.product_id` | Source product identifier. |
| `product.title` | Product title. |
| `product.brand` | Brand name. |
| `product.description` | Source product description. |
| `product.image` | Primary product image URL. |
| `product.images[]` | Additional source image URLs. |
| `product.url` | Returned source product URL. |
| `search_metadata.store_id` | Store identity associated with the response. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Whole Foods Product 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": [
        {
          "store_id": "10233",
          "url": "https://www.wholefoodsmarket.com/product/groundwork-coffee-co-organic-cold-brew-coffee-concentrate-32-fz-b079ltr61q"
        }
      ],
      "properties": {
        "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
        },
        "url": {
          "description": "Public HTTPS product URL on this retailer's site.",
          "maxLength": 4096,
          "minLength": 1,
          "title": "Url",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Public HTTPS product URL on this retailer's site."
          },
          "x-retail-product": {
            "hosts": [
              "www.wholefoodsmarket.com"
            ],
            "pathPattern": "/(?:grocery/)?product/[^/]+-([bB][a-zA-Z0-9]{9})/?"
          }
        }
      },
      "required": [
        "url"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get a Whole Foods product's details, price and availability."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "product": {
      "type": "object",
      "properties": {
        "brand": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "images": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "product_id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "search_metadata": {
      "type": "object",
      "properties": {
        "postal_code": {
          "type": "string"
        },
        "provider_url": {
          "type": "string"
        },
        "retailer": {
          "type": "string"
        },
        "store_id": {
          "type": "string"
        },
        "store_name": {
          "type": "string"
        },
        "total_time_taken": {
          "type": "number"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "store_id": {
          "type": "string"
        },
        "url": {
          "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/product' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "store_id": "10233",
  "url": "https://www.wholefoodsmarket.com/product/groundwork-coffee-co-organic-cold-brew-coffee-concentrate-32-fz-b079ltr61q"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "product": {
    "brand": "GROUNDWORK",
    "description": "Grocery Dairy",
    "image": "https://m.media-amazon.com/images/I/61xsKxvgTjL.jpg",
    "images": [
      "https://m.media-amazon.com/images/I/61xsKxvgTjL.jpg",
      "https://m.media-amazon.com/images/I/71MUMn8LVdL.jpg",
      "https://m.media-amazon.com/images/I/81p9QlbERQL.jpg",
      "https://m.media-amazon.com/images/I/71nCsWudt2L.jpg",
      "https://m.media-amazon.com/images/I/71X4EDRzdZL.jpg",
      "https://m.media-amazon.com/images/I/71Zm+ra9seL.jpg",
      "https://m.media-amazon.com/images/I/61-hL6-4yEL.jpg",
      "https://m.media-amazon.com/images/I/71EULtmBZdL.jpg"
    ],
    "product_id": "b079ltr61q",
    "title": "Groundwork Coffee Co, Organic Cold Brew Concentrate, 32 Fl Oz",
    "url": "https://www.wholefoodsmarket.com/grocery/product/groundwork-groundwork-coffee-co-organic-cold-brew-concentrate-32-fl-oz-b079ltr61q"
  },
  "search_metadata": {
    "postal_code": "01801-6043",
    "provider_url": "https://www.wholefoodsmarket.com/grocery/product/groundwork-coffee-co-organic-cold-brew-coffee-concentrate-32-fz-b079ltr61q?store=10233",
    "retailer": "Whole Foods",
    "store_id": "10233",
    "store_name": "Woburn",
    "total_time_taken": 0.615
  },
  "search_parameters": {
    "store_id": "10233",
    "url": "https://www.wholefoodsmarket.com/product/groundwork-coffee-co-organic-cold-brew-coffee-concentrate-32-fz-b079ltr61q"
  },
  "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
### Which product URL format is supported?
Use HTTPS on www.wholefoodsmarket.com with /product/name-<id> or /grocery/product/name-<id>. The identifier starts with b or B followed by nine alphanumeric characters.

### How do I choose a store?
Set optional store_id to a 1–8 digit string. Preserve the returned store name and ID instead of treating the ID as a postal code.

### Does this supply a guaranteed price or stock value?
The documented product field set contains identity, description and images. Use price or stock only when actually returned, and keep absent values distinct from zero or unavailable.

### Why can the returned product URL change?
The source can return a canonical URL under a different supported product path. Match product_id alongside the URL before merging catalogue records.

### 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-product/c855a7cd-0db7-4f70-b278-ca7c9be3ace1/

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