# Crush Rewards Category Summary

> Crush Rewards Category Summary 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).

Returns high-level statistics for a product category including product/brand/retailer counts, pricing (avg/min/max/median), average rating, promotional rate, in-stock rate, and top brands.

## Facts

- Endpoint: GET https://api.crushrewards.dev/v1/analyst/category-summary
- 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-7cfa370d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SHWwhyhq_J9fhu-cdnqQD

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-7cfa370d
```

Example prompt: Can you give me a category summary for electronics in the US on Amazon — I want to see how many products and brands there are, average and median pricing, the in-stock rate, and which brands show up the most?

## When to prefer this

Use this endpoint when you need a bird's-eye overview of a product category — aggregate counts, pricing benchmarks, and top brands — rather than individual product-level data. Ideal for market research, competitive benchmarking, and category health checks. Prefer this over the price-spread or inflation endpoints when you want a single holistic snapshot rather than trend or distribution analysis.

## Known failure modes

- Missing required 'category' query parameter returns a 400 validation error
- Invalid retailer enum value (not in amazon/walmart/costco/homedepot/nordstrom/ikea) returns 400
- Invalid country code (not 'us' or 'ca') returns 400
- Category with no matching data returns null pricing and rating fields with zero counts
- Payment not provided or x402 payment fails results in 402 response
- Empty string for category returns a minLength 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 JSON object with the category name, country, currency, total product count, brand count, retailer count, pricing stats (avg/min/max/median), average rating, promotional rate percentage, in-stock rate percentage, and an array of top brands each with their product count.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "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-7cfa370d/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)
