## Parameters

### address

- **Type**: string  
- **Required**: Yes  
- **Pattern**: `^stake[a-z0-9]+$`  
- **Defaults to**: `stake1ux9sn560pz6skkjuhfz8s3j0a4wf9flxt00kfgfg3ngnnxsvzfw5q`  
- **Description**: A single public address to check

### fromTime

- **Type**: int64  
- **Required**: Yes  
- **Defaults to**: `1577836800`  
- **Description**: The Unix timestamp in seconds from which you wish to retrieve rewards.

### toTime

- **Type**: int64  
- **Required**: Yes  
- **Defaults to**: `1685491200`  
- **Description**: The Unix timestamp in seconds until which rewards are retrieved.

### timeUnit

- **Type**: string  
- **Enum**:  
  - `epoch`
  - `daily`
  - `weekly`
  - `monthly`  
- **Required**: Yes  
- **Description**: Represents how the rewards are aggregated.

## Responses

- **200**: Successful response  
- **400**: Invalid request  
- **404**: Resource not found

---

## Example Curl Command

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/reporting/staking/v1/cardano/mainnet/delegator/history/stake1ux9sn560pz6skkjuhfz8s3j0a4wf9flxt00kfgfg3ngnnxsvzfw5q \
     --header 'X-API-Key: ••••' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "fromTime": 1577836800,
  "toTime": 1685491200,
  "timeUnit": "epoch"
}
'
```
