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

# Request options and filters

> Pulse's fixed mode ordering, Trending's custom sorting, and their filters, chains and chart options.

Send one list and page in the JSON body of a Pulse or Trending snapshot request. The response contains an ordered array of pool records in `data`.

See [complete typed enums](https://docs.struct.to/api-reference/discovery/enums.md) for all accepted values and downloadable TypeScript definitions.

## Request options

| Field | Type | Default and behavior |
| - | - | - |
| `mode` | PulseMode | Pulse only: `new` (default), `migration`, or `migrated`. |
| `chain`, `chain_id` | string, integer | Select a supported chain by name or ID. Use `-1` for Solana. |
| `chains`, `chain_ids` | arrays | Select several chains. All chain selectors are combined and duplicate chains are removed. Results rank together. |
| `sortBy` | TrendingSortBy | Trending only: a [supported sort key](https://docs.struct.to/api-reference/discovery/sorting.md). Rejected by Pulse. |
| `sortOrder` | DiscoverySortOrder | Trending only: `desc` (default) or `asc`. Rejected by Pulse. |
| `filters.timeframe` | DiscoveryTimeframe | Pulse: `1m`, `5m`, `30m`, `1h`, `6h`, `24h` (default). Window for unsuffixed metric bounds and the default returned metrics. |
| `limit` | integer | `30`; range 1–100 per request. |
| `page` | integer | `0`; zero-based. `(page + 1) * limit` must be at most 1,000. |
| `filters` | object | Optional predicates and metric windows described below. |
| `include_price_points` | boolean | `false`; include inline `price_points` on each pool. |
| `exclude_scams` | boolean | Trending only: `true` (default); exclude likely scam tokens. Rejected by Pulse. |
| `blacklist` | array | Case-insensitive website, handle, or keyword exclusions. |

Provide at least one chain selector. See [supported chains](https://docs.struct.to/api-reference/getting-started.md#chains). To fetch different Pulse modes or pages, send a separate request for each list.

Trending accepts `sort_by` and `sort_order` as aliases for `sortBy` and `sortOrder`; Pulse rejects all sorting parameters. `filters.limit` is an alias for `limit`. Conflicting aliases are rejected. Place Trending sorting and pagination options outside `filters`.

## Pulse modes

| Mode | Pools included | Fixed descending order |
| - | - | - |
| `new` | Eligible Pulse pools that have not migrated | Newest creation |
| `migration` | Eligible pools that have not migrated and have positive bonding-curve progress | Highest bonding progress |
| `migrated` | Pools with `is_migration_pool: true` | Newest creation |

Set `mode` at the top level of a Pulse request. It defaults to `new`. Pulse covers pools created or migrated within the last seven days. A pool can match both `new` and `migration`.

Trending returns eligible active pools, including older pools, ordered by `sortBy` and `sortOrder`. Its default is `volume_24h` descending. Trending needs no list selector.

## Filters

For Pulse, `filters.timeframe` selects the window for unsuffixed bounds such as `total_volume_usd`, `txns`, `buys`, `sells`, `price_change_percentage`, `buy_volume_usd`, `sell_volume_usd`, `net_volume_usd`, `total_fees_native`, `total_priority_fees_native`, `total_tip_amount_native`, and `total_bot_fees_native`. It also selects the returned metrics unless you explicitly supply `include_timeframes`. It never changes pool order. Explicitly suffixed bounds retain their own window; conflicting bounds for the same window are rejected.

```json theme={null}
{
  "chain_ids": [-1, 8453],
  "mode": "new",
  "filters": {"timeframe": "5m", "total_volume_usd": {"gte": 1000}}
}
```

This Pulse request returns the newest matching pools across Solana and Base with at least \$1,000 in five-minute volume.

Combine predicates inside `filters`. Only matching pools enter the result. Numeric predicates accept `gte` and `lte` for inclusive bounds, or `gt` and `lt` for exclusive bounds.

```json theme={null}
{
  "chain": "solana",
  "sortBy": "volume_1h",
  "limit": 50,
  "filters": {
    "has_image": true,
    "market_cap_usd": {"gte": 100000, "lte": 10000000},
    "liquidity_fdv_usd": {"gte": 25000},
    "total_volume_usd_1h": {"gte": 5000},
    "include_timeframes": ["1h", "24h"]
  }
}
```

| Filter | Purpose |
| - | - |
| `protocols` | Protocol names to include. Migrated pools match their current protocol or originating protocol. An empty list applies no protocol restriction. |
| `quote_types` | Optional quote-token categories, such as `NATIVE`, `USDC`, `USDT`, `RWA`, or `OTHER`. Native-quoted pools remain included when selecting other categories. An empty list applies no category restriction. |
| `quote_tokens` | Specific quote-token addresses, up to 50: Solana base58 mints or `0x` EVM addresses (EVM matching ignores case; duplicates are removed). Each address must belong to a requested chain family. A pool matches when its quote token (the counter token of the listed token) is in the list. Combined with `quote_types` as a union, for example `"quote_types": ["NATIVE"], "quote_tokens": ["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]` keeps native pairs plus USDC pairs. With no `quote_types`, only the listed quote tokens match. |
| `protocol_filters` | Per-protocol feature filters keyed by protocol name. See [Protocol filters](#protocol-filters). |
| `keywords`, `exclude_keywords` | Include or exclude text matches. Empty lists apply no restriction. |
| `twitter_handle` | Match a token's Twitter handle. |
| `dev_addresses`, `dev_addresses_to_exclude` | Include or exclude creator addresses, up to 1,000 per list. |
| `addresses_to_exclude` | Exclude token or pool addresses, up to 1,000. |
| `has_image`, `has_twitter`, `has_telegram`, `has_discord`, `has_website`, `has_social` | Require the selected metadata condition with `true`, or its absence with `false`. |
| `is_original_image`, `is_og`, `is_pump_live` | Filter by the corresponding token property. |
| `include_timeframes` | Metric windows to return. See below. |

Numeric filters include:

| Fields | Values |
| - | - |
| `market_cap_usd`, `market_cap_usd_ath`, `liquidity_fdv_usd` | USD market cap, all-time-high market cap, and liquidity |
| `bonding_curve_percentage`, `age_minutes`, `ath_within_seconds` | Curve progress, pool age in minutes, and time since the market-cap high in seconds |
| `total_holders` | Holder count |
| `top_10_holder_percentage`, `top_25_holder_percentage`, `top_50_holder_percentage` | Holder concentration percentages |
| `dev_holding_percentage`, `sniper_holding_percentage`, `block_zero_buyers_holding_percentage`, `insider_holding_percentage`, `caller_holding_percentage`, `pro_trader_holding_percentage`, `bundler_holding_percentage` | Current holder-category percentages |
| `block_zero_holders_count`, `sniper_holders_count`, `insider_holders_count`, `caller_holders_count`, `pro_trader_count`, `bundler_holders_count` | Current holder-category counts |
| `twitter_reuses`, `image_usage_count`, `created_count`, `migrated_count` | Metadata reuse and creator counts |
| `lp_burn_percentage`, `lp_locked_percentage` | LP burned percent (`lp_security.burned_percent`) and LP locked percent (`lp_security.locked_percent + permanent_locked_percent + claimable_percent`) |

Windowed numeric filters use a suffix of `1m`, `5m`, `30m`, `1h`, `6h`, or `24h`:

| Prefix | Meaning |
| - | - |
| `total_volume_usd_`, `buy_volume_usd_`, `sell_volume_usd_`, `net_volume_usd_` | USD volume |
| `txns_`, `buys_`, `sells_` | Transaction counts |
| `total_fees_native_`, `total_priority_fees_native_`, `total_tip_amount_native_`, `total_bot_fees_native_` | Fees and tips in the chain's native currency |
| `price_change_percentage_` | Price change percentage |

For example, `total_volume_usd_1h: {"gte": 5000}` filters by one-hour volume.

> [!NOTE]
>
> `buy_tax`, `sell_tax`, `is_honeypot`, `is_open_source`, `is_renounced`, and total-protocol-fee filters are unavailable. Requests using them are rejected. LP burn and lock percentages are separate supported predicates.

### Protocol filters

`protocol_filters` narrows individual protocols by launch features, without affecting the others. Keys are protocol names; each entry holds feature keys set to `true`, `false`, or omitted:

```json theme={null}
{
  "protocols": ["PumpFun", "Bonk"],
  "protocol_filters": {
    "PumpFun": { "offchain_create": true, "holder_rewards": false }
  }
}
```

This keeps Bonk pools unchanged and keeps only Pump.fun pools created without a dev buy that do not distribute holder rewards.

| Value | Meaning |
| - | - |
| `true` | Only pools known to have the feature. |
| `false` | Only pools known not to have the feature. |
| omitted or `null` | Either. |

A pool whose feature value is unknown matches neither `true` nor `false`, so it is excluded whenever that key is set. For example, tokens whose off-chain creation status is unknown are excluded when `offchain_create` is set.

A pool is governed by the entry for its `protocol`. A migrated pool (`is_migration_pool: true`) is also governed by the entry for its `migrated_from_protocol`, so a `PumpFun` entry applies to Pump AMM pools that graduated from Pump.fun, while a `PumpAMM` entry applies to Pump AMM pools directly. When both entries apply, both must pass. Protocols without an entry are unaffected.

| Protocol | Keys | Row field (`protocol_data`) | Applies after migration |
| - | - | - | - |
| `PumpFun`, `PumpFunMayhem` | `offchain_create`, `holder_rewards` | `is_offchain_create` (`oc`), `holder_distribution_enabled` (`hd`) | Yes, to the Pump AMM pool |
| `PumpAMM` | `offchain_create`, `holder_rewards` | Carried from the bonding curve | Not applicable |
| `StonkFun` | `holder_rewards` | `holder_distribution_enabled` (`hd`) | No; the flag is on the bonding curve only |
| `PonsV2` | `holder_rewards` | `holder_distribution_enabled` (`hd`) | Yes |

Other protocols support no keys. `GET /token/discovery/protocols` returns each protocol's supported keys in `filters` (`fk` with short field names), so clients can build controls from it. A key a protocol does not support, an unknown protocol, or a non-boolean value is rejected with an error listing that protocol's supported keys. When `protocols` is non-empty, every `protocol_filters` entry must name one of those protocols.

## Text exclusions

Place `blacklist` beside `filters`. It accepts up to 1,000 entries, each with a `type` of `website`, `handle`, or `keyword` and a `value` of at most 2,048 UTF-8 bytes. Matches ignore case; empty values are ignored.

```json theme={null}
{
  "chain": "solana",
  "mode": "new",
  "blacklist": [
    {"type": "website", "value": "example.com"},
    {"type": "handle", "value": "examplehandle"},
    {"type": "keyword", "value": "example phrase"}
  ]
}
```

## Metric windows and charts

`filters.include_timeframes` selects the windows returned in each pool's `metrics` object. It accepts `1m`, `5m`, `30m`, `1h`, `6h`, `24h`, or `"all"`. Trending defaults to `24h`; Pulse defaults to its selected `filters.timeframe` (`24h` when omitted). Example: `["5m", "1h"]`.

Sorting and filtering use their requested metrics even when those windows are not selected for display. Sorting uses `1min` and `5min` in its key names; filter and response windows use `1m` and `5m`. A `30m` display window is available, but a `30m` sort key is not.

With `include_price_points: true`, each pool includes `price_points`, an array of `{ "time": 1790164800000, "value": 1000000 }` points in long mode. `time` is Unix milliseconds and `value` is USD market cap. Short mode uses `pp` with `t` and `v`. These are market-cap samples, not OHLC bars. Up to 300 points are returned in time order. An available chart with no points returns an empty array; omitting charts omits `price_points`.

## Pagination

`page` selects a slice of the current ranking. With `limit: 50`, page `0` contains positions 1–50 and page `1` positions 51–100. The last allowed page is `19`. Rows can move between pages as values change; these pages are not a historical cursor for exporting every pool.

## Credits and result limits

Each snapshot costs one credit, plus five additional credits when charts are requested. A snapshot can wait up to eight seconds for complete data; allow additional time for network delivery.

Responses are limited to 4 MiB. Reduce `limit` or disable charts for an oversized result. An empty result is successful and returns `data: []`. Invalid requests return HTTP `400`; temporarily unavailable data, timeouts, and oversized results return HTTP `503`.


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