Getting Started
Copy Trades
Position Statistics
Wallets
Activity Logs
Retrieve activity logs with pagination
curl --request POST \
--url https://api.copin.io/activity-logs/page \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"pagination": {
"limit": 123,
"offset": 123
},
"sortBy": "<string>",
"sortType": "<string>"
}'
{
"data": [
{
"id": "<string>",
"protocol": "<string>",
"sourceAccount": "<string>",
"userId": "<string>",
"copyOrderId": "<string>",
"copyTradeTitle": "<string>",
"exchange": "<string>",
"indexToken": "<string>",
"pair": "<string>",
"price": 123,
"sourcePrice": 123,
"copyTradeId": "<string>",
"volume": 123,
"leverage": 123,
"isLong": true,
"type": "<string>",
"isSuccess": true,
"sourceTxHash": "<string>",
"copyWalletId": "<string>",
"copyWalletName": "<string>",
"cexOrderId": "<string>",
"isReverse": true,
"copyPositionId": "<string>",
"createdAt": "<string>"
}
],
"meta": {
"limit": 123,
"offset": 123,
"total": 123,
"totalPages": 123
}
}
Authentication
This endpoint requires authentication using a JWT token in the Authorization header.
JWT token in the format: Authorization {token}
Request Body
Field to sort the results by
Sort direction, either “asc” or “desc”
Request Example
curl --request POST \
--url "https://api.copin.io/activity-logs/page?limit=20&offset=0" \
--header 'Content-Type: application/json' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjB4MTUzNTQ4NGMxRWVjMUQyMDNmRTFBNTNFQTExYTYyMWE4ODRBRTA2NyIsInRpbWUiOjE3NDQ2MjYxNjIzODksImFjY2VzcyI6IlVmTkNiTWhMVVMxNzQ0NjI2MTYyMzkwIiwiaWF0IjoxNzQ0NjI2MTYyLCJleHAiOjE3NDUyMzA5NjJ9.LpvhBdxyfehzom-v5tKumAqCptSMkVk7HVKKVtjSpk8' \
--data '{"pagination":{"limit":20,"offset":0},"sortBy":"createdAt","sortType":"desc"}'
Response
The response includes a data array containing activity log objects and a meta object with pagination information.
Array of activity log objects
Unique identifier for the activity log
Protocol used for the activity
The source account address that was copied from
Identifier of the user who owns this activity
Identifier of the copy order
Display name of the copy trade configuration
Exchange where the activity occurred
Token identifier for the indexed token
Trading pair (e.g., “ETH-USDT”)
Execution price for the activity
Price in the source transaction
Identifier of the copy trade configuration
Volume amount for the activity
Leverage used for the activity
Whether the position is long (true) or short (false)
Type of activity (e.g., “OPEN”, “CLOSE”)
Whether the activity was successful
Transaction hash from the source
Identifier of the copy wallet
Name of the copy wallet
Order ID in the centralized exchange, if applicable
Whether this is a reverse copy
Identifier of the copy position
Timestamp when the activity occurred
Response Example
{
"data": [
{
"id": "67fa2b4990b940181641703e",
"protocol": "AVANTIS_BASE",
"sourceAccount": "0x196ae16A9387a3Dc5De811467A2E37D7FeBeD304",
"userId": "654849d04857e1f744646cdd",
"copyOrderId": "67fa2b4990b940181641703c",
"copyTradeTitle": "Wink tongue",
"exchange": "HYPERLIQUID",
"indexToken": "AVANTIS_BASE-0",
"pair": "ETH-USDT",
"price": 1591.31,
"sourcePrice": 1591.47167907,
"copyTradeId": "67cd2e99b302b7331a29173a",
"volume": 0.01,
"leverage": 10,
"isLong": true,
"type": "CLOSE",
"isSuccess": true,
"sourceTxHash": "0x82f26df0738da549e0491c298a4619da0b0b71797ce01a44ead626b2ea0ae240",
"copyWalletId": "67b1a1df64f2f57162f1cab5",
"copyWalletName": "Copin Lite",
"cexOrderId": "c65fdd5a-ae66-4a12-a27f-0b3e4055f261",
"isReverse": false,
"copyPositionId": "67fa2a77839d60c22debe83e",
"createdAt": "2025-04-12T08:58:49.703Z"
},
{
"id": "67fa2a77839d60c22debe845",
"protocol": "AVANTIS_BASE",
"sourceAccount": "0x196ae16A9387a3Dc5De811467A2E37D7FeBeD304",
"userId": "654849d04857e1f744646cdd",
"copyOrderId": "67fa2a77839d60c22debe841",
"copyTradeTitle": "Wink tongue",
"exchange": "HYPERLIQUID",
"indexToken": "AVANTIS_BASE-0",
"pair": "ETH-USDT",
"price": 1592.36,
"sourcePrice": 1593.072615343,
"copyTradeId": "67cd2e99b302b7331a29173a",
"volume": 0.01,
"leverage": 10,
"isLong": true,
"type": "OPEN",
"isSuccess": true,
"sourceTxHash": "0x317efa7839f5ab4fe6c6b81e5feb21d1c0909a0e6d0c833c2a9ebbe75e0327ae",
"copyWalletId": "67b1a1df64f2f57162f1cab5",
"copyWalletName": "Copin Lite",
"cexOrderId": "6a5b43dc-5de3-4e47-b051-1ca9f28f00f1",
"isReverse": false,
"copyPositionId": "67fa2a77839d60c22debe83e",
"createdAt": "2025-04-12T08:55:19.827Z"
}
],
"meta": {
"limit": 20,
"offset": 0,
"total": 2,
"totalPages": 2
}
}
curl --request POST \
--url https://api.copin.io/activity-logs/page \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"pagination": {
"limit": 123,
"offset": 123
},
"sortBy": "<string>",
"sortType": "<string>"
}'
{
"data": [
{
"id": "<string>",
"protocol": "<string>",
"sourceAccount": "<string>",
"userId": "<string>",
"copyOrderId": "<string>",
"copyTradeTitle": "<string>",
"exchange": "<string>",
"indexToken": "<string>",
"pair": "<string>",
"price": 123,
"sourcePrice": 123,
"copyTradeId": "<string>",
"volume": 123,
"leverage": 123,
"isLong": true,
"type": "<string>",
"isSuccess": true,
"sourceTxHash": "<string>",
"copyWalletId": "<string>",
"copyWalletName": "<string>",
"cexOrderId": "<string>",
"isReverse": true,
"copyPositionId": "<string>",
"createdAt": "<string>"
}
],
"meta": {
"limit": 123,
"offset": 123,
"total": 123,
"totalPages": 123
}
}