# Whole Foods Store API Documentation

<p><strong>Whole Foods Store API</strong> returns the name, status, phone number, address, coordinates, time zone, opening date and Prime eligibility of one Whole Foods Market store.</p><p>Use it to check a store id before you search. An id that is not a Whole Foods store returns 422. Costs 1 credit per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/wholefoods-api/wholefoods_store](https://scrappa.co/docs/wholefoods-api/wholefoods_store)
- **API group:** Whole Foods API
- **Endpoint:** `GET https://scrappa.co/api/wholefoods/store`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `store_id` | string | Yes | Whole Foods store id, 5 digits, for example 10245. |

## Example response

```json
{
    "data": {
        "store": {
            "id": "10245",
            "name": "Tribeca",
            "phone": "2123496555",
            "status": "Open",
            "address": {
                "city": "New York",
                "state": "NY",
                "street": "270 Greenwich St",
                "country": "United States of America",
                "postal_code": "10007-1150"
            },
            "latitude": 40.715467,
            "timezone": "America/New_York",
            "longitude": -74.0119,
            "opened_at": "2018-07-24",
            "prime_eligible": true
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "store"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 422 | Unknown Store | The store id has the right format but is not a Whole Foods store. This response is not billable. |
| 503 | Upstream Unavailable | Whole Foods could not be reached. This response is not billable. Retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
