Skip to main content
GET
/
exchange
/
transactions
Get transaction data for a specific exchange by portfolioId.
curl --request GET \
  --url https://openapiv1.coinstats.app/exchange/transactions \
  --header 'X-API-KEY: <api-key>'
{
  "meta": {
    "page": 1,
    "limit": 10
  },
  "result": [
    {
      "type": "Sent",
      "date": "2025-06-07T11:58:11.000Z",
      "mainContent": {
        "coinIcons": [
          "https://static.coinstats.app/coins/1650455629727.png"
        ],
        "coinAssets": []
      },
      "coinData": {
        "count": -0.00636637,
        "symbol": "ETH",
        "currentValue": 29.21596436513665
      },
      "profitLoss": {
        "profit": -13.414468590167441,
        "profitPercent": -84.44241338814263,
        "currentValue": 29.21596436513665
      },
      "transactions": [
        {
          "action": "Sent",
          "items": [
            {
              "id": "publicApi_0_0x3f1A9B2c5E4C7d9F8E23bC19A8A6c77B10e62E5dGROUP436a0bddwithdraw",
              "count": -0.00636637,
              "totalWorth": 15.88593699768782,
              "coin": {
                "id": "ethereum",
                "name": "Ethereum",
                "symbol": "ETH",
                "icon": "https://static.coinstats.app/coins/1650455629727.png"
              }
            }
          ]
        }
      ],
      "fee": {
        "coin": {
          "id": "ethereum",
          "name": "Ethereum",
          "symbol": "ETH",
          "icon": "https://static.coinstats.app/coins/1650455629727.png"
        },
        "count": 0.000033840249219,
        "totalWorth": 0.08444122271861178
      },
      "hash": {
        "id": "0xc969639a5c08179c32326b5d9e8bb73f34beeb5566b7e7a6a411d38ee4c77ba4",
        "explorerUrl": "https://etherscan.io/tx/0xc969639a5c08179c32326b5d9e8bb73f34beeb5566b7e7a6a411d38ee4c77ba4"
      }
    }
  ]
}
4 credits per request
Make sure the exchange is synced first by calling PATCH /sync for up to date infromation.

Authorizations

X-API-KEY
string
header
required

API key needed to access the endpoints. Example: 'demo-api-key'

Query Parameters

page
number

Page number to retrieve (1-based indexing)

Example:

1

limit
number

Number of items to return per page

Example:

20

from
string<date-time>

Please include the date in ISO 8601 format

Example:

"2025-10-01T10:37:00.079Z"

to
string<date-time>

Please include the date in ISO 8601 format

Example:

"2025-10-02T12:37:00.079Z"

currency
string
Example:

"USD"

types
string

Comma separated values of (deposit,withdraw,approve,executed,balance,fee)

portfolioId
string
required

The identifier of portfolio, which you received from Exchange Balance response.

Example:

"618f0bb0f2cf07dce25bc5007750bf1646825509bb63519bd491ab6a56daa419"

Response

Get exchange transactions

meta
object
required

Pagination metadata including total count and current page information

Example:
{ "page": 1, "limit": 10 }
result
object[]
required

Array of transaction records

Example:
[
{
"type": "Sent",
"date": "2025-06-07T11:58:11.000Z",
"mainContent": {
"coinIcons": [
"https://static.coinstats.app/coins/1650455629727.png"
],
"coinAssets": []
},
"coinData": {
"count": -0.00636637,
"symbol": "ETH",
"currentValue": 29.21596436513665
},
"profitLoss": {
"profit": -13.414468590167441,
"profitPercent": -84.44241338814263,
"currentValue": 29.21596436513665
},
"transactions": [
{
"action": "Sent",
"items": [
{
"id": "publicApi_0_0x3f1A9B2c5E4C7d9F8E23bC19A8A6c77B10e62E5dGROUP436a0bddwithdraw",
"count": -0.00636637,
"totalWorth": 15.88593699768782,
"coin": {
"id": "ethereum",
"name": "Ethereum",
"symbol": "ETH",
"icon": "https://static.coinstats.app/coins/1650455629727.png"
}
}
]
}
],
"fee": {
"coin": {
"id": "ethereum",
"name": "Ethereum",
"symbol": "ETH",
"icon": "https://static.coinstats.app/coins/1650455629727.png"
},
"count": 0.000033840249219,
"totalWorth": 0.08444122271861178
},
"hash": {
"id": "0xc969639a5c08179c32326b5d9e8bb73f34beeb5566b7e7a6a411d38ee4c77ba4",
"explorerUrl": "https://etherscan.io/tx/0xc969639a5c08179c32326b5d9e8bb73f34beeb5566b7e7a6a411d38ee4c77ba4"
}
}
]
I