C See the third party authored m/voidloop/krakenapi. It automatically determines the API method's correct URL path, generates a nonce for each request, and adds a signed header using your API secret and the generated nonce.?php * Reference implementation for Kraken 's rest API. Perl See the third party authored Kraken -0.1/. Note: Depending on the report type chosen and fields chosen, the report could have the following fields. General Usage, nOTE: All, aPI, uRLs should use the domain api. Kraken.com/0/private/QueryLedgers Input: id comma delimited list of ledger ids to query info about (20 maximum) Result: associative array of ledgers info ledger_id ledger info.
Starter verified users have a maximum of 15 and their count gets reduced by 1 every 3 seconds. GO See the third party authored m/Beldur/ kraken -go- api -client. If you receive the error "EOrder:Trading agreement required refer to your API key management page for further details. Kraken.com/0/private/ClosedOrders Input: trades whether or not to include trades in output (optional. Although placing and cancelling orders does not increase the counter, there are separate limits in place to prevent order book manipulation.
April 2017) 11,4 Millionen EUR wert. Default none) oflags comma delimited list of order flags (optional viqc bitcoin kraken api volume in" currency (not available for leveraged orders) fcib prefer fee in base currency fciq prefer fee in" currency nompp no market price protection post post only order. Inclusive) Result: array of pair name and recent spread data pair_name pair name array of array entries( time, bid, ask ) last id to be used as since when polling for new spread data Note: "since" is inclusive. Exclusive) Result: array of pair name and ohlc data pair_name pair name array of array entries( time, open, high, low, close, vwap, volume, count ) last id to be used as since when polling for new, committed. The user's counter is reduced every couple of seconds, and if the counter exceeds the user's maximum.
Kraken.com/0/private/TradesHistory Input: type type of trade (optional) all all types (default) any position any position (open or closed) closed position positions that have been closed closing position any trade closing all or part of a position no position non-positional. See https www. Default false) Result: associative array of open position info position_txid open position info ordertxid order responsible for execution of trade pair asset pair time unix timestamp of trade type type of order used to open position (buy/sell) ordertype. quot; currency) net unrealized profit/loss of remaining position (if docalcs requested. Mega faszinierend, wenn das eigene PHP-Programm plötzlich automatisch Bitcoins kauft und verkauft. Place/cancel order calls do not affect the counter.
Prices can be preceded by, or # to signify the price as a relative amount (with the exception of trailing stops, which are always relative). Default false) Result: associative array of deposit addresses: address deposit address expiretm expiration time in unix timestamp, or 0 if not expiring new whether or not address has ever been used Get status of recent deposits URL: https api. CET: Wednesday, January 30 at. Payward has performed an initial review of the safety of the third party code before listing them but cannot vouch for any changes added since then. Default all) starttm report start time (optional. Intermediate and Pro verified users have a maximum of 20; the count is reduced by 1 every 2 bitcoin kraken api seconds for Intermediate users, and is reduced by 1 every 1 second for Pro users.
Kraken is a professional, bitcoin trading platform that aims to bring. An account is required with service. Depending on your connectivity, a setting that would accomodate 3-15 seconds of network issues is suggested. API calls increase the counter. Default all) Note: field options are based on report type trades ordertxid time ordertype price cost fee vol margin misc ledgers ledgers refid time type aclass asset amount fee balance asset comma delimited list of assets to restrict output to (optional. Kraken.com version'0 sslverifytrue) this- key key; this- secret secret; this- url url; this- version version; this- curl curl_init array( curlopt_SSL_verifypeer sslverify, curlopt_SSL_verifyhost 2, curlopt_useragent ' Kraken PHP API Agent curlopt_post true, curlopt_returntransfer true) function _destruct curl_close(this- curl. Disable if using beta. Public market data URL: https api. Query ledgers URL: https api.
Default CSV) fields comma delimited list of fields to include in report (optional. Postdata, true true headers array( ' API -Key: '. Kraken.com function _construct(key, secret, url'https api. Ledger/trade history calls increase the counter. Default all for given asset class) Result: array of asset names and their info asset_name asset name altname alternate name aclass asset class decimals scaling decimal places for record keeping display_decimals scaling decimal places for output display Get tradable asset pairs URL: https api. Default one year before now n unix timestamp of start time endtm report end time (optional. Too bitcoin kraken api many requests with nonces below the last valid nonce (eapi:Invalid nonce) can result in temporary bans. Clients simply use the. Kraken.com/0/public/ohlc Input: pair asset pair to get ohlc data for interval time frame interval in minutes (optional 1 (default 5, 15, 30, 60, 240, 1440, 10080, 21600 since return committed ohlc data since given id (optional. Request withdrawal cancelation URL: https api. For orders using leverage, 0 can be used for the volume to auto-fill the volume needed to close out your position. Kraken.com/0/private/OpenPositions Input: txid comma delimited list of transaction ids to restrict output to docalcs whether or not to include profit/loss calculations (optional. The WebSocket protocol provides the best foundation to stream real-time data and build trading applications.
Use cancel for queued and processing statuses. Kleine Korrektur: Der anfangs erwähnte Chip-Artikel über. Get closed orders URL: https api. API but no ETA is available at this time. class Krakenapiexception extends ErrorException ; class KrakenAPI protected key; / API key protected secret; / API secret protected url; / API base URL protected version; / API version protected curl; / curl handle * Constructor for KrakenAPI. API offers public market data, private user data and information about the user's accounts, and the ability to place and manipulate trade orders. The source and usage examples are also available on Payward's kraken - api -client github repository and is MIT licensed. Exclusive) end ending unix timestamp or ledger id of results (optional.
Kraken.com/0/private/Withdraw Input: aclass asset class (optional currency (default) asset asset being withdrawn key withdrawal key name, as set up on your account amount amount to withdraw, including fees Result: associative array of withdrawal transaction: refid reference id Get status of recent withdrawals URL: https api. Please refer to the main API page for more information on using the API. IN NO event shall THE * authors OR copyright holders BE liable FOR ANY claim, damages OR other * liability, whether IN AN action OF contract, tort OR otherwise, arising from, * OUT OF OR IN connection with. Kraken.com/0/private/TradeVolume Input: pair comma delimited list of asset pairs to get fee info on (optional) fee-info whether or not to include fee info in results (optional) Result: associative array currency volume currency volume current discount volume fees. The approximate worldwide launch time in various time zones: UTC: Wednesday, January 30 at. trades *txid ordertxid *pair time *type ordertype price cost fee vol margin misc ledgers ledgers *txid refid time type aclass asset amount fee balance Remove export report URL: https api. Inclusive) ofs result offset closetime which time to use (optional) open close both (default) Result: array of order info closed array of order info. The best practice is to base it on the 'last' value returned in the result set. Kraken.com/0/private/AddExport Input: description report description info report report type (trades/ledgers) format (CSV/TSV) (optional. If you have concerns, please contact support. Default false) userref restrict results to given user reference id (optional) start starting unix timestamp or order tx id of results (optional. Additional fields: closetm unix timestamp of when order was closed reason additional info on status (if any) count amount of available order info matching criteria Note: Times given by order tx ids are more accurate than unix timestamps. Depending upon how far along the withdrawal process is, it may not be possible to cancel the withdrawal.
) ) Query public recent trades for XBT/EUR pair since T18:20:4200:00: note: the 'since' parameter is subject to change in the future: it's precision may be modified, and it may no longer be representative of a timestamp. Default false) start starting unix timestamp or trade tx id of results (optional. Nil if at lowest fee tier) fees_maker array of asset pairs and maker fee tier info (if requested) for any pairs on maker/taker schedule fee current fee in percent minfee minimum fee for pair (if not fixed fee). For pairs not on maker/taker, they will only be given in "fees". Kraken.com/0/private/RemoveExport Input: type remove type (cancel/delete) id report id Result: bool with result of call cancel/delete remove type Note: The delete remove type can only be used for a report that has already been processed. subtracts the amount from the current offered price. Nil if at lowest fee tier) nextvolume volume level of next tier (if not fixed fee. Kraken.com/0/public/Assets Input: info info to retrieve (optional info all info (default) aclass asset class (optional currency (default) asset comma delimited list of assets to get info on (optional.
Public methods can use either GET or post. API call rate limit, we have safeguards in place to protect against abuse/DoS attacks as well as order book manipulation caused by the rapid placing and canceling of orders. Str_pad(substr(nonce0, 2, 6 6, '0 / build the post data string postdata http_build_query(request, ' / set API key and sign the message path. API access is suspended for 15 minutes. Default false) userref restrict results to given user reference id (optional) Result: array of order info in open array with txid as the key refid Referral order transaction id that created this order userref user reference id status status. Only placing orders you intend to fill and keeping the rate down to 1 per second is generally enough to not hit this limit. No risk - no fun! The, aPI is will be freely available for anyone to use.
Times given by trade bitcoin kraken api tx ids are more accurate than unix timestamps. Bestimmt nicht ohne Risiko. Kraken.com/0/public/AssetPairs Input: info info to retrieve (optional info all info (default) leverage leverage info fees fees schedule margin margin info pair comma delimited list of asset pairs to get info on (optional. Ein paar Anmerkungen zum Thema Börsen für Kryptowährung und ihre Trading. Kraken.com/0/private/QueryTrades Input: txid comma delimited list of transaction ids to query info about (20 maximum) trades whether or not to include trades related to position in output (optional. Res kraken - QueryPublic Trades array pair' 'xxbtzeur 'since' ' print_r(res Example output: Array ( error Array ( ) result Array ( xxbtzeur Array ( 0 Array (.60500.1176. Kraken.com/0/public/Trades Input: pair asset pair to get trade data for since return trade data since given id (optional. C See the third party authored m/hansic99/ Kraken _C_ API.
Python 3 See the third party authored m/veox/python3-krakenex. Default false) userref restrict results to given user reference id (optional) txid comma delimited list of transaction ids to query info about (50 maximum) Result: associative array of orders info order_txid order info. Kraken.com/0/private/OpenOrders Input: trades whether or not to include trades in output (optional. quot; currency," currency scale) misc comma delimited list of miscellaneous info oflags comma delimited list of order flags viqc volume in" currency Note: Unless otherwise stated, costs, fees, prices, and volumes bitcoin kraken api are in the asset pair's scale, not the currency's scale. See Get open orders.
The main advantage is that market data will quickly stream to clients with no polling required. Private user trading Add standard order URL: https api. For example, if the asset pair uses a lot size that has a scale of 8, the volume will use a scale of 8, even if the currency it represents only has a scale. Kraken.com/0/public/Spread Input: pair asset pair to get spread data for since return spread data since given id (optional. API key, pOST data: nonce always increasing unsigned 64 bit integer otp two-factor password (if two-factor enabled, otherwise not required). Kraken.com/0/private/DepositStatus Input: aclass asset class (optional currency (default) asset asset being deposited method name of the deposit method Result: array of array deposit status information: method name of the deposit method used aclass asset class asset asset X-ISO4217-A3 code. Example API clients Below are sample API client code libraries that can be used when writing your own API client. ) Query public ticker info for XBT/USD pair: res kraken - QueryPublic Ticker array pair' 'xxbtzusd print_r(res Example output: Array ( error Array ( ) result Array ( xxbtzusd Array ( a Array (. If it is one of those types you can expect an error in the response. If you encounter this issue, you can change the nonce window in your account. Dependent upon ordertype) price2 secondary price (optional. Rettungsschwimmer, Fallschirmspringer, Paraglider, Steuerberater kurz vor dem Jahresabschluss. Kraken also said they plan to later launch a private WebSocket.