> ## Documentation Index
> Fetch the complete documentation index at: https://wpay-feat-edp-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List and filter transactions

> List transactions by ID, label, and other filters.

All transactions can be listed by calling the [`GET /transactions`][api] API.

<CodeGroup>
  ```bash cURL
  curl -i -X GET "https://api.example.gr4vy.app/transactions" \
      -H "Authorization: Bearer [JWT_TOKEN]"
  ```

  ```js Node
  var fetch = require("node-fetch");

  fetch("https://api.example.gr4vy.app/transactions", {
    method: "GET",
    headers: {
      Authorization: "Bearer [JWT_TOKEN]",
    },
  });
  ```
</CodeGroup>

The response includes a list of transactions as well as a cursor that points to
the next and previous page of results.

## Filter transactions

The [`GET /transactions`][api] API supports various query parameters to filter
the results. For example, the `external_identifier` query parameter can be used to find
results by the transaction's `external_identifier`.

<CodeGroup>
  ```bash cURL
  curl -i -X GET "https://api.example.gr4vy.app/transactions?external_identifier=fe26475d-ec3e-4884-9553-f7356683f7f9" \
      -H "Authorization: Bearer [JWT_TOKEN]"
  ```

  ```js Node
  var fetch = require("node-fetch");

  fetch(
    "https://api.example.gr4vy.app/transactions?external_identifier=fe26475d-ec3e-4884-9553-f7356683f7f9",
    {
      method: "GET",
      headers: {
        Authorization: "Bearer [JWT_TOKEN]",
      },
    }
  );
  ```
</CodeGroup>

[api]: /reference/transactions/list-transactions
