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

# Get Provider Balance

> Get LP share balance and current USDC value for a provider

Returns on-chain LP data when available, falling back to the database record.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>
<ParamField path="provider" type="string" required>Provider wallet address.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/provider-balance/0x123...456" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "shares": "50000.000000000000000000",
      "currentValue": "51250.000000",
      "deposited": "50000.000000",
      "source": "onchain"
    }
  }
  ```
</ResponseExample>
