# GET /dao/search: $0.001 per call

Find a DAO's Snapshot space by name: returns matching spaces, biggest first, with their id (to use with dao-proposals), whether Snapshot has verified them, followers, number of proposals and how many votes are open now. E.g. q=uniswap, aave, arbitrum, ens.

- **Price:** $0.001 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:** live
- **Answers cached for:** 1 hour(s)
- **Data sources:** Snapshot governance API (free)
- **Lane:** Web3 data ([OpenAPI](/openapi/web3-data.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/dao-search](/sample/dao-search). It is a stored real answer when we have one, otherwise an example marked `"kind": "illustrative"`.

```bash
curl "https://aayatai.com/sample/dao-search"
```

## 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/dao/search?q=uniswap&limit=3"
```

## 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/dao/search?q=uniswap&limit=3");
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("dao-search", {"q":"uniswap","limit":3});
```

## Inputs

- `q` **(required)** (string): Name to look for, e.g. uniswap.
- `limit` (integer; default `5`): How many spaces (1-20).

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

## Example answer

Example only: the shape of an answer, with placeholder addresses and made-up figures. It is not data about any real token or wallet; call the service (or its free sample) for real results.

```json
{
  "query": "uniswap",
  "spaces": [
    {
      "id": "uniswapgovernance.eth",
      "name": "Uniswap",
      "verified": true,
      "followers": 125293,
      "proposals": 199,
      "activeProposals": 0
    }
  ],
  "source": "Snapshot"
}
```

## Related

- [GET /protocol/fees](/services/protocol-fees) ($0.003): What a DeFi protocol earns: fees paid by its users and the protocol's own revenue over the last 24 hours, 7 days, 30 days, a year and all time, the day-on-day c
- [GET /protocol/fees/top](/services/protocol-fees-top) ($0.003): Which crypto protocols earn the most: a ranking by fees paid by users or by the protocol's own revenue over 24 hours, 7 days or 30 days, optionally for one chai
- [GET /chain/stats](/services/chain-stats) ($0.003): One blockchain's economy in one call: total value locked, DEX trading volume (24 h, 7 d, 30 d and the day-on-day change), its five busiest DEXs, fees paid on th
- [GET /chain/rank](/services/chain-rank) ($0.002): Blockchains ranked by total value locked in DeFi or by US-dollar stablecoins circulating on them, with both figures and each chain's gas-fee currency symbol (e.
- [GET /dao/proposals](/services/dao-proposals) ($0.002): A DAO's governance votes from Snapshot: the latest proposals (active, closed or all) with title, dates, voting type, each choice's votes and share, the leading 

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