# x402 Swag Custom Design API

> x402 Swag Custom Design API is a paid API for AI agents from x402swag.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-23).

Retrieves custom merchandise design assets including preview URLs, mockup images, and design metadata for the x402 Swag print-on-demand store

## Facts

- Endpoint: GET https://x402swag.com/api/custom/designs?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-swag-custom-design-api-e21dfece
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g902Ecklzev_es-B9kxY3

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 x402-swag-custom-design-api-e21dfece
```

Example prompt: Can you pull up a custom design preview from x402 Swag — I want to see what the mockup looks like for a design before I pay for it in USDC?

## When to prefer this

Choose this endpoint when an AI agent or human builder needs to programmatically retrieve custom merchandise design previews and mockup assets from x402 Swag before committing to a purchase. Ideal for agents operating in the x402 protocol ecosystem that handle USDC payments on Base and need to inspect design quality, resolution, and readiness prior to fulfillment. Prefer this over generic print-on-demand APIs when the use case specifically involves x402-native payment flows or x402 protocol branded merchandise.

## Known failure modes

- Invalid or missing schema/example input returns an error or empty response
- Design assets may expire after the expires_at timestamp, requiring a new request
- Empty mockup_urls array if mockups have not yet been generated
- Service unavailable if x402 payment gateway is not reachable
- Rate limiting or payment failure if USDC balance is insufficient for the $0.50 per-call fee

## How this service works

Shirts, mugs, and stickers for the x402 protocol era. Pay in USDC on Base via x402 — no accounts, no cards — or standard checkout. Ships worldwide.

## Output

Returns a JSON object containing a unique design_id, a preview_url pointing to a PNG of the design, an array of mockup_urls showing the design on products, the print resolution in DPI (e.g. 300), a status field (e.g. 'ready'), and an expires_at timestamp indicating how long the design assets are valid.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dpi": 300,
  "status": "ready",
  "design_id": "a1b2c3d4e5",
  "expires_at": "2026-09-08T21:00:00.000Z",
  "mockup_urls": [],
  "preview_url": "https://x402swag.com/custom-files/a1b2c3d4e5/preview.png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-swag-custom-design-api-e21dfece/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)
