---
title: "My Stakes List"
method: GET
path: "/api/{portalId}/my-stakes"
tags: ["Token"]
---

# My Stakes List

`GET /api/{portalId}/my-stakes`

## Request

- Base URL: `https://portal-api.magna.so`
- URL: `https://portal-api.magna.so/api/{portalId}/my-stakes`
- Auth: none declared

Returns a list of user stakes for a given wallet and staking pool id

## Path parameters

- `portalId` string, uuid, required

## Query parameters

- `wallet` string, required
- `stakingPoolId` string

## Headers

- `cursor` number: cursor for pagination; not required for the first page; for subsequent pages, use the cursor from the previous response (x-cursor response header)

## Response `200`

Ok

- object[]: Ok
  - `id` string, uuid, required: unique stake id
  - `amount` string, required: number of tokens staked
  - `claimable` string, required: number of claimable token rewards
  - `withdrawable` string, required: number of withdrawable tokens
  - `status` 'PENDING' | 'UNSTAKED' | 'ACTIVE' | 'FAILED', required: stake status
  - `poolId` string, uuid, required: staking pool id
  - `createdAt` string, required: staking date
  - `pendingWithdraws` object[], required
    - `amount` string, required: number of tokens
    - `unlockAt` string, required: staking date
    - `type` 'CLAIM_REWARDS' | 'UNSTAKE', required

## Other responses

- `400`: Client Error
- `500`: Server Error
- `502`: Upstream Error — the portal configuration service could not be reached. Safe to retry.

---

[API](https://skmtc.dev/magna/apis/magna-portal-api.md) - [All operations](https://skmtc.dev/magna/apis/magna-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magna/apis/magna-portal-api/revisions/50f736d73198?raw)
