> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Search: Coin Communities

> Filter and sort Solana token search results by Coin Communities live chat activity — message counts, last message time, and engagement signals.

The [search endpoint](/data-api/search/token-search) now includes Coin Communities activity on every result. Use it to find tokens with active community chat, filter by message count, and sort by engagement.

To build token community chat in your app (API key setup, Twitter OAuth, wallet linking, and posting messages), see the [Coin Communities by Pump.fun quickstart](https://www.solanatracker.io/resources/coin-communities-pumpfun-quickstart).

## Response fields

Each pool in search results includes:

| Field               | Type      | Description                              |
| ------------------- | --------- | ---------------------------------------- |
| `hasCoinCommunity`  | `boolean` | `true` when `communityMessages > 0`      |
| `communityMessages` | `integer` | Live message count from Coin Communities |

```json theme={null}
{
  "mint": "7sGdNQSvUGpahh6qyXB3g5gsdK9FAzZM299KyCXspump",
  "hasCoinCommunity": true,
  "communityMessages": 12
}
```

<Note>
  Counts reflect messages observed since monitoring started for that token. Tokens with no monitored activity return `hasCoinCommunity: false` and `communityMessages: 0`.
</Note>

***

## Filters

All parameters are optional and work on the existing `/search` route.

| Parameter              | Type    | Example | Description                                               |
| ---------------------- | ------- | ------- | --------------------------------------------------------- |
| `hasCoinCommunity`     | boolean | `true`  | Only tokens with at least one monitored community message |
| `hasCoinCommunity`     | boolean | `false` | Tokens with zero monitored community messages             |
| `minCommunityMessages` | integer | `5`     | Minimum live message count (inclusive)                    |
| `maxCommunityMessages` | integer | `100`   | Maximum live message count (inclusive)                    |

Use `minCommunityMessages` and `maxCommunityMessages` together for a range filter.

***

## Sorting

Use the existing `sortBy` and `sortOrder` parameters with `communityMessages`:

```bash theme={null}
curl "https://data.solanatracker.io/search?sortBy=communityMessages&sortOrder=desc&hasCoinCommunity=true" \
  -H "x-api-key: YOUR_API_KEY"
```

***

## Examples

**Tokens with any community activity, sorted by most messages:**

```bash theme={null}
curl "https://data.solanatracker.io/search?hasCoinCommunity=true&sortBy=communityMessages&sortOrder=desc&limit=50" \
  -H "x-api-key: YOUR_API_KEY"
```

**Tokens with at least 10 community messages and min \$20k liquidity:**

```bash theme={null}
curl "https://data.solanatracker.io/search?hasCoinCommunity=true&minCommunityMessages=10&minLiquidity=20000" \
  -H "x-api-key: YOUR_API_KEY"
```

**Active pump.fun tokens with community chat:**

```bash theme={null}
curl "https://data.solanatracker.io/search?market=pumpfun&hasCoinCommunity=true&sortBy=communityMessages&sortOrder=desc" \
  -H "x-api-key: YOUR_API_KEY"
```

<CardGroup cols={2}>
  <Card title="Token Search API" href="/data-api/search/token-search">
    Full parameter reference for `/search`.
  </Card>

  <Card title="Search Filter Options" href="/guides/search-filter-options">
    Valid `market` and `launchpad` values for search.
  </Card>
</CardGroup>
