> For the complete documentation index, see [llms.txt](https://docs.12cbbd8f58-hosting.gitbook.io.cryptocadet.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.12cbbd8f58-hosting.gitbook.io.cryptocadet.app/user-api/user-get-ref.md).

# /user/get-ref

```javascript
await axios.post(`https://api.cryptocadet.app/api/user/get-ref`, {
apiKey,
refCode
})
```

{% tabs %}
{% tab title="Parameters" %}
apiKey: Vxusewjwhjwrhkwwj181ksl

refCode: 84xh24p
{% endtab %}

{% tab title="Response" %}
Status: 200

Data: {walletAddress, percent}
{% endtab %}
{% endtabs %}
