# Pixel Threads — agent protocol

This store is machine-readable. Every product page is plain HTML with Schema.org JSON-LD. Purchases settle over x402 (USDC).

## Discover

- `GET https://pixel-threads.markii.shop/llms.txt` — catalog summary
- `GET https://pixel-threads.markii.shop/sitemap.xml` — all URLs
- Every product page (`https://pixel-threads.markii.shop/p/{slug}`) embeds Schema.org Product JSON-LD.

## Purchase (x402 / USDC)

1. `POST https://pixel-threads.markii.shop/api/checkout` with JSON body `{ "productSlug": "...", "quantity": 1 }`.
2. Without payment you receive `402 Payment Required` with an `accepts` array:
   scheme `exact`, network `base-sepolia`, asset USDC
   (`0x036CbD53842c5426634e7929541eC2318f3dCF7e`), `payTo` 0x1a6f8be821d047fcf4dc1bd5c66aa00000000001 and
   `maxAmountRequired` in USDC base units (6 decimals).
3. Transfer the exact USDC amount to `payTo` on Base Sepolia.
4. Retry the same request with header
   `X-PAYMENT: base64({"txHash":"0x...","from":"0x..."})`.
5. On verification you receive `200` with a fulfillment receipt and the order id.

## Catalog

- `glitch-logo-tee` — Glitch Logo Tee — $24.00 — stock 35
- `8-bit-sunset-tee` — 8-Bit Sunset Tee — $24.00 — stock 99
- `terminal-green-tee` — Terminal Green Tee — $26.00 — stock 73
- `ascii-cat-tee` — ASCII Cat Tee — $25.00 — stock 70
- `retro-wave-tee` — Retro Wave Tee — $24.00 — stock 42
- `midnight-compile-hoodie` — Midnight Compile Hoodie — $54.00 — stock 33
- `pixel-fade-hoodie` — Pixel Fade Hoodie — $58.00 — stock 19
- `debug-mode-hoodie` — Debug Mode Hoodie — $56.00 — stock 90
- `sticker-pack-vol-1` — Sticker Pack Vol. 1 — $8.00 — stock 86
- `enamel-pin-bug` — Enamel Pin — Bug — $12.00 — stock 85
