To use this API you need to generate an API key, you generate your API key from the settings page in your account. Please note that you must be registered customer to use the API, registering is free and only takes a minute, you can register here.

Important things to note
All requests and responses will be JSON
All requests will be made with the POST method.

The endpoint for the API is https://www.coinspot.com.au/api
The endpoint for the Public API is https://www.coinspot.com.au/pubapi

Url

https://www.coinspot.com.au/pubapi/latest

Inputs

none

Response

status - ok, errorprices - object containing one property for each coin with the latest prices for that coin

Security

The API is secured using by using the shared secret key to create a HMAC with the SHA512 cryptographic hash function. Hash-based message authentication code (HMAC) is a mechanism for calculating a message authentication code involving a hash function in combination with a secret key. This can be used to verify the integrity and authenticity of a a message.

All requests to the API will need to include the following security data.

Headers

key - Your API key generated from the settings pagesign - The POST data is to be signed using your secret key according to HMAC-SHA512 method.

Post Params

nonce - Any integer value which must always be greater than the previous requests nonce value.

List Open Orders

Url

/orders

Inputs

cointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'

Response

status - ok, errorbuyorders - array containing all the open buy orderssellorders - array containing all the open sell orders