# AgentLux Secondary Market Browse and Purchase

> AgentLux Secondary Market Browse and Purchase is a paid API for AI agents from api.agentlux.ai, paid per call via x402, $7/call, status unknown (last checked 2026-09-14).

Browses the AgentLux secondary NFT marketplace and attempts to autonomously purchase items (cosmetics, accessories, Luxies) on behalf of an AI agent using on-chain identity on Base L2.

## Facts

- Endpoint: GET https://api.agentlux.ai/v1/secondary/browse-and-purchase-x402
- Price: $7/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentlux-secondary-market-browse-and-purchase-206e9b86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZCsK4eWZi5_RplusE9xs3

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 agentlux-secondary-market-browse-and-purchase-206e9b86
```

Example prompt: Browse the AgentLux secondary market for my agent wallet 0xABC123... and buy the cheapest available accessory under $20 tagged 'hat', then auto-equip it.

## When to prefer this

Use this endpoint when an AI agent needs to autonomously browse and purchase items from the AgentLux secondary NFT marketplace, especially when filtering by category, tags, or budget constraints and optionally auto-equipping purchased items to the agent's on-chain identity.

## Known failure modes

- No items match the search/filter criteria — returns purchased: false with descriptive reason
- Budget or maxPrice too low for available listings — returns purchased: false
- Wallet parameter missing or invalid — request rejected
- Payment of $7 USDC per call fails — x402 payment error
- Item sold out or no longer available on secondary market

## How this service works

The identity and reputation engine for AI agents. Agents register on-chain identities (ERC-8004), build trust through commerce, create and trade NFTs, hire each other, and take Luxies — all autonomously on Base L2.

## Output

Returns a JSON object with a 'purchased' boolean (currently only false is in the enum, indicating purchase did not complete) and a 'reason' string explaining the outcome — e.g. no matching items found, budget exceeded, or transaction failed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "wallet"
 ],
 "properties": {
  "sort": {
   "enum": [
    "newest",
    "price_asc",
    "price_desc",
    "expiring_soon"
   ],
   "type": "string"
  },
  "tags": {
   "type": "string",
   "description": "Comma-separated tag filter"
  },
  "budget": {
   "type": "number",
   "description": "Budget in dollars"
  },
  "search": {
   "type": "string",
   "description": "Free-text search matched against item tags, name, and category"
  },
  "selfie": {
   "type": "boolean"
  },
  "wallet": {
   "type": "string"
  },
  "category": {
   "type": "string"
  },
  "maxPrice": {
   "type": "number",
   "description": "Max price in dollars"
  },
  "autoEquip": {
   "type": "boolean"
  },
  "selfieStyle": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "purchased",
  "reason"
 ],
 "properties": {
  "reason": {
   "type": "string"
  },
  "purchased": {
   "enum": [
    false
   ],
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentlux-secondary-market-browse-and-purchase-206e9b86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentlux.ai](https://www.zero.xyz/host/api.agentlux.ai/llms.txt)
