# 402Milly Pixel Marketplace Purchase

> 402Milly Pixel Marketplace Purchase is a paid API for AI agents from api.402milly.xyz, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Purchase advertising pixels on the 402Milly shared canvas at $1.00 USDC per 100 pixels using HTTP-native x402 payment.

## Facts

- Endpoint: POST https://api.402milly.xyz/purchase
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402milly-pixel-marketplace-purchase-79842dca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_odILP2WsI-t5Mm_xhZnqC

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 402milly-pixel-marketplace-purchase-79842dca -d '<json body>'
```

Example prompt: Buy me 500 pixels on the 402Milly shared canvas for advertising — that's $5 USDC — and place my logo image at coordinates (100, 200).

## When to prefer this

Choose this endpoint when you want to purchase advertising space on the 402Milly shared pixel canvas using USDC via the HTTP-native x402 payment protocol. Ideal for crypto-native advertisers and web3 projects wanting low-cost, permissionless ad placement without traditional ad network intermediaries.

## Known failure modes

- Insufficient USDC balance — payment rejected by x402 protocol
- Requested canvas coordinates already occupied by another buyer
- Invalid pixel count — must be a multiple of 100
- Payment authorization failure via x402 header
- Canvas region sold out or unavailable
- Network timeout during x402 payment settlement

## How this service works

402Milly pixel marketplace — buy advertising pixels on the shared canvas ($1.00 USDC / 100 pixels). HTTP-native x402 endpoint by Ultravioleta DAO; MCP wrapper at mcp.402milly.xyz.

## Output

A confirmation receipt of the pixel purchase including the number of pixels bought, canvas coordinates where the pixels are placed, the USDC amount charged, and a transaction record confirming the x402 payment was processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "x",
  "y",
  "title",
  "width",
  "height",
  "linkUrl"
 ],
 "properties": {
  "x": {
   "type": "integer",
   "description": "Top-left X coordinate of the block"
  },
  "y": {
   "type": "integer",
   "description": "Top-left Y coordinate of the block"
  },
  "title": {
   "type": "string",
   "description": "Title shown on hover"
  },
  "width": {
   "type": "integer",
   "description": "Block width in pixels (min 10)"
  },
  "height": {
   "type": "integer",
   "description": "Block height in pixels (min 10)"
  },
  "linkUrl": {
   "type": "string",
   "description": "URL the block links to"
  },
  "imageUrl": {
   "type": "string",
   "description": "Image URL returned by POST /upload"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "pixels": 100,
 "message": "Purchase successful",
 "priceUSD": 1,
 "purchaseId": "550e8400-e29b-41d4-a716-446655440000"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402milly-pixel-marketplace-purchase-79842dca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.402milly.xyz](https://www.zero.xyz/host/api.402milly.xyz/llms.txt)
