Skip to content

Transaction API

Justin edited this page Aug 3, 2018 · 1 revision

Transaction API covers transactional history.

Number Conversion

All numbers, specifically for price and volume, are returned as an integer. The conversion is 100000000, or 1E8. For strongly typed programming languages, use of integer or long integer variable types is strongly recommended, as decimals will not be returned by the API.

Transaction History

path: /v2/transaction/history/[{currency}]

special note: {currency} is not mandatory for this endpoint, and if omitted, will return transactions of all currencies.

url parameters:

  • limit: Number of results to return per "page". If not provided, default is 200.
  • since: an tradeId. If provided, and indexForward is false, returned results will be trades earlier than the trade id provided, non-inclusive. If indexForward is true, returned results will be trades after the tradeId provided, non-inclusive.
  • indexForward: Set to true to see orders more recent than the tradeId in the since parameter, if a since parameter is used. Default is false.
  • sortForward: Set to true to see the earliest transactions first in the list of returned transactions i.e. in chronological order. Default is false.

pagination: yes

sample request: /v2/transaction/history/AUD?limit=5&since=699427&indexForward=true&sortForward=true

sample response:

{
    "success": true,
    "paging": {
        "newer": "/v2/transaction/history/AUD?limit=5&sortForward=true&indexForward=true&since=699961",
        "older": "/v2/transaction/history/AUD?limit=5&sortForward=true&since=699428"
    },
    "transactions": [
        {
            "id": 699428,
            "creationTime": 1523314955677,
            "description": "Buy 1.00000000BTC @ AUD 100.00000000 Partially matched at 34.00000000",
            "currency": "AUD",
            "balance": 89872899507,
            "amount": -340000000,
            "recordType": "Trade",
            "referenceId": 699409,
            "action": "Buy Order"
        },
        {
            "id": 699430,
            "creationTime": 1523314955680,
            "description": "Buy 0.10000000BTC @ AUD 34.00000000 Trading fee",
            "currency": "AUD",
            "balance": 89870009511,
            "amount": -2889996,
            "recordType": "Trade",
            "referenceId": 699409,
            "action": "Trading Fee"
        },
        {
            "id": 699602,
            "creationTime": 1523387467383,
            "description": " transfer was successfull.AUD transfer from [****@***.com] to [*****@***.com] amount: 10000000000",
            "currency": "AUD",
            "balance": 99870009511,
            "amount": 10000000000,
            "recordType": "Fund Transfer",
            "referenceId": 699600,
            "action": "Deposit"
        },
        {
            "id": 699959,
            "creationTime": 1523604476881,
            "description": "Buy 0.12300000BTC @ AUD 123.00000000 Fully matched at 28.00000000",
            "currency": "AUD",
            "balance": 99525609511,
            "amount": -344400000,
            "recordType": "Trade",
            "referenceId": 699951,
            "action": "Buy Order"
        },
        {
            "id": 699961,
            "creationTime": 1523604476885,
            "description": "Buy 0.12300000BTC @ AUD 28.00000000 Trading fee",
            "currency": "AUD",
            "balance": 99522682115,
            "amount": -2927396,
            "recordType": "Trade",
            "referenceId": 699951,
            "action": "Trading Fee"
        }
    ]
}

Introduction updated 9/28/18

Authentication

Pagination

WebSocket v2

WebSocket v1 deprecated

Market Data API updated 7/24/19

Trading API updated 08/19/19

Transaction API

Account API updated 3/14/19

Fund Transfer API updated 08/06/19

FAQ

Clone this wiki locally