# Crush Rewards Share-of-Shelf API

> Crush Rewards Share-of-Shelf API is a paid API for AI agents from api.crushrewards.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns share-of-shelf marketing insights — brand and product visibility metrics — for a given product category and country.

## Facts

- Endpoint: GET https://api.crushrewards.dev/v1/marketing/share-of-shelf
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-crushrewards-dev-e80935d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cztjnS4wG4j0YqwauDAbZ

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

Example prompt: What's the share-of-shelf breakdown for brands in the beauty category in the US? I want to see which brands dominate shelf presence.

## When to prefer this

Use this endpoint when you need to understand how brands are distributed across shelf space within a product category — for competitive analysis, brand benchmarking, or retail marketing intelligence. Prefer over price or promo endpoints when the goal is visibility and presence rather than pricing. If you already have a canonical category_id from a prior call, pass it directly to bypass fuzzy matching and improve stability.

## Known failure modes

- Missing required 'category' parameter returns a 400 validation error
- Unrecognized category string that fails all fuzzy resolver tiers (id, exact, trigram, embedding) returns an error or empty results
- Invalid country value (not 'us' or 'ca') returns a 400 validation error
- category_id that does not exist in the database returns a not-found error
- Payment not included or insufficient USDC returns a 402 Payment Required 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 share-of-shelf marketing insights for brands and products within the specified category, including brand visibility and product presence metrics across retailers. The response includes a resolved canonical category identifier for use in subsequent calls.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "country": "us",
   "category": "beauty"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-crushrewards-dev-e80935d4/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)
