# Crush Rewards Retailer Price Index

> Crush Rewards Retailer Price Index is a paid API for AI agents from api.crushrewards.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Computes a normalized daily price index (retailer average price / category average price) for a specific retailer over a date range, showing how a retailer prices relative to its category baseline.

## Facts

- Endpoint: GET https://api.crushrewards.dev/v1/analyst/retailer-index
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-crushrewards-dev-a14f6c8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pt71KVdOP-L8EcoKr2ny7

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 api-crushrewards-dev-a14f6c8b
```

Example prompt: Can you show me the day-by-day price index for Amazon in the electronics category in the US from January 1 to January 31, 2025 — I want to see how their pricing compares to the category average?

## When to prefer this

Use this endpoint when you need to understand how a specific retailer's pricing positions relative to its category peers on a day-by-day basis — ideal for competitive pricing analysis, retailer benchmarking, or detecting when a retailer shifts pricing strategy. Prefer this over raw price history endpoints when you need a normalized, comparable index rather than absolute prices. Best for analysts monitoring whether a retailer is a price leader or price follower within a category.

## Known failure modes

- Missing required 'retailer' parameter returns a 400 validation error
- Invalid retailer value (not in enum) returns a 400 error — only amazon, walmart, costco, homedepot, nordstrom, ikea are supported
- Date range with no data returns an empty time_series array
- price_index may be null for dates where category_avg_price is unavailable or zero
- category_avg_price may be null if insufficient cross-retailer data exists for that day
- Payment failure or insufficient USDC balance returns a 402 response blocking the call
- Unsupported country code (not 'us' or 'ca') returns a 400 validation error

## How this service works

Real-time pricing, promotions, and competitive intelligence across US and Canadian retailers — exposed as paid API endpoints and MCP tools that AI agents can call directly, with x402 and MPP micropayments per query.

## Output

Returns a time-series array with one entry per day in the requested range, each containing: the date, the retailer's average price, the category-wide average price, a normalized price_index (retailer_avg / category_avg, where >1 means the retailer prices above category average), and a product count. Also includes top-level fields for retailer name, category, country, and currency code.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "to": "2025-01-31",
   "from": "2025-01-01",
   "country": "us",
   "category": "electronics",
   "retailer": "amazon"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-crushrewards-dev-a14f6c8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.crushrewards.dev](https://www.zero.xyz/host/api.crushrewards.dev/llms.txt)
