---
title: "GET /api/notifications/grouped"
method: GET
path: "/api/notifications/grouped"
---

# GET /api/notifications/grouped

`GET /api/notifications/grouped`

Get notifications grouped by type

## Query parameters

- `app` string[] — Return only notifications created by this app signers
- `before` object — Fetch newer notifications than the cursor
  - `us` string, required
  - `id` string, required
- `after` object — Fetch older notifications than the cursor
  - `us` string, required
  - `id` string, required
- `limit` integer — The number of notifications to return
- `type` string[] — Return only notifications of this type
- `user` union, required — The ENS name or address of the user
  - string — The Ethereum address of the user
  - unknown
- `seen` 'true' | 'false' | '1' | '0' — Whether to include only seen or unseen notifications, if omitted or empty all notifications will be included

## Response `200`

The notifications grouped by type

- object
  - `notifications` object[], required
    - `cursor` object, required
      - `us` string, required — A bigint string
      - `id` string, required — A bigint string
    - `groupedBy` object, required — Condition used to group notifications
      - `notificationType` 'reply' | 'mention' | 'reaction' | 'quote', required
      - `parent` object, required
        - `type` 'comment', required
        - `comment` object, required
          - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `author` object, required
            - `address` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `ens` object
              - …
            - `farcaster` object
              - …
          - `id` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `channelId` string, required
          - `commentType` integer, required
          - `content` string, required
          - `chainId` integer, required
          - `deletedAt` string, nullable, required
          - `logIndex` integer, nullable, required
          - `metadata` object[], required
            - `key` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `value` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `hookMetadata` object[], required
            - `key` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `value` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `parentId` string, nullable, required — Hex format string, e.g. `0x1234567890abcdef`
          - `targetUri` string, required
          - `txHash` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `cursor` string, required — Hex format string, e.g. `0x1234567890abcdef`
          - `moderationStatus` 'approved' | 'rejected' | 'pending', required
          - `moderationStatusChangedAt` string, nullable, required
          - `moderationClassifierResult` object, required
          - `moderationClassifierScore` number, required
          - `createdAt` string, nullable, required
          - `updatedAt` string, nullable, required
          - `revision` integer, required
          - `zeroExSwap` object, nullable, required
            - `from` object, required
              - …
            - `to` object, required
              - …
          - `references` union[], required
            - union
              - …
          - `path` string, required
          - `viewerReactions` object, required
          - `reactionCounts` object, required
          - `replies` object, required
            - `extra` object, required
              - …
            - `pagination` object, required
              - …
            - `results` object[], required
              - …
    - `notifications` object, required
      - `notifications` object[], required
        - `cursor` object, required
          - `id` string, required — A bigint string
        - `notification` union, required
          - object
            - `type` 'reply', required
            - `replyingTo` object, required
              - …
            - `id` string, required — A bigint string
            - `createdAt` string, required — A date string in ISO 8601 format
            - `seen` boolean, required
            - `seenAt` string, required — A date string in ISO 8601 format
            - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `author` object, required
              - …
            - `comment` object, required — The comment that has been created by the author. This comment triggered the notification.
              - …
          - object
            - `type` 'mention', required
            - `mentionedUser` object, required
              - …
            - `id` string, required — A bigint string
            - `createdAt` string, required — A date string in ISO 8601 format
            - `seen` boolean, required
            - `seenAt` string, required — A date string in ISO 8601 format
            - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `author` object, required
              - …
            - `comment` object, required — The comment that has been created by the author. This comment triggered the notification.
              - …
          - object
            - `type` 'reaction', required
            - `reactingTo` object, required
              - …
            - `id` string, required — A bigint string
            - `createdAt` string, required — A date string in ISO 8601 format
            - `seen` boolean, required
            - `seenAt` string, required — A date string in ISO 8601 format
            - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `author` object, required
              - …
            - `comment` object, required — The comment that has been created by the author. This comment triggered the notification.
              - …
          - object
            - `type` 'quote', required
            - `quotedComment` object, required
              - …
            - `id` string, required — A bigint string
            - `createdAt` string, required — A date string in ISO 8601 format
            - `seen` boolean, required
            - `seenAt` string, required — A date string in ISO 8601 format
            - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
            - `author` object, required
              - …
            - `comment` object, required — The comment that has been created by the author. This comment triggered the notification.
              - …
      - `pageInfo` object, required
        - `hasNextPage` boolean, required — Whether there are older notifications
        - `hasPreviousPage` boolean, required — Whether there are newer notifications
        - `startCursor` object — The cursor to the first notification
          - `id` string, required — A bigint string
        - `endCursor` object — The cursor to the last notification
          - `id` string, required — A bigint string
      - `extra` object, required
        - `unseenCount` string, required — The number of unseen notification groups
  - `pageInfo` object, required
    - `hasNextPage` boolean, required — Whether there are older notifications
    - `hasPreviousPage` boolean, required — Whether there are newer notifications
    - `startCursor` object — The cursor to the first notification
      - `us` string, required — A bigint string
      - `id` string, required — A bigint string
    - `endCursor` object — The cursor to the last notification
      - `us` string, required — A bigint string
      - `id` string, required — A bigint string
  - `extra` object, required
    - `unseenCount` string, required — The number of unseen notification groups

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — App not found
- `500` — Internal server error

## Changes

- **2026-08-10** `fc5aae1cdc03` — 3 breaking, 57 info
  - added `subschema #1, subschema #2, subschema #3, subschema #4` to the `notifications/items/notifications/notifications/items/notification` response property `oneOf` list for the response status `200`
  - the `notifications/items/groupedBy/parent/comment/replies/results/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `notifications/items/groupedBy/parent/comment/viewerReactions/additionalProperties/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4` from the `notifications/items/notifications/notifications/items/notification` response property `oneOf` list for the response status `200`
  - …56 more

[Change history](https://skmtc.dev/ethcomments/apis/ethereum-comments-protocol-indexer-api/changes/api/notifications/grouped/get.md)

---

[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)
