# List all Catalogs

Listing the available Catalogs for your game can be a good way of making sure the Catalogs you're going to use, are available.

## Prerequisites

Before we can list the catalogs, please ensure you have completed the following steps beforehand:

* [A game created in the LootLocker web console](https://docs.lootlocker.com/the-basics/readme)
* [Catalogs configured in the LootLocker web console](https://docs.lootlocker.com/commerce/catalogs/how-to/setup-catalogs)
* [A player with an active LootLocker game session](https://github.com/lootlocker/gitbook-sync/blob/main/commerce/authentication/README.md)

## In-game implementation

{% tabs %}
{% tab title="Unity" %}

```csharp
LootLockerSDKManager.ListCatalogs((response) =>
{
    if (!response.success)
    {
        Debug.Log("Could not List Catalogs");
        return;
    }

    foreach(var catalog in response.catalogs)
    {
        Debug.Log(catalog.name);
        Debug.Log(catalog.key);
        Debug.Log(catalog.id);
    }
});
```

{% endtab %}

{% tab title="Unreal" %}

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-fa0eaaaa9ee72824cc0ac42d025c3819d843c47d%2Funreal-bp-catalog-list-catalogs.png?alt=media" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/30hp126-/">Blueprint example of listing catalog items</a></p></figcaption></figure>
{% endtab %}

{% tab title="REST" %}

```bash
curl -X GET 'https://api.lootlocker.io/game/catalogs/' \
-H 'x-session-token: {token}' \
-H "Content-Type: application/json"
```

{% endtab %}
{% endtabs %}

## Conclusion

In this how to, we have set up a way for you to list all your available catalogs, at this point, you can sort the catalogs, [set up UI for a store](https://docs.lootlocker.com/commerce/catalogs/how-to/setup-ingame-catalog-store), and more.
