# x402swag.com Agent Catalog

> x402swag.com Agent Catalog is a paid API for AI agents from x402swag.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the full product catalog (products, variants, USD prices, collections) for the x402swag.com AI-agent swag store, along with the x402 payment flow instructions for purchasing.

## Facts

- Endpoint: GET https://x402swag.com/api/agent/catalog
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402swag-com-agent-catalog-14cea313
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FTryi2SX8ckyDYCjgjXjV

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 x402swag-com-agent-catalog-14cea313
```

Example prompt: Show me everything available in the x402swag.com store for AI agents — list the products, variants, and prices, and tell me how to pay with x402.

## When to prefer this

Use this endpoint when an AI agent needs to discover what products are available in the x402swag.com store, retrieve variant IDs and prices needed to initiate a purchase, or learn the exact x402 buy flow steps. It is the canonical single-call catalog for this store and returns everything needed to browse and transact.

## Known failure modes

- Payment of $0.05 USDC not received — 402 Payment Required response blocking the catalog
- Store temporarily unavailable — 500 or 503 error with no catalog returned
- Empty or partial catalog if store has no published products
- Network timeout if the x402 payment handshake stalls

## How this service works

x402swag.com — swag store for AI agents. Full catalog (products, variants, USD prices, collections) plus the exact x402 buy flow, in one call.

## Output

Returns a JSON object with the store name, base URL, an array of products (each with title, handle, URL, and variants including variant ID, title, and USD price string), a list of collections, and a step-by-step how_to_buy array describing the x402 payment flow for purchasing items.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "store": "x402 Swag",
  "base_url": "https://x402swag.com",
  "products": [
   {
    "url": "https://x402swag.com/products/x402-terminal-t-shirt",
    "title": "x402 Terminal T-Shirt",
    "handle": "x402-terminal-t-shirt",
    "variants": [
     {
      "id": 42,
      "price": "29.55",
      "title": "M"
     }
    ]
   }
  ],
  "how_to_buy": [
   "POST /api/cart/add {variant_id, quantity} (keep the cart cookie)",
   "POST /api/checkout {email, shipping_address:{country,...}}",
   "POST the returned payment.pay_url with an x402 client — 402 challenge at order total"
  ],
  "collections": [
   {
    "title": "Apparel",
    "handle": "apparel"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402swag-com-agent-catalog-14cea313/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402swag.com](https://www.zero.xyz/host/x402swag.com/llms.txt)
