---
title: "GET /api/channels"
method: GET
path: "/api/channels"
tags: ["channels"]
---

# GET /api/channels

`GET /api/channels`

Retrieve a list of channels based on the criteria

## Query parameters

- `cursor` string — Non inclusive cursor from which to fetch the channels based on sort
- `owner` string — Filter channels by owner
- `chainId` string, required — Filters by chain ID. Can be a single chain id or comma-separated list of chain ids (e.g. 1,137,10).
- `limit` integer — The number of channels to return
- `sort` 'asc' | 'desc' — The sort order of the channels

## Response `200`

Retrieve a list of channels

- object
  - `results` object[], required
    - `id` string, required
    - `createdAt` string, nullable, required
    - `updatedAt` string, nullable, required
    - `owner` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `name` string, required
    - `description` string, required
    - `metadata` object[], required
      - `key` string, required — Hex format string, e.g. `0x1234567890abcdef`
      - `value` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `hook` string, nullable, required — Hex format string, e.g. `0x1234567890abcdef`
    - `chainId` integer, required
  - `pagination` object, required
    - `limit` integer, required
    - `hasNext` boolean, required
    - `hasPrevious` boolean, required
    - `startCursor` string — Hex format string, e.g. `0x1234567890abcdef`
    - `endCursor` string — Hex format string, e.g. `0x1234567890abcdef`

## Other responses

- `400` — Bad request

---

[API](https://skmtc.dev/ethcomments/apis/ethereum-comments-protocol-indexer-api.md) · [All operations](https://skmtc.dev/ethcomments/apis/ethereum-comments-protocol-indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ethcomments/ethereum-comments-protocol-indexer-api/revisions/fc5aae1cdc03/schema)
