# Cheapest Grocery Basket - Basket Endpoint

> Cheapest Grocery Basket - Basket Endpoint is a paid API for AI agents from grocery-basket.bowling-anthony.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Retrieves the current cheapest grocery basket of items and their prices

## Facts

- Endpoint: GET https://grocery-basket.bowling-anthony.workers.dev/basket?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cheapest-grocery-basket-basket-endpoint-fb22cfb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b2upOvdu7mvUQ7EBcTLfO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cheapest-grocery-basket-basket-endpoint-fb22cfb5
```

Example prompt: What's the cheapest grocery basket available right now? Pull up the full basket with the lowest prices.

## When to prefer this

Use this endpoint when you need to retrieve a pre-computed cheapest grocery basket and don't need to search for specific items or customize the basket contents. It complements the 'find' and 'cheapest' sibling endpoints by returning the full basket view rather than individual item lookups.

## Known failure modes

- No basket data available — empty or null response if no grocery data is indexed
- Rate limiting or payment failure if the $0.05 USDC payment is not processed correctly
- Stale pricing data if the underlying grocery price source has not been updated recently
- HTTP 402 if payment header is missing or invalid

## How this service works

Price a whole grocery list at each nearby store in a US ZIP: per-store line items, subtotals, and which items each store is missing or out of.

## Output

Returns a structured grocery basket containing a list of grocery items and their corresponding cheapest available prices, along with likely a total or aggregate basket cost, enabling users to identify the most affordable grocery combinations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cheapest-grocery-basket-basket-endpoint-fb22cfb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grocery-basket.bowling-anthony.workers.dev](https://www.zero.xyz/host/grocery-basket.bowling-anthony.workers.dev/llms.txt)
