> For the complete documentation index, see [llms.txt](https://docs.hydromancer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydromancer.xyz/readme/rest-api/user-position-data.md).

# User position data

#### **Retrieving user's&#x20;**<mark style="background-color:green;">**perpetual accounts**</mark>**&#x20;summary**

{% content-ref url="/pages/8GtMwfBKVkjt1oF8NO2J" %}
[clearinghouseState](/readme/rest-api/user-position-data/clearinghousestate.md)
{% endcontent-ref %}

#### **Retrieving multiple users'&#x20;**<mark style="background-color:green;">**perpetual accounts**</mark>**&#x20;summary**

{% content-ref url="/pages/QoZnodKzgRSvYcIl0ycA" %}
[batchClearinghouseStates](/readme/rest-api/user-position-data/batchclearinghousestates.md)
{% endcontent-ref %}

#### **Retrieving user's asset data and leverage settings**

Includes available trade size, leverage on a given asset, and mark price.

{% content-ref url="/pages/y1C2hZW72aGfl9UyJrsQ" %}
[activeAssetData](/readme/rest-api/user-position-data/activeassetdata.md)
{% endcontent-ref %}

#### **Retrieving user's&#x20;**<mark style="background-color:orange;">**spot**</mark>**&#x20;summary**

{% content-ref url="/pages/UhcfGYdqlEc3AuwVuhNB" %}
[spotclearinghouseState](/readme/rest-api/user-position-data/spotclearinghousestate.md)
{% endcontent-ref %}

#### **Retrieving user's account abstraction mode**

{% content-ref url="/pages/inHz3xpIMzCp2VGWeIuK" %}
[userAbstraction](/readme/rest-api/user-position-data/userabstraction.md)
{% endcontent-ref %}

#### **Retrieving user's full portfolio state (perp + spot + abstraction mode)**

{% content-ref url="/pages/NkGZmiqskyXzzFxtk6Ws" %}
[portfolioState](/readme/rest-api/user-position-data/portfoliostate.md)
{% endcontent-ref %}

#### **Retrieving multiple users' full portfolio states (perp + spot + abstraction mode)**

{% content-ref url="/pages/gcgNOVuR9YI3Rk9lgt8z" %}
[batchPortfolioStates](/readme/rest-api/user-position-data/batchportfoliostates.md)
{% endcontent-ref %}

#### **Retrieve web data**

{% content-ref url="/pages/HG2Lubojmc9FYNAtKwJI" %}
[webData2](/readme/rest-api/user-position-data/webdata2.md)
{% endcontent-ref %}
