> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openformat.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Information

> Returns the user's experience point (XP) balance, the badges they have collected and the actions they have completed within that specific dApp.

<video autoPlay muted controls loop playsInline className="w-full" src="https://mintcdn.com/openformat/vGurOUJG2onkcsD3/assets/nodes/get-user-information.mp4?fit=max&auto=format&n=vGurOUJG2onkcsD3&q=85&s=ec71afc3c3a65fcb693e04d7c52a6deb" data-path="assets/nodes/get-user-information.mp4" />

## Node Inputs

| Key            | Description                                                                            |
| -------------- | -------------------------------------------------------------------------------------- |
| `API Key`      | Your OPENFORMAT [API Key](https://app.openformat.tech/home/settings).                  |
| `dApp ID`      | The ID for your OPENFORMAT [dApp](https://app.openformat.tech/home/apps).              |
| `User Account` | The account address for the user who's information you want to find out e.g. 0xeed1... |

## Node Outputs

| Key                                  | Description                                    |
| ------------------------------------ | ---------------------------------------------- |
| `data.user_id`                       | The account address of the user.               |
| `data.xp_balance`                    | The experience points balance of the user.     |
| `data.collected_badges.id`           | The unique identifier of a collected badge.    |
| `data.collected_badges.name`         | The name of a collected badge.                 |
| `data.completed_actions.name`        | The name of a completed action.                |
| `data.completed_actions.createdAt`   | The timestamp when the action was completed.   |
| `data.completed_actions.xp_rewarded` | The experience points rewarded for the action. |

## What's next?

Now that you have retrieved the user's information, you can display their XP balance, collected badges, and completed actions in your frontend application like the example below:

<img src="https://mintcdn.com/openformat/vGurOUJG2onkcsD3/assets/nodes/frontend-profile-example.jpg?fit=max&auto=format&n=vGurOUJG2onkcsD3&q=85&s=e571d72adf63273208b28b6ebad9bf44" width="391" height="848" data-path="assets/nodes/frontend-profile-example.jpg" />
