Skip to content
🎉 Welcome to atWallets Ecosystem! Visit AirDrop Rewards
Raydar API

Raydar API

A robust data infrastructure providing everything you need for crypto.

airdrops

ListMyAirdrops

Response Example:

{
  "items": [
    {
      "completed": true,
      "earnings": [
        {
          "amount": "string",
          "createdAt": "string",
          "meta": null
        }
      ],
      "method": "REGISTER,CONNECT,PAY,REFER,SHARE,B2B",
      "methodCap": 0,
      "methodTotal": "string"
    }
  ],
  "itemsCount": 0,
  "totalEarn": "string"
}

GetAirdropSummary

Response Example:

{
  "methodTotals": [
    {
      "amount": "string",
      "method": "REGISTER,CONNECT,PAY,REFER,SHARE,B2B"
    }
  ],
  "totalCountries": 0,
  "totalDistributed": "string",
  "totalRecipients": 0,
  "totalUsers": 0
}
alarms

GetAlarms

  • Url: https://api.test.raydar.app/swagger/index.html#/alarms/GetAlarms
  • The endpoint used is /v1/alarms [get]
  • This endpoint Returns a list of the user’s alarms
  • Query parameters accepted: offset, limit, isActive, and isTrigger.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • isActive: Active alarm
    • isTrigger: Trigger alarm

Response Example:

{
  "alarms": [
    {
      "alarmType": "string",
      "asset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "condition": "string",
      "createdAt": 0,
      "currentValue": "string",
      "exchanges": [
        {
          "baseUrl": "string",
          "credentialInfo": {},
          "exchangeBaseAsset": "string",
          "exchangeIcon": "string",
          "exchangeLogo": "string",
          "id": 0,
          "info": {},
          "mobileIcon": "string",
          "mobileLogo": "string",
          "name": "string"
        }
      ],
      "id": 0,
      "isActive": true,
      "isTrigger": true,
      "symbol": {
        "baseAsset": 0,
        "id": 0,
        "name": "string",
        "targetAsset": 0
      },
      "updatedAt": 0,
      "userId": 0,
      "value": "string",
      "valueType": "string"
    }
  ],
  "itemCount": 0
}

CreateAlarm

Response Example:

{
  "alarmType": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "condition": "string",
  "createdAt": 0,
  "currentValue": "string",
  "exchanges": [
    {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    }
  ],
  "id": 0,
  "isActive": true,
  "isTrigger": true,
  "symbol": {
    "baseAsset": 0,
    "id": 0,
    "name": "string",
    "targetAsset": 0
  },
  "updatedAt": 0,
  "userId": 0,
  "value": "string",
  "valueType": "string"
}

GetAlarm

Response Example:

{
  "alarmType": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "condition": "string",
  "createdAt": 0,
  "currentValue": "string",
  "exchanges": [
    {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    }
  ],
  "id": 0,
  "isActive": true,
  "isTrigger": true,
  "symbol": {
    "baseAsset": 0,
    "id": 0,
    "name": "string",
    "targetAsset": 0
  },
  "updatedAt": 0,
  "userId": 0,
  "value": "string",
  "valueType": "string"
}

UpdateAlarm

Response Example:

{
  "alarmType": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "condition": "string",
  "createdAt": 0,
  "currentValue": "string",
  "exchanges": [
    {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    }
  ],
  "id": 0,
  "isActive": true,
  "isTrigger": true,
  "symbol": {
    "baseAsset": 0,
    "id": 0,
    "name": "string",
    "targetAsset": 0
  },
  "updatedAt": 0,
  "userId": 0,
  "value": "string",
  "valueType": "string"
}

DeleteAlarm

Response Example:

"string"
assets

GetAssets

  • Url: https://api.test.raydar.app/swagger/index.html#/assets/GetAssets
  • The endpoint used is /v1/assets [get]
  • This endpoint allows for getting assets with optional filtering, pagination, and sorting. You can search by asset code, paginate results, and sort by asset code.
  • Query parameters accepted: offset, limit, search, and sort.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • search: Search asset by code
    • sort: Sort By enums(code, code-, name, name-)

Response Example:

{
  "assets": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string"
    }
  ],
  "itemCount": 0
}

GetAsset

Response Example:

{
  "code": "string",
  "icon": "string",
  "id": 0,
  "name": "string"
}
users

LoginUser

Response Example:

{
  "access_token": "string",
  "expires_in": 0,
  "id_token": "string",
  "not-before-policy": 0,
  "refresh_expires_in": 0,
  "refresh_token": "string",
  "scope": "string",
  "session_state": "string",
  "token_type": "string"
}

LogOut

  • Url: https://api.test.raydar.app/swagger/index.html#/users/LogOut
  • The endpoint used is /v1/auth/logout [post]
  • This endpoint allows the authenticated user to log out. It invalidates the provided refresh token, preventing further use.
  • Body parameters accepted: request.
    • request: Request body containing the refresh token to invalidate

Response Example:

"string"

RefreshToken

Response Example:

{
  "access_token": "string",
  "expires_in": 0,
  "id_token": "string",
  "not-before-policy": 0,
  "refresh_expires_in": 0,
  "refresh_token": "string",
  "scope": "string",
  "session_state": "string",
  "token_type": "string"
}

CreateUser

Response Example:

{
  "accountType": "string",
  "allowMailNotifications": true,
  "country": "string",
  "currency": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string",
    "symbol": "string"
  },
  "email": "string",
  "firstname": "string",
  "id": 0,
  "isMarried": true,
  "lastLoginAt": "string",
  "lastLoginDevice": "string",
  "lastname": "string",
  "phone": "string",
  "referenceBy": "string",
  "referenceNo": "string",
  "region": 0,
  "totalTokens": "string"
}

GetUser

Response Example:

{
  "accountType": "string",
  "allowMailNotifications": true,
  "country": "string",
  "currency": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string",
    "symbol": "string"
  },
  "email": "string",
  "firstname": "string",
  "id": 0,
  "isMarried": true,
  "lastLoginAt": "string",
  "lastLoginDevice": "string",
  "lastname": "string",
  "phone": "string",
  "referenceBy": "string",
  "referenceNo": "string",
  "region": 0,
  "totalTokens": "string"
}

UpdateUser

Response Example:

{
  "accountType": "string",
  "allowMailNotifications": true,
  "country": "string",
  "currency": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string",
    "symbol": "string"
  },
  "email": "string",
  "firstname": "string",
  "id": 0,
  "isMarried": true,
  "lastLoginAt": "string",
  "lastLoginDevice": "string",
  "lastname": "string",
  "phone": "string",
  "referenceBy": "string",
  "referenceNo": "string",
  "region": 0,
  "totalTokens": "string"
}

DeleteUser

Response Example:

"string"

MyArbitrage

  • Url: https://api.test.raydar.app/swagger/index.html#/users/MyArbitrage
  • The endpoint used is /v1/users/me/arbitrage [get]
  • This endpoint allows for getting the arbitrage details of a user, including the balances across multiple exchanges and the total available for each coin.
  • Query parameters accepted: offset, limit, and search.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • search: Search by asset code

Response Example:

{
  "arbitrage": [
    {
      "coin": {
        "allExchangesTotal": "string",
        "asset": {
          "code": "string",
          "icon": "string",
          "id": 0,
          "name": "string"
        }
      },
      "exchanges": [
        {
          "coinTotal": "string",
          "exchange": {
            "baseUrl": "string",
            "credentialInfo": {},
            "exchangeBaseAsset": "string",
            "exchangeIcon": "string",
            "exchangeLogo": "string",
            "id": 0,
            "info": {},
            "mobileIcon": "string",
            "mobileLogo": "string",
            "name": "string"
          }
        }
      ]
    }
  ],
  "itemCount": 0
}

AssetsOverview

  • Url: https://api.test.raydar.app/swagger/index.html#/users/AssetsOverview
  • The endpoint used is /v1/users/me/assets/overview [get]
  • This endpoint retrieves an overview of the user’s assets, including profitable and loss coins, open and closed orders, and the total coin count. Optionally, an exchange ID can be provided to filter the overview by exchange.
  • Query parameters accepted: exchangeId, and walletId.
    • exchangeId: Exchange ID
    • walletId: Wallet ID

Response Example:

{
  "closeOrdersCount": 0,
  "lossCoinCount": 0,
  "openOrdersCount": 0,
  "profitableCoinCount": 0,
  "totalCoinCount": 0,
  "totalLossAmount": "string",
  "totalProfitAmount": "string"
}

MyBalances

  • Url: https://api.test.raydar.app/swagger/index.html#/users/MyBalances
  • The endpoint used is /v1/users/me/balances [get]
  • This endpoint allows for getting the balances of a user.
  • Query parameters accepted: offset, limit, walletId, type, coin, and sort.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • walletId: Wallet ID
    • type: Balance Type enums(SPOT, MARGIN, FUTURE, EARN)
    • coin: Coin Code
    • sort: Sort By enums(total, total-, amount, amount-, apl, apl-, avgCost, avgCost-, totalCost, totalCost-, aplPercentage, aplPercentage-, assetName, assetName-, assetCode, assetCode-)

Response Example:

{
  "balances": [
    {
      "amount": "string",
      "amountBtc": "string",
      "apl": "string",
      "aplPercentage": "string",
      "asset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "available": "string",
      "avgCost": "string",
      "balanceType": "string",
      "closeOrdersCount": 0,
      "exchangeId": 0,
      "extraCoinsNeededCount": "string",
      "extraCoinsNeededProfit": "string",
      "id": 0,
      "isManual": true,
      "openOrdersCount": 0,
      "total": "string",
      "totalCost": "string",
      "volume24H": "string",
      "volumeBtc24H": "string",
      "wallet": {
        "exchange": {
          "baseUrl": "string",
          "credentialInfo": {},
          "exchangeBaseAsset": "string",
          "exchangeIcon": "string",
          "exchangeLogo": "string",
          "id": 0,
          "info": {},
          "mobileIcon": "string",
          "mobileLogo": "string",
          "name": "string"
        },
        "id": 0,
        "name": "string"
      }
    }
  ],
  "itemCount": 0
}

MyCoins

  • Url: https://api.test.raydar.app/swagger/index.html#/users/MyCoins
  • The endpoint used is /v1/users/me/coins [get]
  • This endpoint retrieves the list of coins associated with the authenticated user. It allows for pagination and filtering by coin ID, exchange ID, wallet ID, balance type, and sorting by various fields.
  • Query parameters accepted: offset, limit, coin, exchangeId, walletId, type, and sort.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • coin: Coin Code
    • exchangeId: Exchange ID
    • walletId: Wallet ID
    • type: Balance type enums(SPOT, MARGIN, FUTURE, EARN)
    • sort: Sort by field default(amount-) enums(total, total-, amount, amount-, exchangeCount, exchangeCount-, apl, apl-, avgCost, avgCost-, totalCost, totalCost-, aplPercentage, aplPercentage-, assetName, assetName-, assetCode, assetCode-)

Response Example:

{
  "coins": [
    {
      "amount": "string",
      "amountBtc": 0,
      "apl": "string",
      "aplPercentage": "string",
      "avgCost": "string",
      "code": "string",
      "exchangeCount": 0,
      "exchangeUrls": [
        "string"
      ],
      "hasAlarm": true,
      "icon": "string",
      "id": 0,
      "isFavorite": true,
      "lastTradeTime": 0,
      "name": "string",
      "openOrdersCount": 0,
      "total": "string",
      "totalCost": "string",
      "tradePrice": "string"
    }
  ],
  "itemCount": 0
}

MyFavoriteCoins

Response Example:

{
  "assets": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string"
    }
  ],
  "itemCount": 0
}

AddFavoriteCoins

Response Example:

{
  "code": 0,
  "error": "string"
}

RemoveFavoriteCoins

Response Example:

"string"

MyPopularCoins

Response Example:

{
  "assets": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string"
    }
  ],
  "itemCount": 0
}

MyCoin

Response Example:

{
  "coins": [
    {
      "amount": "string",
      "amountBtc": "string",
      "code": "string",
      "exchange": {
        "baseUrl": "string",
        "credentialInfo": {},
        "exchangeBaseAsset": "string",
        "exchangeIcon": "string",
        "exchangeLogo": "string",
        "id": 0,
        "info": {},
        "mobileIcon": "string",
        "mobileLogo": "string",
        "name": "string"
      },
      "icon": "string",
      "id": 0,
      "isFavorite": true,
      "name": "string",
      "total": "string"
    }
  ]
}

MyAssetFilters

Response Example:

{
  "assets": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string"
    }
  ],
  "itemCount": 0
}

DepositWithdrawalChart

Response Example:

{
  "data": [
    {
      "deposit": "string",
      "name": "string",
      "withdraw": "string"
    }
  ]
}

MyExchanges

  • Url: https://api.test.raydar.app/swagger/index.html#/users/MyExchanges
  • The endpoint used is /v1/users/me/exchanges [get]
  • This endpoint retrieves details of user’s exchanges based on given filters and sorting.
  • Query parameters accepted: offset, limit, coin, exchangeId, and sort.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • coin: Coin Code
    • exchangeId: Exchange ID
    • sort: Sort by field default(amount-) enums(amount, amount-, coinCount, coinCount-, apl, apl-, aplPercentage, aplPercentage-, avgCost, avgCost-, totalCost, totalCost-, name, name-)

Response Example:

{
  "exchanges": [
    {
      "amount": "string",
      "amountBtc": "string",
      "apl": "string",
      "aplPercentage": "string",
      "avgCost": "string",
      "closeOrderCount": 0,
      "coinCount": 0,
      "coinIcons": [
        "string"
      ],
      "icon": "string",
      "id": 0,
      "logo": "string",
      "lossCoinCount": 0,
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string",
      "openOrderCount": 0,
      "price": "string",
      "profitableCoinCount": 0,
      "totalCoin": "string",
      "totalCost": "string",
      "totalLossAmount": "string",
      "totalProfitAmount": "string"
    }
  ],
  "itemCount": 0
}

GetDataImports

  • Url: https://api.test.raydar.app/swagger/index.html#/users/GetDataImports
  • The endpoint used is /v1/users/me/imports [get]
  • This endpoint retrieves manual data import requests.
  • Query parameters accepted: offset, limit, and dataType.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • dataType: Data Import Type enums(trade, transferIn, transferOut)

Response Example:

{
  "dataImports": [
    {
      "completedAt": 0,
      "createdAt": 0,
      "dataType": "string",
      "exchangeName": "string",
      "failReason": "string",
      "id": 0,
      "retryCount": 0,
      "status": "string",
      "totalRecord": 0,
      "updatedAt": 0,
      "walletId": 0
    }
  ],
  "itemCount": 0
}

ImportData

  • Url: https://api.test.raydar.app/swagger/index.html#/users/ImportData
  • The endpoint used is /v1/users/me/imports/{walletId} [post]
  • This endpoint allows users to import manual transaction data from a CSV or XLS file into a specified wallet.
  • Path parameters accepted: walletId.
    • walletId: Wallet ID to associate with the imported data
  • Formdata parameters accepted: walletType, startingYear, dateLayout, dataType, and file.
    • walletType: Wallet Type enums(SPOT, MARGIN, FUTURE)
    • startingYear: Year to start importing
    • dateLayout: Date layout enums(DD-MM-YY, DD-MM-YYYY, MM-DD-YY, MM-DD-YYYY, YY-MM-DD, YYYY-MM-DD)
    • dataType: Data Type enums(trade, transferIn, transferOut)
    • file: CSV or XLS or XLSX file

Response Example:

{
  "completedAt": 0,
  "createdAt": 0,
  "dataType": "string",
  "exchangeName": "string",
  "failReason": "string",
  "id": 0,
  "retryCount": 0,
  "status": "string",
  "totalRecord": 0,
  "updatedAt": 0,
  "walletId": 0
}

MyMembership

Response Example:

{
  "expirationAt": 0,
  "id": 0,
  "isActive": true,
  "membership": {
    "attributes": {},
    "basePrice": "string",
    "description": {},
    "id": 0,
    "isActive": true,
    "name": "string",
    "period": 0,
    "price": "string",
    "type": "string"
  },
  "price": "string",
  "userId": 0
}

GetUserNotifications

Response Example:

{
  "itemCount": 0,
  "notifications": [
    {
      "createdAt": 0,
      "id": 0,
      "isRead": true,
      "message": "string",
      "updatedAt": 0,
      "userId": 0
    }
  ]
}

ReadAllNotification

Response Example:

"string"

ReadNotification

Response Example:

"string"

UpdateUserPassword

Response Example:

"string"

MyPayments

Response Example:

{
  "itemCount": 0,
  "transactions": [
    {
      "createdAt": 0,
      "id": 0,
      "referenceNo": "string",
      "status": "string",
      "updatedAt": 0
    }
  ]
}

MyStats

Response Example:

{
  "dailySyncCount": 0,
  "id": 0,
  "membershipDailySyncCount": 0,
  "membershipTransactionCount": 0,
  "membershipWalletCount": 0,
  "syncCount": 0,
  "transactionCount": 0,
  "userId": 0,
  "walletCount": 0
}

UnsubscribeUser

Response Example:

{
  "message": "string"
}
calculation

CalcNewCoinScenario

Response Example:

{
  "avgCost": "string",
  "profit": "string"
}
coinpays

CoinpaysCallback

Response Example:

"string"

GetPaymentToken

Response Example:

{
  "status": "string",
  "token": "string"
}
currencies

GetCurrencies

Response Example:

{
  "currencies": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string",
      "symbol": "string"
    }
  ]
}
exchanges

GetExchanges

  • Url: https://api.test.raydar.app/swagger/index.html#/exchanges/GetExchanges
  • The endpoint used is /v1/exchanges [get]
  • This endpoint retrieves a list of all exchanges, with options for pagination, search, and sorting.
  • Query parameters accepted: offset, limit, search, and sort.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • search: Search by exchange name
    • sort: Sort By enums(name, name-)

Response Example:

{
  "exchanges": [
    {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    }
  ],
  "itemCount": 0
}

GetExchangeOrderParams

  • Url: https://api.test.raydar.app/swagger/index.html#/exchanges/GetExchangeOrderParams
  • The endpoint used is /v1/exchanges/{exchange}/order-params [get]
  • Returns markets, order types, per-market params and supported enum values for an exchange.
  • Path parameters accepted: exchange.
    • exchange: Exchange name enums(binance, binance-tr, bingx, bitexen, bitfinex, bitget, bitmart, bitstamp, btcturk, bybit, coin-tr, coinbase, coinbase-futures, coinw, cryptocom, gateio, gate-tr, gemini, gemini-futures, htx, icrypex, kraken, kraken-futures, kucoin, mexc, okx, okx-tr, probit, whitebit)

Response Example:

{
  "exchange": "string",
  "markets": [
    "string"
  ],
  "orderTypes": [
    "string"
  ],
  "params": {},
  "supportedEnums": {}
}

GetExchange

Response Example:

{
  "baseUrl": "string",
  "credentialInfo": {},
  "exchangeBaseAsset": "string",
  "exchangeIcon": "string",
  "exchangeLogo": "string",
  "id": 0,
  "info": {},
  "mobileIcon": "string",
  "mobileLogo": "string",
  "name": "string"
}
health

GetAllExchangeHealth

Response Example:

{
  "records": [
    {
      "checkedAt": 0,
      "icon": "string",
      "name": "string",
      "status": "string"
    }
  ]
}

GetExchangeHealth

Response Example:

{
  "record": {
    "checkedAt": 0,
    "icon": "string",
    "name": "string",
    "status": "string"
  }
}
manual-balances

CreateManualBalance

Response Example:

{
  "amount": "string",
  "amountBtc": "string",
  "apl": "string",
  "aplPercentage": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "available": "string",
  "avgCost": "string",
  "balanceType": "string",
  "closeOrdersCount": 0,
  "exchangeId": 0,
  "extraCoinsNeededCount": "string",
  "extraCoinsNeededProfit": "string",
  "id": 0,
  "isManual": true,
  "openOrdersCount": 0,
  "total": "string",
  "totalCost": "string",
  "volume24H": "string",
  "volumeBtc24H": "string",
  "wallet": {
    "exchange": {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    },
    "id": 0,
    "name": "string"
  }
}

GetManualBalance

Response Example:

{
  "amount": "string",
  "amountBtc": "string",
  "apl": "string",
  "aplPercentage": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "available": "string",
  "avgCost": "string",
  "balanceType": "string",
  "closeOrdersCount": 0,
  "exchangeId": 0,
  "extraCoinsNeededCount": "string",
  "extraCoinsNeededProfit": "string",
  "id": 0,
  "isManual": true,
  "openOrdersCount": 0,
  "total": "string",
  "totalCost": "string",
  "volume24H": "string",
  "volumeBtc24H": "string",
  "wallet": {
    "exchange": {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    },
    "id": 0,
    "name": "string"
  }
}

UpdateManualBalance

Response Example:

{
  "amount": "string",
  "amountBtc": "string",
  "apl": "string",
  "aplPercentage": "string",
  "asset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "available": "string",
  "avgCost": "string",
  "balanceType": "string",
  "closeOrdersCount": 0,
  "exchangeId": 0,
  "extraCoinsNeededCount": "string",
  "extraCoinsNeededProfit": "string",
  "id": 0,
  "isManual": true,
  "openOrdersCount": 0,
  "total": "string",
  "totalCost": "string",
  "volume24H": "string",
  "volumeBtc24H": "string",
  "wallet": {
    "exchange": {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    },
    "id": 0,
    "name": "string"
  }
}

DeleteManualBalance

Response Example:

"string"
manual-transactions

CreateTransaction

Response Example:

{
  "address": "string",
  "commission": "string",
  "commissionCurrencyID": 0,
  "currencyID": 0,
  "fiatAmount": "string",
  "id": 0,
  "isBuyer": true,
  "isMaker": true,
  "isManual": true,
  "orderId": "string",
  "price": "string",
  "quantity": "string",
  "status": "string",
  "symbolID": 0,
  "time": 0,
  "totalPrice": "string",
  "tradeId": "string",
  "transactionId": "string",
  "type": "string",
  "walletId": 0
}

GetTransaction

Response Example:

{
  "address": "string",
  "baseAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "baseAssetAmount": "string",
  "commission": "string",
  "commissionAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "id": 0,
  "isBuyer": true,
  "targetAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "targetAssetAmount": "string",
  "time": 0
}

UpdateTransaction

  • Url: https://api.test.raydar.app/swagger/index.html#/manual-transactions/UpdateTransaction
  • The endpoint used is /v1/manual-transactions/{id} [put]
  • Updates an existing manual transaction with the provided details
  • Path parameters accepted: id.
    • id: Transaction ID
  • Query parameters accepted: walletId, and type.
    • walletId: Wallet ID
    • type: Transaction Type enums(DEPOSIT, WITHDRAW, FIATBUY, FIATSELL, TRADE)
  • Body parameters accepted: request.
    • request: Transaction update request

Response Example:

{
  "address": "string",
  "commission": "string",
  "commissionCurrencyID": 0,
  "currencyID": 0,
  "fiatAmount": "string",
  "id": 0,
  "isBuyer": true,
  "isMaker": true,
  "isManual": true,
  "orderId": "string",
  "price": "string",
  "quantity": "string",
  "status": "string",
  "symbolID": 0,
  "time": 0,
  "totalPrice": "string",
  "tradeId": "string",
  "transactionId": "string",
  "type": "string",
  "walletId": 0
}

DeleteTransaction

Response Example:

"string"
marketMetrics

GetAltCoinSeasonIndex

Response Example:

{
  "altcoinIndex": "string",
  "timestamp": "string"
}

GetAssetDetails

  • Url: https://api.test.raydar.app/swagger/index.html#/marketMetrics/GetAssetDetails
  • The endpoint used is /v1/markets/metrics/asset/{code}/details [get]
  • Retrieves detailed market information for a cryptocurrency asset by its symbol code. Data is fetched from cache if available. If not found, triggers a cache refresh task. Includes price, market cap, supply information, and historical price data.
  • Path parameters accepted: code.
    • code: Asset Code

Response Example:

{
  "allTimeHigh": "string",
  "allTimeLow": "string",
  "circulatingSupply": "string",
  "dominance": "string",
  "dominanceChangePct": "string",
  "highAllTimeTimestamp": "string",
  "lowAllTimeTimestamp": "string",
  "marketCap": "string",
  "maxSupply": "string",
  "name": "string",
  "percentChange24h": "string",
  "price": "string",
  "rank": "string",
  "rating": 0,
  "slug": "string",
  "totalSupply": "string",
  "urls": {
    "announcement": [
      "string"
    ],
    "chat": [
      "string"
    ],
    "explorer": [
      "string"
    ],
    "facebook": [
      "string"
    ],
    "messageBoard": [
      "string"
    ],
    "reddit": [
      "string"
    ],
    "sourceCode": [
      "string"
    ],
    "technicalDoc": [
      "string"
    ],
    "twitter": [
      "string"
    ],
    "website": [
      "string"
    ]
  },
  "volume24h": "string"
}

GetBitcoinMVRVZScore

Response Example:

[
  {
    "date": "string",
    "marketCap": "string",
    "mvrvZscore": "string",
    "realizedCap": "string",
    "timestamp": "string"
  }
]

GetCoinLaunches

Response Example:

[
  {
    "category": "string",
    "coinLink": "string",
    "date": "string",
    "initialCap": "string",
    "key": "string",
    "name": "string",
    "presaleType": "string",
    "raise": "string",
    "salePrice": "string",
    "symbol": "string",
    "totalRaise": "string"
  }
]

GetLongShortRatio

  • Url: https://api.test.raydar.app/swagger/index.html#/marketMetrics/GetLongShortRatio
  • The endpoint used is /v1/markets/metrics/{exchange}/{code}/long-short-ratio [get]
  • Fetches long/short ratio metrics for a given asset code and exchange. Data is retrieved from the cache using a compound key (exchange + code). Returns 404 if data is not found in cache.
  • Path parameters accepted: code, and exchange.
    • code: Asset Code (e.g. BTC)
    • exchange: Exchange Name Enums(binance,okx,gateio,kraken,bitfinex,bitget,bitget,mexc,bybit,htx,all) enums(binance, okx, gateio, kraken, bitfinex, bitget, bitget, mexc, bybit, htx, all)

Response Example:

{
  "longAccount": 0,
  "longShortRatio": 0,
  "longVolume": 0,
  "shortAccount": 0,
  "shortVolume": 0,
  "symbol": "string"
}

GetOpenInterest

  • Url: https://api.test.raydar.app/swagger/index.html#/marketMetrics/GetOpenInterest
  • The endpoint used is /v1/markets/metrics/{exchange}/{code}/open-interest [get]
  • Fetches open interest metrics for a given asset code and exchange. Data is retrieved from the cache using a compound key (exchange + code). Returns 404 if data is not found in cache.
  • Path parameters accepted: code, and exchange.
    • code: Asset Code (e.g. BTCUSDT)
    • exchange: Exchange Name Enums(binance,bingx,gateio,bybit,bitget,kraken,htx,kucoin,coinbase,okx,bitstamp,cryptocom,bitfinex,mexc,whitebit,coinw,probit,bitmart,gemini,all) enums(binance, bingx, gateio, bybit, bitget, kraken, htx, kucoin, coinbase, okx, bitstamp, cryptocom, bitfinex, mexc, whitebit, coinw, probit, bitmart, gemini, all)

Response Example:

{
  "fundingRate": 0,
  "openInterestUsd": 0
}
memberships

Memberships

Response Example:

{
  "monthly": [
    {
      "attributes": {},
      "basePrice": "string",
      "description": {},
      "id": 0,
      "isActive": true,
      "name": "string",
      "period": 0,
      "price": "string",
      "type": "string"
    }
  ],
  "yearly": [
    {
      "attributes": {},
      "basePrice": "string",
      "description": {},
      "id": 0,
      "isActive": true,
      "name": "string",
      "period": 0,
      "price": "string",
      "type": "string"
    }
  ]
}
news

GetNews

Response Example:

{
  "articles": [
    {
      "author": "string",
      "content": "string",
      "description": "string",
      "publishedAt": "string",
      "source": {
        "id": null,
        "name": "string"
      },
      "title": "string",
      "url": "string",
      "urlToImage": "string"
    }
  ],
  "status": "string",
  "totalResults": 0
}
orders

GetOrders

  • Url: https://api.test.raydar.app/swagger/index.html#/orders/GetOrders
  • The endpoint used is /v1/orders [get]
  • This endpoint allows retrieving a list of orders with various filters and pagination.
  • Query parameters accepted: offset, limit, walletId, coin, symbolId, exchangeId, startDate, endDate, sort, side, type, and status.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • walletId: Wallet ID
    • coin: Coin Code
    • symbolId: Symbol ID
    • exchangeId: Exchange ID
    • startDate: Start Date
    • endDate: End Date
    • sort: Sort by field enums(price, price-, quantity, quantity-, time, time-, exchangeName, exchangeName-)
    • side: Buy or Sell enums(BUY, SELL)
    • type: Order Type enums(SPOT, MARGIN, FUTURE, EARN)
    • status: OPEN or CLOSED enums(OPEN, CLOSED, CANCELED)

Response Example:

{
  "itemCount": 0,
  "orders": [
    {
      "baseAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "currentPrice": "string",
      "exchange": {
        "baseUrl": "string",
        "credentialInfo": {},
        "exchangeBaseAsset": "string",
        "exchangeIcon": "string",
        "exchangeLogo": "string",
        "id": 0,
        "info": {},
        "mobileIcon": "string",
        "mobileLogo": "string",
        "name": "string"
      },
      "executedQTY": "string",
      "id": 0,
      "isFromApp": true,
      "isManual": true,
      "isWhaleproof": true,
      "leverage": 0,
      "orderId": "string",
      "orderType": "string",
      "potentialProfitPercent": "string",
      "potentialProfitUsdt": "string",
      "price": "string",
      "quantity": "string",
      "remainQuantity": "string",
      "side": "string",
      "status": "string",
      "targetAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "targetPrice": "string",
      "time": 0,
      "totalAmount": "string",
      "totalCommission": "string",
      "totalCommissionBtc": "string",
      "type": "string",
      "walletId": 0,
      "walletName": "string"
    }
  ]
}

CreateOrder

Response Example:

{
  "baseAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "currentPrice": "string",
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "executedQTY": "string",
  "id": 0,
  "isFromApp": true,
  "isManual": true,
  "isWhaleproof": true,
  "leverage": 0,
  "orderId": "string",
  "orderType": "string",
  "potentialProfitPercent": "string",
  "potentialProfitUsdt": "string",
  "price": "string",
  "quantity": "string",
  "remainQuantity": "string",
  "side": "string",
  "status": "string",
  "targetAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "targetPrice": "string",
  "time": 0,
  "totalAmount": "string",
  "totalCommission": "string",
  "totalCommissionBtc": "string",
  "type": "string",
  "walletId": 0,
  "walletName": "string"
}

GetOrdersSummary

Response Example:

{
  "coinUrls": [
    "string"
  ],
  "currentVolume": "string",
  "exchangeUrls": [
    "string"
  ],
  "totalBuyVolume": "string",
  "totalBuyVolumeBtc": "string",
  "totalCommission": "string",
  "totalCommissionBtc": "string",
  "totalSellVolume": "string",
  "totalSellVolumeBtc": "string",
  "totalVolume": "string",
  "totalVolumeBtc": "string"
}

CancelOrder

positions

GetPositions

  • Url: https://api.test.raydar.app/swagger/index.html#/positions/GetPositions
  • The endpoint used is /v1/positions [get]
  • This endpoint allows retrieving a list of positions with various filters and pagination.
  • Query parameters accepted: offset, limit, walletId, and exchangeId.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • walletId: Wallet ID
    • exchangeId: Exchange ID

Response Example:

{
  "itemCount": 0,
  "positions": [
    {
      "avgPrice": "string",
      "exchange": {
        "baseUrl": "string",
        "credentialInfo": {},
        "exchangeBaseAsset": "string",
        "exchangeIcon": "string",
        "exchangeLogo": "string",
        "id": 0,
        "info": {},
        "mobileIcon": "string",
        "mobileLogo": "string",
        "name": "string"
      },
      "fee": "string",
      "leverage": "string",
      "leveragedQuantity": "string",
      "liquidationPrice": "string",
      "positionSide": "string",
      "realizedProfit": "string",
      "symbol": "string",
      "time": 0,
      "unLeveragedQuantity": "string",
      "unrealizedProfit": "string",
      "walletName": "string"
    }
  ]
}
regions

GetRegions

Response Example:

{
  "regions": [
    {
      "code": "string",
      "icon": "string",
      "id": 0,
      "locale": "string",
      "name": "string",
      "title": "string"
    }
  ]
}
reports

ReportsCoinDistribution

Response Example:

{
  "items": [
    {
      "icon": "string",
      "percentage": "string",
      "quantity": "string",
      "symbol": "string",
      "value": "string"
    }
  ]
}

ReportsExchangeDistribution

Response Example:

{
  "items": [
    {
      "assetCount": 0,
      "icon": "string",
      "name": "string",
      "percentage": "string",
      "value": "string"
    }
  ]
}

ReportsPortfolioHealth

Response Example:

{
  "assetRisks": [
    {
      "apl": "1500.25",
      "aplPercentage": "6.38",
      "asset": "BTC",
      "category": "low",
      "cmcRank": "1",
      "icon": "https://cdn.raydar.app/icons/BTC.png",
      "riskScore": "40",
      "value": "25000.50",
      "weight": "0.35"
    }
  ],
  "health": "65.5",
  "riskLevel": "medium"
}

ReportsPortfolioHistory

Response Example:

{
  "itemCount": 0,
  "items": [
    {
      "date": "string",
      "total": "string"
    }
  ]
}

ReportsTradeActivity

  • Url: https://api.test.raydar.app/swagger/index.html#/reports/ReportsTradeActivity
  • The endpoint used is /v1/reports/trades/activity [get]
  • Returns count and volume aggregated by day/week/month/year
  • Query parameters accepted: startTime, endTime, and interval.
    • startTime: Start time (ms). Default: now-7d
    • endTime: End time (ms). Default: now
    • interval: Interval default(day) enums(day, week, month, year)

Response Example:

{
  "from": 0,
  "interval": "string",
  "items": [
    {
      "count": 0,
      "period": "string",
      "volume": "string"
    }
  ],
  "to": 0
}
stripe

StripeCallback

Response Example:

"string"

Checkout

Response Example:

{
  "checkout_url": "string"
}
symbols

GetSymbols

  • Url: https://api.test.raydar.app/swagger/index.html#/symbols/GetSymbols
  • The endpoint used is /v1/symbols [get]
  • This endpoint retrieves a list of trading symbols, with optional filtering by coin ID, search query, and sorting.
  • Query parameters accepted: offset, limit, coinId, search, and sort.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • coinId: Filter by Coin ID
    • search: Search for asset by name
    • sort: Sort by field enums(name, name-)

Response Example:

{
  "itemCount": 0,
  "symbols": [
    {
      "baseAsset": 0,
      "id": 0,
      "name": "string",
      "targetAsset": 0
    }
  ]
}

GetPopularSymbol

Response Example:

{
  "itemCount": 0,
  "symbols": [
    {
      "change": "string",
      "changePercent": "string",
      "code": "string",
      "icon": "string",
      "id": 0,
      "name": "string",
      "price": "string",
      "symbol": "string",
      "volume": "string"
    }
  ]
}

GetSymbolDataByMarketType

  • Url: https://api.test.raydar.app/swagger/index.html#/symbols/GetSymbolDataByMarketType
  • The endpoint used is /v1/symbols/trading/{exchange}/{marketType} [get]
  • Returns the list of trading symbol names available for a given exchange and market type, sourced from cache.
  • Query parameters accepted: offset, limit, code, and search.
    • offset: Page offset default(0)
    • limit: Page limit default(10)
    • code: Asset Code
    • search: Search for base or target asset by name
  • Path parameters accepted: exchange, and marketType.
    • exchange: Exchange name (lowercase) default(binance) enums(binance, binance-tr, bingx, bitexen, bitfinex, bitget, bitmart, bitstamp, btcturk, bybit, coin-tr, coinbase, coinbase-futures, coinw, cryptocom, gate-tr, gateio, gemini, gemini-futures, htx, icrypex, kraken, kraken-futures, kucoin, mexc, okx, okx-tr, probit, whitebit)
    • marketType: Market type enums(spot, margin, iMargin, uFutures, cFutures)

Response Example:

{
  "itemCount": 0,
  "symbols": [
    {
      "baseAsset": "string",
      "id": 0,
      "rawBaseAsset": "string",
      "rawSymbol": "string",
      "rawTargetAsset": "string",
      "targetAsset": "string"
    }
  ]
}

GetSymbolData

  • Url: https://api.test.raydar.app/swagger/index.html#/symbols/GetSymbolData
  • The endpoint used is /v1/symbols/{code}/{exchange}/{type} [get]
  • Retrieves cached symbol data (price, change, or changePercent) by code, exchange, and data type.
  • Path parameters accepted: code, exchange, and type.
    • code: Symbol Code default(BTCUSDT)
    • exchange: Exchange Name default(binance)
    • type: Data Type default(price) enums(price, change, changePercent)

Response Example:

{
  "value": "string"
}

GetSymbolDataByCode

Response Example:

{
  "value": "string"
}

GetSymbol

Response Example:

{
  "baseAsset": 0,
  "id": 0,
  "name": "string",
  "targetAsset": 0
}

GetSymbolExchanges

Response Example:

{
  "exchanges": [
    {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    }
  ],
  "itemCount": 0
}
taxes

CalculateTax

Response Example:

{
  "profit": "string",
  "taxAmount": "string",
  "taxRate": "string"
}

GetTaxReports

  • Url: https://api.test.raydar.app/swagger/index.html#/taxes/GetTaxReports
  • The endpoint used is /v1/tax/reports [get]
  • This endpoint allows retrieving a list of taxes based on various filter parameters, such as wallet ID, coin ID, date range, and transaction type.
  • Query parameters accepted: startDate, endDate, walletId, and exchangeId.
    • startDate: Start Date
    • endDate: End Date
    • walletId: Wallet ID
    • exchangeId: Exchange ID

Response Example:

{
  "lossReports": [
    {
      "baseAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "exchangeIcon": "string",
      "exchangeName": "string",
      "gainLossAmount": "string",
      "sellDate": "string",
      "targetAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "taxAmount": "string"
    }
  ],
  "profitReports": [
    {
      "baseAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "exchangeIcon": "string",
      "exchangeName": "string",
      "gainLossAmount": "string",
      "sellDate": "string",
      "targetAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "taxAmount": "string"
    }
  ],
  "totalGain": "string",
  "totalGainLoss": "string",
  "totalLoss": "string",
  "totalTaxAmount": "string"
}
trades

GetTrades

  • Url: https://api.test.raydar.app/swagger/index.html#/trades/GetTrades
  • The endpoint used is /v1/trades [get]
  • This endpoint allows retrieving a list of trades based on various filter parameters, such as wallet ID, coin ID, date range, and transaction type.
  • Query parameters accepted: offset, limit, walletId, coin, tradeType, exchangeId, startDate, endDate, sort, isBuyer, type, and orderId.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • walletId: Wallet ID
    • coin: Coin Code
    • tradeType: Trade Type enums(FUTURE, MARGIN, SPOT)
    • exchangeId: Exchange ID
    • startDate: Start Date
    • endDate: End Date
    • sort: Sort by field default(time-) enums(price, price-, quantity, quantity-, totalPrice, totalPrice-, commission, commission-, time, time-, exchangeName, exchangeName-)
    • isBuyer: Buy or Sell enums(True, False)
    • type: Transaction Type enums(DEPOSIT, WITHDRAW, FIATBUY, FIATSELL, TRANSFERIN, TRANSFEROUT, CONVERT, TRADE, EARNREWARD)
    • orderId: Order ID

Response Example:

{
  "itemCount": 0,
  "transactions": [
    {
      "baseAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "baseAssetCurrentPrice": "string",
      "commission": "string",
      "commissionCurrency": "string",
      "commissionFiat": "string",
      "id": 0,
      "isBuyer": true,
      "isMaker": true,
      "isManual": true,
      "orderId": "string",
      "price": "string",
      "quantity": "string",
      "targetAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "targetAssetCurrentPrice": "string",
      "targetQuantity": "string",
      "time": 0,
      "totalBtc": "string",
      "totalCurrentPrice": "string",
      "totalPrice": "string",
      "tradeType": "string",
      "type": "string",
      "wallet": {
        "exchange": {
          "baseUrl": "string",
          "credentialInfo": {},
          "exchangeBaseAsset": "string",
          "exchangeIcon": "string",
          "exchangeLogo": "string",
          "id": 0,
          "info": {},
          "mobileIcon": "string",
          "mobileLogo": "string",
          "name": "string"
        },
        "id": 0,
        "name": "string"
      }
    }
  ]
}

GetTradesSummary

  • Url: https://api.test.raydar.app/swagger/index.html#/trades/GetTradesSummary
  • The endpoint used is /v1/trades/summary [get]
  • This endpoint retrieves a summary of trades based on various filters such as wallet, coin, exchange, date range, and transaction type.
  • Query parameters accepted: walletId, coin, exchangeId, startDate, endDate, tradeType, sort, isBuyer, type, and orderId.
    • walletId: Wallet ID
    • coin: Coin Code
    • exchangeId: Exchange ID
    • startDate: Start Date in Unix timestamp (milliseconds)
    • endDate: End Date in Unix timestamp (milliseconds)
    • tradeType: Trade Type enums(FUTURE, MARGIN, SPOT)
    • sort: Sort by field default(time-) enums(price, price-, quantity, quantity-, totalPrice, totalPrice-, commission, commission-, time, time-)
    • isBuyer: Buy or Sell enums(True, False)
    • type: Buy or Sell enums(FIATBUY, TRANSFERIN, TRANSFEROUT, TRADE)
    • orderId: Filter by Order ID

Response Example:

{
  "coinCount": 0,
  "coinUrls": [
    "string"
  ],
  "exchangeCount": 0,
  "exchangeUrls": [
    "string"
  ],
  "totalCommission": "string",
  "totalCommissionBtc": "string",
  "totalInboundVolume": "string",
  "totalInboundVolumeBtc": "string",
  "totalOutboundVolume": "string",
  "totalOutboundVolumeBtc": "string",
  "totalVolume": "string",
  "totalVolumeBtc": "string"
}

GetTrade

Response Example:

{
  "baseAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "baseAssetCurrentPrice": "string",
  "commission": "string",
  "commissionCurrency": "string",
  "commissionFiat": "string",
  "id": 0,
  "isBuyer": true,
  "isMaker": true,
  "isManual": true,
  "orderId": "string",
  "price": "string",
  "quantity": "string",
  "targetAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "targetAssetCurrentPrice": "string",
  "targetQuantity": "string",
  "time": 0,
  "totalBtc": "string",
  "totalCurrentPrice": "string",
  "totalPrice": "string",
  "tradeType": "string",
  "type": "string",
  "wallet": {
    "exchange": {
      "baseUrl": "string",
      "credentialInfo": {},
      "exchangeBaseAsset": "string",
      "exchangeIcon": "string",
      "exchangeLogo": "string",
      "id": 0,
      "info": {},
      "mobileIcon": "string",
      "mobileLogo": "string",
      "name": "string"
    },
    "id": 0,
    "name": "string"
  }
}
wallets

GetWallets

  • Url: https://api.test.raydar.app/swagger/index.html#/wallets/GetWallets
  • The endpoint used is /v1/wallets [get]
  • This endpoint allows for retrieving a list of wallets with pagination, filtering, and sorting options.
  • Query parameters accepted: offset, limit, exchangeId, coin, and sort.
    • offset: Page offset default(0)
    • limit: Page Limit default(10)
    • exchangeId: Exchange ID
    • coin: Coin Code
    • sort: Sort By enums(amount, amount-, coinCount, coinCount-, id, id-, syncDate, syncDate-, name, name-, exchangeName, exchangeName-)

Response Example:

{
  "itemCount": 0,
  "totalBalance": "string",
  "totalBtc": "string",
  "totalCommission": "string",
  "totalCommissionBtc": "string",
  "totalDeposit": "string",
  "totalDepositBtc": "string",
  "totalWithdraw": "string",
  "totalWithdrawBtc": "string",
  "wallets": [
    {
      "apl": "string",
      "coinCount": 0,
      "coinIcons": [
        "string"
      ],
      "commission": "string",
      "commissionBtc": "string",
      "currencyId": 0,
      "deposit": "string",
      "depositBtc": "string",
      "earnBalance": "string",
      "earnBtc": "string",
      "exchange": {
        "baseUrl": "string",
        "credentialInfo": {},
        "exchangeBaseAsset": "string",
        "exchangeIcon": "string",
        "exchangeLogo": "string",
        "id": 0,
        "info": {},
        "mobileIcon": "string",
        "mobileLogo": "string",
        "name": "string"
      },
      "futuresBalance": "string",
      "futuresBtc": "string",
      "id": 0,
      "isActive": true,
      "isFuture": true,
      "isManual": true,
      "isMargin": true,
      "isSync": true,
      "marginBalance": "string",
      "marginBtc": "string",
      "name": "string",
      "spotBalance": "string",
      "spotBtc": "string",
      "syncDate": 0,
      "totalBalance": "string",
      "totalBtc": "string",
      "totalCost": "string",
      "withdrawBtc": "string",
      "withdrawal": "string"
    }
  ]
}

CreateWallet

Response Example:

{
  "apl": "string",
  "coinCount": 0,
  "coinIcons": [
    "string"
  ],
  "commission": "string",
  "commissionBtc": "string",
  "currencyId": 0,
  "deposit": "string",
  "depositBtc": "string",
  "earnBalance": "string",
  "earnBtc": "string",
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "futuresBalance": "string",
  "futuresBtc": "string",
  "id": 0,
  "isActive": true,
  "isFuture": true,
  "isManual": true,
  "isMargin": true,
  "isSync": true,
  "marginBalance": "string",
  "marginBtc": "string",
  "name": "string",
  "spotBalance": "string",
  "spotBtc": "string",
  "syncDate": 0,
  "totalBalance": "string",
  "totalBtc": "string",
  "totalCost": "string",
  "withdrawBtc": "string",
  "withdrawal": "string"
}

CreateManualWallet

Response Example:

{
  "apl": "string",
  "coinCount": 0,
  "coinIcons": [
    "string"
  ],
  "commission": "string",
  "commissionBtc": "string",
  "currencyId": 0,
  "deposit": "string",
  "depositBtc": "string",
  "earnBalance": "string",
  "earnBtc": "string",
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "futuresBalance": "string",
  "futuresBtc": "string",
  "id": 0,
  "isActive": true,
  "isFuture": true,
  "isManual": true,
  "isMargin": true,
  "isSync": true,
  "marginBalance": "string",
  "marginBtc": "string",
  "name": "string",
  "spotBalance": "string",
  "spotBtc": "string",
  "syncDate": 0,
  "totalBalance": "string",
  "totalBtc": "string",
  "totalCost": "string",
  "withdrawBtc": "string",
  "withdrawal": "string"
}

GetWallet

Response Example:

{
  "apl": "string",
  "coinCount": 0,
  "coinIcons": [
    "string"
  ],
  "commission": "string",
  "commissionBtc": "string",
  "currencyId": 0,
  "deposit": "string",
  "depositBtc": "string",
  "earnBalance": "string",
  "earnBtc": "string",
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "futuresBalance": "string",
  "futuresBtc": "string",
  "id": 0,
  "isActive": true,
  "isFuture": true,
  "isManual": true,
  "isMargin": true,
  "isSync": true,
  "marginBalance": "string",
  "marginBtc": "string",
  "name": "string",
  "spotBalance": "string",
  "spotBtc": "string",
  "syncDate": 0,
  "totalBalance": "string",
  "totalBtc": "string",
  "totalCost": "string",
  "withdrawBtc": "string",
  "withdrawal": "string"
}

UpdateWallet

Response Example:

{
  "apl": "string",
  "coinCount": 0,
  "coinIcons": [
    "string"
  ],
  "commission": "string",
  "commissionBtc": "string",
  "currencyId": 0,
  "deposit": "string",
  "depositBtc": "string",
  "earnBalance": "string",
  "earnBtc": "string",
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "futuresBalance": "string",
  "futuresBtc": "string",
  "id": 0,
  "isActive": true,
  "isFuture": true,
  "isManual": true,
  "isMargin": true,
  "isSync": true,
  "marginBalance": "string",
  "marginBtc": "string",
  "name": "string",
  "spotBalance": "string",
  "spotBtc": "string",
  "syncDate": 0,
  "totalBalance": "string",
  "totalBtc": "string",
  "totalCost": "string",
  "withdrawBtc": "string",
  "withdrawal": "string"
}

DeleteWallet

Response Example:

{
  "code": 0,
  "error": "string"
}

WalletBalances

  • Url: https://api.test.raydar.app/swagger/index.html#/wallets/WalletBalances
  • The endpoint used is /v1/wallets/{id}/balances/{type} [get]
  • This endpoint retrieves the balances of a wallet, filtered by balance type and optionally sorted. It also calculates the amount in a specified currency (e.g., USD) or in BTC, if necessary.
  • Path parameters accepted: id, and type.
    • id: Wallet ID
    • type: Balance Type enums(SPOT, MARGIN, FUTURE, EARN)
  • Query parameters accepted: coin, and sort.
    • coin: Coin Code
    • sort: Sort By enums(total, total-, amount, amount-, apl, apl-, avgCost, avgCost-, totalCost, totalCost-, aplPercentage, aplPercentage-, assetName, assetName-, assetCode, assetCode-)

Response Example:

{
  "balances": [
    {
      "amount": "string",
      "amountBtc": "string",
      "apl": "string",
      "aplPercentage": "string",
      "asset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "available": "string",
      "avgCost": "string",
      "balanceType": "string",
      "closeOrdersCount": 0,
      "exchangeId": 0,
      "extraCoinsNeededCount": "string",
      "extraCoinsNeededProfit": "string",
      "id": 0,
      "isManual": true,
      "openOrdersCount": 0,
      "total": "string",
      "totalCost": "string",
      "volume24H": "string",
      "volumeBtc24H": "string",
      "wallet": {
        "exchange": {
          "baseUrl": "string",
          "credentialInfo": {},
          "exchangeBaseAsset": "string",
          "exchangeIcon": "string",
          "exchangeLogo": "string",
          "id": 0,
          "info": {},
          "mobileIcon": "string",
          "mobileLogo": "string",
          "name": "string"
        },
        "id": 0,
        "name": "string"
      }
    }
  ],
  "itemCount": 0
}

SyncWallet

Response Example:

{
  "code": 0,
  "error": "string"
}

SyncWalletStatus

Response Example:

{
  "status": "string"
}
whaleproof-orders

GetWhaleproofOrders

Response Example:

{
  "itemCount": 0,
  "orders": [
    {
      "baseAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "createdAt": 0,
      "exchange": {
        "baseUrl": "string",
        "credentialInfo": {},
        "exchangeBaseAsset": "string",
        "exchangeIcon": "string",
        "exchangeLogo": "string",
        "id": 0,
        "info": {},
        "mobileIcon": "string",
        "mobileLogo": "string",
        "name": "string"
      },
      "expireDate": 0,
      "failureReason": "string",
      "id": 0,
      "orderType": "string",
      "price": "string",
      "quantity": "string",
      "side": "string",
      "status": "string",
      "targetAsset": {
        "code": "string",
        "icon": "string",
        "id": 0,
        "name": "string"
      },
      "triggerPercentage": "string",
      "triggeredAt": 0,
      "updatedAt": 0,
      "walletId": 0,
      "walletName": "string"
    }
  ]
}

CreateWhaleproofOrder

Response Example:

{
  "baseAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "createdAt": 0,
  "exchange": {
    "baseUrl": "string",
    "credentialInfo": {},
    "exchangeBaseAsset": "string",
    "exchangeIcon": "string",
    "exchangeLogo": "string",
    "id": 0,
    "info": {},
    "mobileIcon": "string",
    "mobileLogo": "string",
    "name": "string"
  },
  "expireDate": 0,
  "failureReason": "string",
  "id": 0,
  "orderType": "string",
  "price": "string",
  "quantity": "string",
  "side": "string",
  "status": "string",
  "targetAsset": {
    "code": "string",
    "icon": "string",
    "id": 0,
    "name": "string"
  },
  "triggerPercentage": "string",
  "triggeredAt": 0,
  "updatedAt": 0,
  "walletId": 0,
  "walletName": "string"
}

CancelWhaleproofOrder

Response Example:

"string"