> For the complete documentation index, see [llms.txt](https://docs.lootlocker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lootlocker.com/commerce/catalogs/how-to/list-all-catalogs.md).

# 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](/the-basics/readme.md)
* [Catalogs configured in the LootLocker web console](/commerce/catalogs/how-to/setup-catalogs.md)
* [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="/files/S3C3AtLvOXUzh9f5HTkt" 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](/commerce/catalogs/how-to/setup-ingame-catalog-store.md), and more.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lootlocker.com/commerce/catalogs/how-to/list-all-catalogs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
