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

# GET /api/approvals

`GET /api/approvals`

Retrieve a list of approvals according to the criteria

## Query parameters

- `author` string — The author's address. Can be used to filter approvals by author. Either `author` or `app` must be provided or both.
- `app` string — The address of the app signer. Can be used to filter approvals by app. Either `author` or `app` must be provided or both.
- `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 approvals to return
- `offset` integer, nullable — The offset of the approvals to return

## Response `200`

Retrieve a list of approvals according to the criteria

- object
  - `results` object[], required
    - `id` string, required
    - `app` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `author` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `deletedAt` string, nullable, required — A date string in ISO 8601 format
    - `chainId` integer, required
    - `txHash` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `expiresAt` string, required — A date string in ISO 8601 format
  - `pagination` object, required
    - `limit` integer, required
    - `offset` integer, required
    - `hasMore` boolean, required

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

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