GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.coinspot.com.au — API | CoinSpot CoinSpot API
Contents
Read Only API
New BETA API (V2) is now available for use.
The new API provides additional functionality as well as enhancements of existing processes. Documentation for the new API is available here.
Summary
This page will provide basic documentation on using the CoinSpot API. 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
Read Only API
SDK
We currently have a node.js SDK, if you are interested in getting an SDK in another language Contact us
Latest Prices
Urlhttps://www.coinspot.com.au/pubapi/latest
Inputsnone
Responsestatus - 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.
Headerskey - 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 Paramsnonce - Any integer value which must always be greater than the previous requests nonce value.
List Open Orders
Url/orders
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'
Responsestatus - ok, errorbuyorders - array containing all the open buy orders sellorders - array containing all the open sell orders
List Order History
Url/orders/history
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'
Responsestatus - ok, errororders - list of the last 500 completed orders
Deposit Coins
[DEPRECATED] Url/my/coin/deposit
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'
Responsestatus - ok, erroraddress - your deposit address for the coin
Quick Buy Quote
Url/quote/buy
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'amount - the amount of coins to buy
Responsestatus - ok, errorquote - the rate per coin timeframe - estimate hours to wait for trade to complete (0 = immediate trade)
Quick Sell Quote
Url/quote/sell
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'amount - the amount of coins to sell
Responsestatus - ok, errorquote - the rate per coin timeframe - estimate hours to wait for trade to complete (0 = immediate trade)
List My Balances
Url/my/balances
Inputsnone
Responsestatus - ok, errorbalances - object containing one property for each coin with your balance for that coin.
List My Orders
A list of your open orders by coin type, it will return a maximum of 100 results
Url/my/orders
Inputsnone
Responsestatus - ok, errorbuyorders - array containing all your buy orders sellorders - array containing all your sell orders
Place Buy Order
Url/my/buy
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'amount - the amount of coins you want to buy, max precision 8 decimal places rate - the rate in AUD you are willing to pay, max precision 6 decimal places
Responsestatus - ok, error
Place Sell Order
Url/my/sell
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'amount - the amount of coins you want to sell, max precision 8 decimal places rate - the rate in AUD you are willing to sell for, max precision 6 decimal places
Responsestatus - ok, error
Cancel Buy Order
Url/my/buy/cancel
Inputsid - the id of the order to cancel
Responsestatus - ok, error
Cancel Sell Order
Url/my/sell/cancel
Inputsid - the id of the order to cancel
Responsestatus - ok, error
Read Only API
We have a Read Only API available.
Important things to note about the read only API
List My Balances
Urlhttps://www.coinspot.com.au/api/ro/my/balances
Inputsnone
Responsestatus - ok, errorbalances - array containing one object for each coin with your balance, AUD value and rate for that coin
List a Coins Balance
Url/api/ro/my/balances/:cointype
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'
Responsestatus - ok, errorbalance - object containing one property with your balance, AUD value and rate for that coin
List Deposit History
Url/api/ro/my/deposits
Inputsstartdate - (optional) format 'YYYY-MM-DD'enddate - (optional) format 'YYYY-MM-DD'
Responsestatus - ok, errordeposits - array containing your AUD deposit history
List Withdrawal History
Url/api/ro/my/withdrawals
Inputsstartdate - (optional) format 'YYYY-MM-DD'enddate - (optional) format 'YYYY-MM-DD'
Responsestatus - ok, errorwithdrawals - array containing your AUD withdrawal history
List My Transaction History
Url/api/ro/my/transactions
Inputsstartdate - (optional) format 'YYYY-MM-DD'enddate - (optional) format 'YYYY-MM-DD'
Responsestatus - ok, errorbuyorders - array containing your buy order history sellorders - array containing your sell order history
List My Coin Transaction History
Url/api/ro/my/transactions/:cointype
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'startdate - (optional) format 'YYYY-MM-DD' enddate - (optional) format 'YYYY-MM-DD'
Responsestatus - ok, errorbuyorders - array containing your coins buy order history sellorders - array containing your coins sell order history
List My Open Transactions
Url/api/ro/my/transactions/open
Inputsnone
Responsestatus - ok, errorbuyorders - array containing your open buy orders sellorders - array containing your open sell orders
List My Coins Open Transactions
Url/api/ro/my/transactions/:cointype/open
Inputscointype - the coin shortname, example value 'BTC', 'LTC', 'DOGE'
Responsestatus - ok, errorbuyorders - array containing your coins open buy orders sellorders - array containing your coins open sell orders
List My Send & Receive Transaction History
Url/api/ro/my/sendreceive
Inputsnone
Responsestatus - ok, errorsendtransactions - array containing your coin send transaction history receivetransactions - array containing your coin receive transaction history
List My Affiliate Payments
Url/api/ro/my/affiliatepayments
Inputsnone
Responsestatus - ok, errorpayments - array containing one object for each completed affiliate payment
List My Referral Payments
Url/api/ro/my/referralpayments
Inputsnone
Responsestatus - ok, errorpayments - array containing one object for each completed referral payment |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |