# AgentTools Directory Search

> AgentTools Directory Search is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Describe a capability in natural language and get back matching x402-paid APIs from the AgentTools catalog and optionally the live x402 Bazaar marketplace

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/directory-search?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-directory-search-c8002bcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BL_-P91F5q3ZC9lKN_ljz

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 agenttools-directory-search-c8002bcd
```

Example prompt: Search the AgentTools directory for APIs that can extract text from PDFs — include third-party Bazaar results too and return up to 5 matches.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which paid APIs exist for a given capability rather than hard-coding a specific tool. Ideal for meta-agent orchestration, capability routing, or when the right tool for a task is unknown ahead of time. Prefer over static tool registries when you want live coverage of both the curated AgentTools catalog and third-party x402 Bazaar sellers in a single query.

## Known failure modes

- Missing required 'query' parameter returns an error
- Invalid 'includeBazaar' value (not 'true' or 'false') causes a validation error
- No matching tools found returns an empty results array
- Bazaar unavailable when includeBazaar=true may return only catalog results or an error
- x402 payment not fulfilled results in 402 Payment Required response

## How this service works

Describe what you need and get back matching x402-paid APIs: our own catalog (54 tools) plus, optionally, the live x402 Bazaar of third-party sellers. The agent's meta-tool — instead of knowing an API exists, ask for the capability. Use this when an agent needs to "I need a tool that does X" → matched paid APIs.

## Output

A list of matching API entries from the AgentTools catalog (54 tools) and optionally the x402 Bazaar, each including the tool name, description, endpoint URL, pricing, and relevance to the query.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "number",
       "description": "Max results per source"
      },
      "query": {
       "type": "string",
       "description": "What do you need?"
      },
      "includeBazaar": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "Include third-party Bazaar results"
      }
     }
    }
   },
   "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/agenttools-directory-search-c8002bcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
