# LupaPlaza Discover

> LupaPlaza Discover is a paid API for AI agents from lupaplaza.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Ranked catalog search of public Plaza listings filtered by payment rail, chain, and max price — returns live x402-payable API endpoints.

## Facts

- Endpoint: GET https://lupaplaza.com/api/discover?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lupaplaza-discover-c0e7ad9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YupJ-HlZYQ6oWtzsWt10u

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 lupaplaza-discover-c0e7ad9d
```

Example prompt: Search LupaPlaza for all live x402-payable endpoints on the Base chain priced at or under $0.02, and show me their titles and pay URLs.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which x402-payable APIs are currently live and affordable on the Base chain. It is the right choice when building agent workflows that need to self-select tools at runtime based on price constraints, or when exploring the LupaPlaza Plaza catalog programmatically. Prefer this over static API directories when you need real-time listings with payment metadata.

## Known failure modes

- Invalid or unsupported rail value (only 'x402' accepted) returns an error
- Invalid or unsupported chain value (only 'base' / eip155:8453 accepted) returns an error
- max_price value that cannot be parsed as a number returns a validation error
- No listings match the filter criteria — returns empty results array with count 0
- Payment not provided or rejected — 402 response requiring USDC payment before results are returned
- Network or service downtime returns a 5xx error

## How this service works

Índice de liquidación LatAm: qué endpoint puede pagar un agente ahora (mainnet, 402 live) y llevarse los datos. No es LupaRiel (rieles) ni LupaPago (fees).

## Output

A JSON object containing a ranked list of Plaza listings, each with title, pay_url, price in USD, rail, chain, and plaza_id. Also includes metadata: total count, applied filters (rail, chain, max_price), product name, ruleset version, and a disclaimer. Capped at 20 results per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "rail": {
       "type": "string",
       "description": "Rail de pago (default x402). Solo x402."
      },
      "chain": {
       "type": "string",
       "description": "Cadena (default base → eip155:8453). Solo base."
      },
      "max_price": {
       "type": "string",
       "description": "Precio máximo USD (default 0.05). Filtra listings con price ≤ max_price."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cap": 20,
  "kind": "discover",
  "count": 1,
  "input": {
   "rail": "x402",
   "chain": "base",
   "max_price": 0.05
  },
  "product": "LupaPlaza",
  "results": [
   {
    "rail": "x402",
    "chain": "base",
    "price": 0.005,
    "title": "latamref AR cpi",
    "pay_url": "https://latamref.dev/v1/ar/cpi",
    "plaza_id": "latamref-ar-cpi"
   }
  ],
  "ruleset": "plaza-discover-v1",
  "disclaimer": "Catálogo LupaPlaza; no es asesoramiento."
 }
}
```

## More

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