# XUB Agent Market Intelligence – x402 Procurement

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

Searches and filters the x402 paid-API marketplace to discover available services matching a query, asset, network, and quality criteria.

## Facts

- Endpoint: POST https://xub.me/api/tools/x402-procure/invoke?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xub-agent-market-intelligence-x402-procurement-368562a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hvZeBixAQfTAHFwknxFO3

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-agent-market-intelligence-x402-procurement-368562a1 -d '<json body>'
```

Example prompt: Search the x402 market for web search services on the Base network (eip155:8453) that accept USDC, require HTTPS, have a quality score of at least 55, and show me the top 5 results.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically discover and evaluate x402-compatible paid APIs on specific blockchain networks, filter by asset type, quality threshold, or HTTPS requirement, and retrieve structured procurement intelligence — especially when building autonomous agent pipelines that need to self-select and pay for downstream tools at runtime.

## Known failure modes

- No candidates matched — returns matched:0 and empty candidates array when filters are too restrictive
- Invalid asset address format — may return empty results or validation error
- Query string too short (under 2 chars) or missing alphanumeric characters — rejected by pattern validation
- Network string not recognized — may return zero results
- Limit out of range (below 1 or above 10) — schema validation error
- Payment failure — endpoint costs $0.01 USDC per call via x402; unpaid requests may be rejected with 402 status

## How this service works

Machine-first x402 procurement intelligence and paid utilities.

## Output

Returns a JSON object containing the matched service candidates (array), total indexed resources count, applied filters (asset, network, minQuality, requireHttps), the procurement strategy used, and timestamps for when the data was checked and captured.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "type": "string",
   "maxLength": 200,
   "description": "Exact asset address or advertised asset name, for example USDC."
  },
  "limit": {
   "type": "integer",
   "maximum": 10,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "default": "all x402 services",
   "pattern": ".*[A-Za-z0-9].*",
   "maxLength": 200,
   "minLength": 2
  },
  "network": {
   "type": "string",
   "maxLength": 100
  },
  "minQuality": {
   "type": "integer",
   "maximum": 100,
   "minimum": 0
  },
  "requireHttps": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "x402-procure",
  "result": {
   "query": "web search",
   "dataset": "x402-market",
   "filters": {
    "asset": null,
    "network": "eip155:8453",
    "minQuality": 55,
    "requireHttps": true
   },
   "matched": 0,
   "strategy": "procurement-v1",
   "checkedAt": null,
   "candidates": [],
   "capturedAt": null,
   "indexedResources": 0
  },
  "version": "1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xub-agent-market-intelligence-x402-procurement-368562a1/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)
