# Get Whitelisted Addresses

## Get Whitelisted Addresses

<mark style="color:blue;">`GET`</mark> `https://api.cngn.co/v1/api/whitelisted`

Returns all wallet addresses that have been whitelisted for your merchant account.

#### Query Parameters

| Name           | Type    | Description                                               |
| -------------- | ------- | --------------------------------------------------------- |
| includeNetwork | boolean | Include network details in the response. Default: `false` |

{% tabs %}
{% tab title="200 Whitelisted addresses fetched successfully" %}

```json
{
  "status": 200,
  "message": "Whitelisted addresses fetched successfully",
  "data": [
    {
      "id": "clx1addr123",
      "networkId": "clx1network456",
      "publicKey": "0x1234567890abcdef1234567890abcdef12345678",
      "internalPublicKey": "0xdef456abc789...",
      "network": {
        "id": "clx1network456",
        "name": "Ethereum",
        "short_name": "ETH"
      },
      "created_at": "2025-06-15T10:30:00.000Z",
      "updated_at": "2025-06-15T10:30:00.000Z"
    }
  ]
}
```

{% endtab %}

{% tab title="400 Invalid request" %}

```json
{
  "status": 400,
  "message": "Invalid request"
}
```

{% endtab %}
{% endtabs %}

> The `network` object is only included when `includeNetwork=true`.

#### Example Request

```bash
curl -X GET "https://api.cngn.co/v1/api/whitelisted?includeNetwork=true" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"
```
