# Riley Craig x402 Agent Store — Category Brand Ranking

> Riley Craig x402 Agent Store — Category Brand Ranking is a paid API for AI agents from x402-agent-store.rileycraig14.workers.dev, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-13).

Returns a ranked list of brands by mention share for a given product or service category, optionally filtered by market/country.

## Facts

- Endpoint: GET https://x402-agent-store.rileycraig14.workers.dev/category/ranking
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/riley-craig-x402-agent-store-category-brand-ranking-29fc272c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SpmjXajpBZR6Z0l6mev51

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 riley-craig-x402-agent-store-category-brand-ranking-29fc272c
```

Example prompt: What are the top-ranked CRM software brands by mention share in the US market right now?

## When to prefer this

Use this endpoint when you need fast, pay-per-call brand ranking data for any product or service category without API key setup. Ideal for competitive research, market intelligence, or AI-visibility analysis across 9 international markets. Prefer over traditional market research APIs when low-friction micropayment access and no signup is important.

## Known failure modes

- Missing required 'category' query parameter returns a 400-level error
- Invalid or unsupported market code may return default US results or an error
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required response
- Very niche categories with no data may return an empty ranked array
- Network or worker timeout returns a 5xx error

## How this service works

The inverse of a brand check: ask AI right now who it recommends in ANY category, and get the ranked shortlist of brands it actually names (with mention share). Live from a current model. For competitive-intel, market-research, GEO and sales agents that want the whole AI landscape of a category, not just one brand. Nobody else sells the live category leaderboard.

## Output

A JSON object containing the queried category label and a ranked array of brands, each with their rank position, brand name, number of mentions, and share percentage relative to the top brand.

## 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",
     "required": [
      "category"
     ],
     "properties": {
      "market": {
       "type": "string",
       "description": "us|uk|de|jp|kr|fr|es|br|in (default us)"
      },
      "category": {
       "type": "string",
       "description": "Any product/service category, e.g. 'CRM software', 'project management tools', 'DeFi lending protocols'"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ranked": {
       "type": "array"
      },
      "category": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ranked": [
   {
    "rank": 1,
    "brand": "Salesforce",
    "mentions": 5,
    "share_pct": 100
   },
   {
    "rank": 2,
    "brand": "HubSpot",
    "mentions": 4,
    "share_pct": 80
   }
  ],
  "category": "CRM software"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/riley-craig-x402-agent-store-category-brand-ranking-29fc272c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-store.rileycraig14.workers.dev](https://www.zero.xyz/host/x402-agent-store.rileycraig14.workers.dev/llms.txt)
