# agentbit.app x402 Resource Discovery

> agentbit.app x402 Resource Discovery is a paid API for AI agents from agentbit.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Search and discover paid x402 API tools across Coinbase Bazaar, Agent402, and Agentic Market in a single call, with pricing, usage metrics, and seller info.

## Facts

- Endpoint: POST https://agentbit.app/v1/x402/discover
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-app-x402-resource-discovery-b3213a9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q_ZKZ4ovhIEm14N_3RIQO

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 agentbit-app-x402-resource-discovery-b3213a9d -d '<json body>'
```

Example prompt: Search the x402 marketplace for paid tools that can do email validation — show me up to 10 results sorted by number of calls, and filter to tools priced under $0.005 USDC.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover the right paid tool for a subtask before calling it — especially when the agent doesn't know which specific x402 API to use, wants to compare pricing or usage across Bazaar, Agent402, and Agentic Market simultaneously, or needs to find the most popular or cost-effective option for a given capability. Prefer this over hardcoded tool selection when the tool landscape may evolve or when price/volume optimization matters.

## Known failure modes

- Empty results if query is too specific or niche with no indexed matches
- Invalid CAIP-2 network string returns validation error
- max_price of 0 or negative may return no results
- source enum value misspelled returns error or empty
- limit above 100 may be capped or rejected
- Stale data if a marketplace source has not refreshed recently

## How this service works

Search every indexed x402 resource across Coinbase Bazaar, Agent402 and Agentic Market in one call (7k+ tools): name, description, price, seller, network and real usage metrics (calls, unique buyers, settled volume), with per-source freshness data. The meta-tool for agents: find the right paid tool for any task first, then call it.

## Output

Returns a ranked list of matching x402 resources, each with: tool name, description, URL, price in USDC, seller identity, blockchain network, usage metrics (total calls, unique buyers, settled volume), source marketplace (Bazaar/Agent402/Agentic Market), and per-source freshness timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sort": {
   "enum": [
    "price",
    "volume",
    "calls",
    "recency"
   ],
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "description": "Max results (default 25, max 100)"
  },
  "query": {
   "type": "string",
   "description": "What you are looking for (matched against name, description, URL)"
  },
  "source": {
   "enum": [
    "bazaar",
    "agent402",
    "agentic_market"
   ],
   "type": "string"
  },
  "network": {
   "type": "string",
   "description": "CAIP-2, e.g. eip155:8453"
  },
  "category": {
   "type": "string"
  },
  "max_price": {
   "type": "number",
   "description": "Maximum price in USDC"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "name": "Web Search",
    "price": 0.015,
    "seller": "0x4395...",
    "source": "bazaar",
    "metrics": {
     "calls": 3,
     "uniqueBuyers": 1
    },
    "network": "eip155:8453",
    "resource": "https://agentbit.app/v1/web/search"
   }
  ],
  "total": 42,
  "sources": [
   "coinbase-bazaar",
   "agent402",
   "agentic-market"
  ],
  "freshness": {
   "bazaar": {
    "fresh": true,
    "ageHours": 2.1,
    "resources": 5359
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbit-app-x402-resource-discovery-b3213a9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbit.app](https://www.zero.xyz/host/agentbit.app/llms.txt)
