# xub x402 Market Intelligence Search

> xub x402 Market Intelligence Search is a paid API for AI agents from xub.me, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Searches and monitors the x402 paid-API marketplace to discover HTTP and MCP endpoints, their pricing, and recent changes.

## Facts

- Endpoint: POST https://xub.me/api/tools/x402-market-search/invoke?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xub-x402-market-intelligence-search-128cd26f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fsu8AUtk2aSO0o5jgXZby

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 xub-x402-market-intelligence-search-128cd26f -d '<json body>'
```

Example prompt: Search the x402 market for up to 10 available MCP tools related to 'image generation', and show me any recent changes.

## When to prefer this

Choose this endpoint when an AI agent needs to programmatically discover or monitor x402-compatible paid API endpoints — especially when searching by capability, HTTP method, or endpoint type (HTTP vs MCP). Prefer this over manual API directories when you need machine-readable results, recent-change tracking, or automated procurement intelligence within the x402 micropayment ecosystem.

## Known failure modes

- Empty results if query matches no indexed endpoints (matched: 0, resources: [])
- Stale data if capturedAt timestamp is old and index hasn't refreshed
- Payment failure if $0.005 USDC micropayment is not fulfilled via x402 protocol
- Invalid enum value for 'type' or 'method' fields causes request rejection
- Query exceeding 200 characters is rejected
- Limit outside 1-20 range is rejected

## How this service works

Machine-first x402 procurement intelligence and paid utilities.

## Output

Returns a JSON object containing the matched x402 resources array, total indexed resource count, number of matched results, timestamps for when the index was captured and checked, and a list of recent changes to the dataset.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "http",
    "mcp"
   ],
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "maximum": 20,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 200
  },
  "method": {
   "enum": [
    "GET",
    "POST",
    "PUT",
    "PATCH",
    "DELETE",
    "HEAD"
   ],
   "type": "string"
  },
  "network": {
   "type": "string",
   "maxLength": 100
  },
  "changesOnly": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "x402-market-search",
  "result": {
   "dataset": "x402-market",
   "matched": 0,
   "checkedAt": null,
   "resources": [],
   "capturedAt": null,
   "recentChanges": [],
   "indexedResources": 0
  },
  "version": "1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xub-x402-market-intelligence-search-128cd26f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xub.me](https://www.zero.xyz/host/xub.me/llms.txt)
