> ## Documentation Index
> Fetch the complete documentation index at: https://sonar-cf3aeac7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Views and models

> How to describe a Pulse view: the request object, preset models, how your filters and sort combine with a preset, and the limits that apply.

A Pulse request holds up to 10 **views**. Each view has a name, an optional preset **model**, optional chain and pool type scope, filters, a sort, and a page size. This page describes the request format used by [`POST /pulse/views`](https://sonar-cf3aeac7.mintlify.site/pulse/rest-views), [`POST /pulse/views/pagination`](https://sonar-cf3aeac7.mintlify.site/pulse/rest-views-pagination) and the [live stream](https://sonar-cf3aeac7.mintlify.site/pulse/stream.md). The strict camelCase format of `POST /pulse` is covered on [Query views (native format)](https://sonar-cf3aeac7.mintlify.site/pulse/native-views.md).

## Request object

```json theme={null}
{
  "chainId": ["evm:8453"],
  "views": [
    {
      "name": "hot-on-base",
      "model": "trending",
      "sortBy": "volume_1h",
      "sortOrder": "desc",
      "limit": 25,
      "filters": { "volume_1h": { "gte": 5000 } }
    }
  ]
}
```

### Top-level fields

| Field | Type | Description |
| - | - | - |
| `views` | array of view objects | 1 to 10 views. View names must be unique. If omitted, you get the [default board](#default-board). |
| `chainId` | string\[] | Default chains for every view that does not set its own `chainId`. Each value must look like `"evm:8453"`. At least one value when present. |
| `poolTypes` | string\[] | Default pool types for every view that does not set its own `poolTypes`. At least one value when present. |
| `compressed` | boolean | Stream only: send snapshot frames gzip-compressed. Accepted on REST but has no effect there. See [Pulse live stream](https://sonar-cf3aeac7.mintlify.site/pulse/stream.md#compression). |
| `model`, `assetMode`, `filterQuotes`, `excludeLPTokens` | | Accepted for compatibility, no effect. Quote assets are always excluded. |

Unknown keys in the request and view objects are silently ignored rather than rejected, so check spelling carefully.

### View fields

| Field | Type | Default | Description |
| - | - | - | - |
| `name` | string | required | 1 to 64 characters after trimming. Must be unique in the request. Becomes the key of the view in the response. |
| `model` | `"new"` \| `"trending"` \| `"bonding"` \| `"bonded"` | none | Preset filters and sort. See [Models](#models). |
| `chainId` | string\[] | top-level `chainId`, else all chains | Chains in the `"evm:<id>"` form. Supported: `evm:1`, `evm:8453`, `evm:4663`, `evm:56`. |
| `poolTypes` | string\[] | top-level `poolTypes`, else any | Only tokens whose top pool has one of these pool types. A `type` filter overrides this. |
| `sortBy` | string | the model's sort | Any sortable field. snake\_case names (`volume_1h`), `latest_market_cap`, or the camelCase output name (`volume1hUSD`) all work. |
| `sortOrder` | `"asc"` \| `"desc"` | `"desc"` | Ignored when `sortBy` is not set. |
| `limit` | integer | 30 on REST, 50 on the stream | Tokens per view, 1 to 100. |
| `offset` | integer | 0 | REST only. Tokens to skip, 0 to 500. The stream rejects any value above 0. |
| `filters` | object | none | Filters keyed by snake\_case field name. See [Filters and sortable fields](https://sonar-cf3aeac7.mintlify.site/pulse/filters-and-fields.md). |
| `addressToExclude` | string \| string\[] | none | Token addresses to leave out. An array, or one comma-separated string. At most 100 addresses; duplicates are removed and addresses are lowercased. |
| `includeTokens` | string \| string\[] | none | Not supported. Any non-empty value returns `views.<i>.includeTokens: not supported yet`. |
| `excludeLPTokens` | boolean | | Accepted for compatibility, no effect. |

## Models

Each model is a preset of filters and a sort. The table uses the snake\_case field names from [Filters and sortable fields](https://sonar-cf3aeac7.mintlify.site/pulse/filters-and-fields.md).

| Model | Preset filters | Preset sort |
| - | - | - |
| `new` | `bonded` = false; `created_at` within the last 24 hours; on-chain creation observed | `created_at` desc |
| `trending` | `liquidity` at least 30,000; `market_cap` from 150,000 to 300,000,000; `trades_1h` at least 100; `buyers_24h` at least 100; `sellers_24h` at least 100; `fees_paid_24h` at least 250 | `fees_paid_15min` desc |
| `bonding` | `bonded` = false; `bonding_percentage` from 0 to 99.99; `volume_1h` at least 10 | `bonding_percentage` desc |
| `bonded` | `bonded` = true | `bonded_at` desc |
| *(none)* | none | `created_at` desc |

All bounds are inclusive. USD amounts are in US dollars.

### The 24-hour window on `new`

The `new` model adds `created_at` at or after "now minus 24 hours" only when your view has **no** `created_at` filter of its own. Set your own `created_at` filter to widen or narrow it:

```json theme={null}
{
  "views": [
    {
      "name": "new-last-hour",
      "model": "new",
      "filters": { "created_at": { "gte": "2026-12-03T10:00:00.000Z" } }
    }
  ]
}
```

### How your filters combine with a preset

Filters merge **per field**:

* A filter you set on a field replaces the preset's filter on that same field.
* Preset filters on other fields stay in place.
* Filters you set on fields the preset does not use are added.

For example, this view keeps the `bonding` preset's `bonded` and `bonding_percentage` filters, but replaces its `volume_1h` minimum of 10 with 1,000:

```json theme={null}
{
  "views": [
    { "name": "busy-bonding", "model": "bonding", "filters": { "volume_1h": { "gte": 1000 } } }
  ]
}
```

Replacing a field replaces the whole range. If you set `"market_cap": { "lte": 1000000 }` on `trending`, the preset's 150,000 minimum on `market_cap` no longer applies.

### How your sort combines with a preset

If you set `sortBy`, it replaces the preset sort completely. `sortOrder` defaults to `desc`. If you do not set `sortBy`, the preset sort is used, and with no model the sort is `created_at` desc.

Tokens that have no value for the sort field are always placed last, in both directions. Ties are broken by chain id, then by a stable internal token order.

## Default board

If `views` is omitted, the server creates three views named `new`, `bonding` and `bonded`, each using the model of the same name. Top-level `chainId` and `poolTypes` still apply:

```json theme={null}
{ "chainId": ["evm:8453"] }
```

is the same as:

```json theme={null}
{
  "views": [
    { "name": "new", "model": "new", "chainId": ["evm:8453"], "limit": 30 },
    { "name": "bonding", "model": "bonding", "chainId": ["evm:8453"], "limit": 30 },
    { "name": "bonded", "model": "bonded", "chainId": ["evm:8453"], "limit": 30 }
  ]
}
```

On the live stream the default limit is 50 instead of 30.

## Limits

| Limit | Value |
| - | - |
| Views per request | 1 to 10 |
| Views per stream connection (all subscriptions together) | 10 |
| View name | 1 to 64 characters, unique within the request |
| `limit` | 1 to 100. Default 30 on REST, 50 on the stream |
| `offset` | 0 to 500, REST only |
| `addressToExclude` | at most 100 addresses |

A repeated view name returns the issue `views.<i>.name: <name> is used twice`.

## Native and views formats side by side

`POST /pulse` describes the same view in camelCase with `{ "min", "max" }` ranges. This is how the two formats map onto each other:

```json Native (POST /pulse) theme={null}
{
  "name": "hot",
  "model": "trending",
  "chains": [1],
  "filters": {
    "volume1hUSD": { "min": 1000 },
    "bonded": false,
    "deployer": "0x9e975d3024b9551e28245b4cec92e4deb1a5fb64"
  },
  "sort": { "field": "marketCapUSD", "order": "desc" },
  "limit": 25
}
```

```json Views (POST /pulse/views and stream) theme={null}
{
  "name": "hot",
  "model": "trending",
  "chainId": ["evm:1"],
  "sortBy": "market_cap",
  "sortOrder": "desc",
  "limit": 25,
  "filters": {
    "volume_1h": { "gte": 1000 },
    "bonded": { "equals": false },
    "deployer": { "equals": "0x9e975d3024b9551e28245b4cec92e4deb1a5fb64" }
  }
}
```

| Native | Views format |
| - | - |
| `chains: [1]` | `chainId: ["evm:1"]` |
| `sources: ["zora"]` | `filters.source: { "in": ["zora"] }` |
| `poolTypes: [...]` | `poolTypes: [...]`, or `filters.type: { "in": [...] }` |
| `excludedTokens: [...]` | `addressToExclude: [...]` |
| `sort: { "field": "marketCapUSD", "order": "desc" }` | `sortBy: "market_cap"`, `sortOrder: "desc"` |
| `filters.volume1hUSD: { "min": 1000, "max": 5000 }` | `filters.volume_1h: { "gte": 1000, "lte": 5000 }` |
| `filters.bonded: false` | `filters.bonded: { "equals": false }` |
| `filters.deployer: "0x..."` | `filters.deployer: { "equals": "0x..." }` |
| `filters.keywords: ["pepe"]` | `filters.keyword: { "in": ["pepe"] }` |
| `filters.hasSocial: true` | `filters.has_social: { "equals": true }` |
| `filters.socialsCount: { "min": 2 }` | `filters.socials_count: { "gte": 2 }` |
| `offset: 50` | `offset: 50` (REST only) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.