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

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 120+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# Gateway Management

> List SQD Network gateway endpoints with the sqd gateways CLI.

Explore data sources for a squid

* [`sqd gateways list`](#sqd-gateways-list)

## `sqd gateways list`

List available gateways

```text theme={"system"}
USAGE
  $ sqd gateways list [--interactive] [-t <evm|substrate>] [-n <regex>] [-c <number>]

FLAGS
  -c, --chain=<number>        Filter by chain ID or SS58 prefix
  -n, --name=<regex>          Filter by network name
  -t, --type=<evm|substrate>  Filter by network type
      --[no-]interactive      Disable interactive mode

ALIASES
  $ sqd gateways ls
```

`--name` is a case-insensitive regular expression matched against the network ID, such as `eth-mainnet`, which the table does not show. It is not matched against the **Network** column, so `--name ethereum` finds no Ethereum gateways.

For example, list the Ethereum gateways by network ID prefix, or a single gateway by chain ID:

```bash theme={"system"}
sqd gateways list --type evm --name '^eth-' --no-interactive
sqd gateways list --type evm --chain 1 --no-interactive
```

*See code: [src/commands/gateways/list.ts](https://github.com/subsquid/squid-cli/blob/master/src/commands/gateways/list.ts)*


## Related topics

- [Cursor management](/en/sdk/pipes-sdk/evm/guides/architecture-deep-dives/cursor-management.md)
- [Changelog](/changelog.md)
- [May 2026 gateway deprecations](/announcements/gateway-deprecations-may-2026.md)
- [Adding API keys to gateways](/announcements/gateway-api-keys.md)
- [Add an API key for legacy gateways](/en/sdk/squid-sdk/substrate/guides/migration/gateway-api-key.md)


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