POST
/
reports
/
stake
/
orders
curl --request POST \
  --url https://api.copper.co/platform/reports/stake/orders \
  --header 'Content-Type: application/json' \
  --data '{
  "portfolioIds": "portfolioId1,portfolioId2",
  "portfolioTypes": "custody,external",
  "reportType": "rewards",
  "terminatedAtFrom": "<string>",
  "terminatedAtTo": "<string>"
}'
{}

Body

application/json
terminatedAtTo
string
required

Timestamp in milliseconds of when orders were terminated to

portfolioIds
string[]

List of portfolio ids for the report

Example:

"portfolioId1,portfolioId2"

portfolioTypes
enum<string>[]

List of portfolio types for the report. See details

Available options:
custody,
trading-vault,
trading,
external,
clearloop
Example:

"custody,external"

reportType
enum<string>

Report type. See details

Available options:
rewards,
staking-orders
terminatedAtFrom
string

Timestamp in milliseconds of when orders were terminated from

Response

200
application/json
OK

The response is of type object.