Whole Foods Search
Search Whole foods via API. The sample response includes titles. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Whole Foods Search · POST | $0.00015 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
paginationobjectcurrentintegernext_pageintegertotal_resultsinteger
productsobject[]brandstringimagestringproduct_idstringtitlestringurlstring
search_metadataobjectpostal_codestringretailerstringstore_idstringstore_namestringtotal_time_takennumber
search_parametersobjectpageintegerquerystringstore_idstring
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
pagination?: {
current?: number;
next_page?: number;
total_results?: number;
};
products?: Array<{
brand?: string;
image?: string;
product_id?: string;
title?: string;
url?: string;
}>;
search_metadata?: {
postal_code?: string;
retailer?: string;
store_id?: string;
store_name?: string;
total_time_taken?: number;
};
search_parameters?: {
page?: number;
query?: string;
store_id?: string;
};
submit_feedback_for_this_response_here?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | 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 |
page | JSON request bodybody | integer | No | One-based result page. minimum: 1 · maximum: 100 |
query | JSON request bodybody | string | Yes | Product keywords to search for. minLength: 1 · maxLength: 500 |
store_id | JSON request bodybody | string | null | No | Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Whole Foods Search
Search Whole foods via API. The sample response includes titles. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
litescrape · Whole Foods Search: https://openany.si/markets/apis/capabilities/whole-foods-search?offering=a8093740-b5b1-4b67-bc52-ee20762fb164 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/whole-foods-search
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/search
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Whole Foods Search",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/wholefoods/search",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"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.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Search Whole Foods products with prices and availability.",
"json_schema": {
"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"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"query": "coffee",
"store_id": "10233"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- 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.
body- Search Whole Foods products with prices and availability.
Terminal · cURLcurl \ '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" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "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" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Whole Foods Search with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.