Coin search

$0.005 per call · USDC via x402 · GET /api/coin-search

Resolve a name or ticker to coin ids: full-text search returning matching coins (id, symbol, name, market cap rank, ordered by rank), exchanges (id, name, market type) and categories (id, name), plus NFT collections. Send GET /api/coin-search with the required field query and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, query, counts and 4 more.

`limit` per group 1-50 (default 10). The id resolver for every other coin tool: an agent holding "PEPE" or "render" gets the canonical id here before calling coin-profile, coin-ohlc or coin-history. Cached in-process for 5 minutes.

Category: Crypto & onchain data · Tags: crypto search resolve symbol coin-id exchanges categories lookup

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
querystringyesName, symbol or fragment, 1-64 chars (e.g. "usdc", "render", "pepe"). Also accepted as q, search, term, keyword, question.
limitnumbernoMax results per group, 1-50 (default 10).

Example request

curl -i "https://agent402.tools/api/coin-search?query=usdc&limit=5"

Without payment this returns HTTP 402 Payment Required with the exact price for coin-search; any x402 v2 or MPP client pays it and retries.

Example response

{
  "source": "coingecko",
  "fetchedAt": "2026-08-22T13:20:00.000Z",
  "cached": false,
  "query": "usdc",
  "counts": {
    "coins": 5,
    "exchanges": 0,
    "categories": 1,
    "nfts": 0
  },
  "coins": [
    {
      "id": "usd-coin",
      "symbol": "USDC",
      "name": "USDC",
      "rank": 6
    }
  ],
  "exchanges": [],
  "categories": [
    {
      "id": "usdc-stablecoins",
      "name": "USDC Stablecoins"
    }
  ],
  "nfts": []
}
FieldTypeAlways presentIn the example
sourcestringyescoingecko
fetchedAtstringyes2026-08-22T13:20:00.000Z
cachedbooleanyesfalse
querystringyesusdc
countsobjectyes4 fields: coins, exchanges, categories, nfts
coinsarray of objectsyes1 item in the example
exchangesarrayyes0 items in the example
categoriesarray of objectsyes1 item in the example
nftsarrayyes0 items in the example

From an MCP client

catalog.call {
  "slug": "coin-search",
  "params": {
    "query": "usdc",
    "limit": 5
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for coin-search; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/coin-search?query=usdc&limit=5");

Related tools

Crypto categories by market cap

$0.005 · GET /api/coin-categories

Coin categories (Layer 1, Meme, AI, DeFi, Stablecoins, RWA, ...) ranked by market cap, with 24h market cap change %, 24h…

Crypto exchanges

$0.005 · GET /api/exchanges

Crypto exchanges ranked by trust score: id, name, country, year established, trust score (1-10) and rank, 24h volume in …

Known-address label lookup

FREE w/ compute · or $0.002 · POST /api/address-label

Label a known EVM address from a curated, committed dataset: major stablecoin + token contracts (the USDC and USDG contr…

Wallet token transfers (filtered)

$0.003 · POST /api/asset-transfers

Recent token transfers for a wallet on Base, Ethereum and other EVM chains, newest first. Filtered transfer log for an E…

Block info

$0.001 · GET /api/block-info

Header-level detail for one block on Ethereum, Base, Polygon, Arbitrum, or Optimism: hash, timestamp (unix + ISO), trans…

Latest block number

$0.001 · GET /api/block-number

The latest block number on Ethereum, Base, Polygon, Arbitrum, or Optimism: returns network, blockNumber (integer) and he…