> For the complete documentation index, see [llms.txt](https://docs-tron.en.tronify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tron.en.tronify.io/stakepal-api/query-claim-revenue-records.md).

# Query Claim/Revenue Records

### Endpoint usage

<mark style="color:green;">`POST`</mark> `https://open.tronify.io/api/staking/claimRewardRecords`

The fields with \* are required, and the fields without \* are optional

#### Request Body

| Name                                         | Type   | Description                                                |
| -------------------------------------------- | ------ | ---------------------------------------------------------- |
| address<mark style="color:red;">\*</mark>    | String | User wallet address                                        |
| sourceFlag<mark style="color:red;">\*</mark> | String | Source identifier                                          |
| orderType<mark style="color:red;">\*</mark>  | String | `tb` – claim revenue, `fee` – fee, `reward` – daily reward |
| page                                         | Number | Page number, default 1                                     |
| pageSize<mark style="color:red;">\*</mark>   | Number | Number of records per page                                 |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "resCode": 100,
  "resMsg": "Success",
  "data": {
    "data": [
      {
        "orderId": "tb_......8_19",
        "delegateOrderId": "le.....f7432",
        "sellerAddress": "T...",
        "pledgeAddress": "T...",
        "rewardNum": 2.5,
        "rewardAddress": "T...",
        "rewardHash": "...",
        "orderStatus": "wait_receive_send",
        "createTime": "2026-08-19 09:00:00"
      }
    ],
    "pagination": { "page": 1, "pageSize": 10, "total": 1, "totalReward": 0.5 }
  }
}

```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### code example

{% tabs %}
{% tab title="JavaScript" %}

```
// example
const params = {
    "address": "Txxxxxxxxxxxxxxxxx",
    "sourceFlag": "tronify",
    "page": 1,
    "pageSize": 10,
    "orderType": "fee"
}
 const res = await axios.post('https://open.tronify.io/api/staking/claimRewardRecords',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }
```

{% endtab %}
{% endtabs %}

### Postman example

<figure><img src="https://3188465811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnv0Qbx2yTtH3TKQFd528%2Fuploads%2Fi3KZQnQCw0o6e3uUDaHE%2Fimage.png?alt=media&amp;token=fb8704f2-1820-452d-a183-ec1cf11b205d" alt=""><figcaption></figcaption></figure>
