# x402 API Finder

> x402 API Finder is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Searches the x402 Bazaar for pay-per-call APIs matching a task description, ranked by real 30-day payer activity, with URL, price, network, and description.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/x402/search?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-api-finder-b93eaa1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zI59rwahg3rREOSJKp8Nu

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 x402-api-finder-b93eaa1b
```

Example prompt: Search the x402 Bazaar for a pay-per-call API that can give me real-time cryptocurrency token prices — show me the top 5 results ranked by actual payers, with their URLs, USDC prices, and descriptions.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which x402 pay-per-call API to invoke for a task, rather than hard-coding a tool choice. It is especially useful before selecting a paid tool at runtime, when comparing API costs, or when building meta-agents that need to route tasks to the best available x402-compatible service ranked by real usage.

## Known failure modes

- Missing required query parameter 'q' returns a validation error
- No matching APIs found returns an empty result list
- Bazaar index temporarily unavailable may return a 5xx error
- Very broad queries may return low-relevance results
- limit parameter out of range (below 1 or above 25) may cause a validation error

## How this service works

Find the right pay-per-call API for a task: searches the x402 Bazaar and ranks results by real 30-day payers, with URL, price in USDC, network and description. Use before choosing which paid tool to call.

## Output

Returns a ranked list of x402 APIs matching the query, each with its endpoint URL, price per call in USDC, blockchain network, short description, and a real 30-day payer count used for ranking.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "What you need, e.g. weather or token price"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-25)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-api-finder-b93eaa1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
