tradeHistory

This method gives information about transaction in buying and selling history

Parameter
Required
Value
Description

count

No

1000

number of transaction which will be displayed

from_id

No

0

first ID

end_id

No

0

end ID

order

No

asc / desc

sort by

since

No

UNIX time

start time

end

No

UNIX time

end time

pair

Yes

btc_idr, ltc_btc, doge_btc, etc

Pair to get the information from

Body JSON
{
        "method" : "tradeHistory",
        "timestamp" : "1578304294000",
        "recvWindow" : "1578303937000",
        "count" : "",
        "from_id" : "",
        "end_id": "",
        "order" : "",
        "since" : "",
        "end" : "",
        "pair" : ""
}

POST https://us-central1-appgregator.cloudfunctions.net/indodax/method/

Query Parameters

Name
Type
Description

name*

String

qantor.co.id

connection_name*

String

crypto01

Headers

Name
Type
Description

x-api-key*

String

U2Fsd...

secret-key*

String

84c7373b....(your indodax secret key)

{
    "success": 1,
    "return": {
        "trades": [
            {
                "trade_id": "17393994",
                "order_id": "59636253",
                "type": "sell",
                "btc": "0.00313482",
                "price": "107202000",
                "fee": "0",
                "trade_time": "1578645297"
            },
            ...
        ]
    }
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01' \
--header 'secret-key: 84c7373...' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
        "method" : "tradeHistory",
        "timestamp" : "1578304294000",
        "recvWindow" : "1578303937000",
        "count" : "",
        "from_id" : "",
        "end_id": "",
        "order" : "",
        "since" : "",
        "end" : "",
        "pair" : ""
}'

Last updated