# GET /tools/find: $0.002 per call

Find the best tool for a job. Describe the task in plain English (e.g. 'check if a token is a rug pull', 'scrape a page to markdown', 'cheap LLM chat') and get a short ranked list of pay-per-call x402 APIs and MCP servers side by side: what each does, exactly how to use it, price, reliability from our own checks, and why it fits. Neutral: we never resell them.

- **Price:** $0.002 in USDC, the same on Base, Solana, Polygon, Arbitrum. Failed calls are never charged.
- **Free trial:** yes, 20 free calls a day from Claude, Cursor or any MCP client ([set-up](/mcp/setup)).
- **Tier:** cached
- **Answers cached for:** 10 min
- **Data sources:** CDP x402 Bazaar (our daily index); Official MCP Registry (public domain); our unpaid health checks
- **Lane:** x402 market guide ([OpenAPI](/openapi/x402-guide.json))
- **Live health:** [status page](/status)

## Free sample

See an answer for the demo input first, free (no payment, 10 a minute): [https://aayatai.com/sample/find-best-tool](/sample/find-best-tool). It is a stored real answer when we have one, otherwise an example marked `"kind": "illustrative"`.

```bash
curl "https://aayatai.com/sample/find-best-tool"
```

## 1. See the price (free)

Call it without paying: you get `402 Payment Required` and a `PAYMENT-REQUIRED` header with the exact price and where to pay.

```bash
curl -i "https://aayatai.com/tools/find?job=check+if+a+token+is+a+rug+pull&kind=any&limit=5"
```

## 2. Pay and call (TypeScript)

```bash
npm install @x402/fetch @x402/evm viem
```

```ts
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

// A wallet used only by your agent, holding a little USDC on Base.
const account = privateKeyToAccount(process.env.WALLET_PRIVATE_KEY as `0x${string}`);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});

const res = await pay("https://aayatai.com/tools/find?job=check+if+a+token+is+a+rug+pull&kind=any&limit=5");
console.log(await res.json());
```

## 3. Or as an MCP tool

```ts
// MCP server: https://aayatai.com/mcp (Streamable HTTP). With the x402 MCP client (see /start):
const result = await client.callTool("find-best-tool", {"job":"check if a token is a rug pull","kind":"any","limit":5});
```

## Inputs

- `job` **(required)** (string): The job, in plain English.
- `kind` (string; one of `any`, `api`, `mcp`; default `any`): any, api (x402 pay-per-call APIs only) or mcp (MCP servers only).
- `maxPrice` (number): Highest price per call in USD, for pay-per-call APIs.
- `limit` (integer; default `5`): How many options to return.

Bad inputs are rejected with HTTP 400 before any payment is asked for.

## Example answer

```json
{
  "job": "check if a token is a rug pull",
  "answer": "Best option: x402node.dev chain honeypot (x402 API, $0.01 per call). GET https://api.x402node.dev/chain/honeypot; ...",
  "results": [
    {
      "rank": 1,
      "kind": "x402 API",
      "name": "x402node.dev chain honeypot",
      "does": "Heuristic honeypot and risk check for an ERC20 token via on-chain eth_call - detects active owner control and transfer restrictions that can trap buyers",
      "howToUse": "GET https://api.x402node.dev/chain/honeypot; it answers HTTP 402 with the price, your x402 wallet pays in USDC (eip155:8453) and repeats the call.",
      "price": "$0.01 per call",
      "reliability": "up 100% of 12 checks this week, ~410 ms",
      "why": "23 buyers in 30 days; Matches your words: rug, honeypot, risk.",
      "link": "https://api.x402node.dev/chain/honeypot"
    },
    {
      "rank": 2,
      "kind": "MCP server",
      "name": "Token security scanner",
      "does": "Check any token for honeypots, taxes and owner risks.",
      "howToUse": "Add as a remote MCP server: https://mcp.example-scanner.io/mcp (streamable-http).",
      "price": "pricing not published (free to connect)",
      "reliability": "answered 100% of 3 checks this week",
      "why": "Matches your words: honeypot, token; listed in the official MCP Registry.",
      "link": "https://mcp.example-scanner.io/mcp"
    }
  ],
  "searched": {
    "x402Apis": 17535,
    "mcpServers": 4100
  },
  "note": ""
}
```

## Related

- [GET /x402/find](/services/x402-find) ($0.002): Describe a job in plain English and get the best working x402 services for it, ranked: fit, real buyers (30 days), our uptime and speed checks, and price, with 
- [GET /x402/find/live](/services/x402-find-live) ($0.01): Like /x402/find, but the shortlist is re-checked right now: we send each top candidate one unpaid request and keep only those answering with a valid x402 price 
- [GET /x402/check](/services/x402-check) ($0.002): Live health check of any x402 endpoint before you pay it: is it up and answering 402, is the payment request valid, prices in USD per network, pay-to wallets, x
- [GET /x402/recommend](/services/x402-recommend) ($0.03): Describe a job and get the best x402 services to do it: we search the whole Bazaar catalogue, then an AI compares the candidates on real buyer numbers, recent u
- [GET /x402/trends](/services/x402-trends) ($0.01): What's growing in the x402 economy: services with the biggest rise in unique buyers over the last N days, from our own daily history of the Bazaar catalogue (hi

New here? [Getting started in 60 seconds](/start). All services: [Aayat AI](/).