Kraken bitcoin exchange api
Throughout , the Kraken exchange has suffered from DDoS attacks and performance issues. On 10 January Kraken suspended trading for over 48 hours while it performed an upgrade which was intended only to take 2 hours. Since first opening in this was the longest interruption to service. One month before Kraken was founded, Jesse Powell had visited the offices of what was then the largest bitcoin exchange, Mt.
Gox, to offer assistance in the aftermath of the first of two major hacks. Seeing how poorly Mt. Gox was run, Powell decided to found Kraken as a greatly needed alternative and to further promote bitcoin adoption into the mainstream.
Gox, when they were down for like a week, that the exchange is really the most critical piece of the ecosystem I wanted there to be another one to take its place, if Mt. Kraken launched in September with live trading after two years of development and beta testing. Initially the exchange offered trading between bitcoin, litecoin, and euro. Additional currencies and margin trading were made available to users over time, but only after critical analysis was performed, critical elements tested, and the user experience defined accordingly.
In July , Kraken joined other U. The stated aim of the committee was to establish DATA as the future self-regulatory body of the industry. In October , Kraken announced that it had discovered major flaws in the Namecoin protocol and would not list the cryptocurrency until they were removed. Former Kraken COO Michael Gronager, during the security analysis for onboarding the new cryptocurrencies, spotted a major vulnerability in the domain registration system and a bug that left.
Although the flaws were soon fixed and Namecoin was listed on the Kraken exchange, it was delisted two years later after a decline in its trading volumes. Gox were vulnerable to at the time. In a Fortune article, CEO Jesse Powell is quoted as explaining that the vulnerability was avoided by not relying on transaction IDs alone to track bitcoin transfers: In April , Kraken became one of the first bitcoin exchanges to be listed on Bloomberg Terminal.
JADA is the first Bitcoin regulatory body with government backing. The new funding options coincided with the launch of bitcoin-GBP trading bitcoin-USD trading was already available on the exchange. In October , a collaboration was announced between Kraken and BaFin-regulated Fidor bank to create the world's first cryptocurrency bank. The stated aim of the initiative was to set up a fully regulated and licensed financial services entity and to pool financial services from different providers in the industry.
The hope was that one of the participants would step up and take the lead on the project, but since this did not happen, the project was put on hold. In May , Kraken announced the beta launch of margin trading, becoming one of the few bitcoin exchanges to offer trading on margin. Initially the maximum allowed leverage for trading long or short was 3x later raised to 5x. Six months after Kraken declared that it would not seek a BitLicense , the then newly established regulation for bitcoin businesses serving New York residents, the exchange was finally able to regain access to the North American market in January by acquiring the NY-based exchange Coinsetter.
Additionally, before the acquisition, Coinsetter had recently consolidated the Canadian exchange Cavirtex. After its public refusal, Kraken expressed an intention to return service to New York residence pending the removal of what it perceived as unfair and counterproductive licensing.
In absorbing Coinsetter, and by extension Cavirtex, the following month, Kraken opened up its platform to residence of 37 other states, and to all Canadian residence to boot.
Alongside this deal, Kraken announced partnerships with payment providers SynapsePay in the U. Just one month later, Kraken announced the completion of its Series B round of investment lead by SBI Investment, a prominent Japanese venture capitalist firm under SBI Holdings,  Following this investment round, Kraken announced two major acquisitions that year: Dutch exchange CleverCoin, which was acquired in June,   and Glidera, a wallet service allowing users to directly fund Glidera bank accounts with fiat for the purchase of cryptocurrencies on the Kraken exchange.
On January 5 after seeing the Monero Market cap grow over 40x in Kraken made the decision to add trading support for it. Monero was the second anonymous cryptocurrency to be added following the previously listed currency Zcash. During the acquisition they also hired the founder of Cryptowatch Artur Sapek to help integrate Cryptowatch into Krakens systems and further the development of the platform.
In December it has been reported that Kraken was registering up to 50, new users a day. In April , Kraken announced to shut its services in Japan , after operating since October , by the end of June due to the rising costs of doing business there. Some of the great services using our pricing API: Sign up for API updates here.
Most of the requests that are related to pricing data are public at the moment and generally available via GET functions. Please do not abuse them, a request every 10 sec should be more than enough. There is also a streaming api based on socket. At the moment the public rest api and streaming apis are not delayed.
You can see the limits here: CryptoCompare uses session cookies to allow access to private data. You can obtain the cookie by logging in. A session key is only valid for 30 days and it has a sliding window period, so each time you use it, it will get extended by 30 days. Type less than will mean there was an error.
This section deals with all the requests for price data, social data and historical data. Most of it is used for dealing with subscription, top list, historical and snapshot data. Get the latest price for a list of one or more currencies. Really fast, ms. Cached each 10 seconds. Get all the current trading info price, vol, open, high, low etc of any list of cryptocurrencies in any other currency that you need. If the crypto does not trade directly into the toSymbol requested, BTC will be used for conversion.
This API also returns Display values for all the fields. If the opposite pair trades we invert it eg.: Compute the current trading info price, vol, open, high, low etc of the requested pair as a volume weighted average based on the markets requested.
Get day average price. The values are based on hourly vwap data and the average can be calculated in different waysIt uses BTC conversion if data is not available because the coin is not trading in the specified currency. If tryConversion is set to false it will give you the direct data. If no toTS is given it will automatically do the current day.
Get the price of any cryptocurrency in any other currency that you need at a given timestamp. The price comes from the daily info - so it would be the price at the end of the day GMT based on the requested TS.
Tries to get direct trading pair data, if there is none or it is more than 30 days before the ts requested, it uses BTC conversion. Get data for a currency pair.
It returns general block explorer information, aggregated data and individual data for each exchange available. This api is getting abused and will be moved to a min-api path in the near future. Please try not to use it. Get the general, subs used to connect to the streamer and to figure out what exchanges we have data for and what are the exact coin pairs of the coin and the aggregated prices for all pairs available.
AggregatedPrices Array yes Snapshot data about the coin volume, price, open, high, low close etc. If called with the id of a cryptopian you just get data from our website that is available to the public. UrlstringnoThe relative path without https: Get open, high, low, close, volumefrom and volumeto from the each minute historical data. This data is only stored for 7 days, if you need more,use the hourly or daily path. It uses BTC conversion if data is not available because the coin is not trading in the specified currency.
The values are based on Used to get all the mining equipment available on the website. It returns an array of mining equipment objects. Get top pairs by volume for a currency always uses our aggregated data. The number of pairs you get is the minimum of the limit you set default 5 and the total number of pairs available. Get real-time market data updates by connecting to our web socket ' wss: We are using socket.
For more example code click here. Subscribe to market data by emitting 'SubAdd' including a list of items you want to get updates on. After the first response, only updates will be sent. The MaskInt parameter maps the response to the properties. Use our utility functions to map the response, you can find the code here. Introduction The best API for getting free cryptocurrency live pricing data, OHLC historical data, volume data, tick data or block explorer data from multiple exchanges and blockchains.
Requests Most of the requests that are related to pricing data are public at the moment and generally available via GET functions. Sessions A session key is only valid for 30 days and it has a sliding window period, so each time you use it, it will get extended by 30 days. Note that the responses to all requests, both public and private, are sent as the response body. Data This section deals with all the requests for price data, social data and historical data.
Data Object yes Empty if there is no data to return or there is an error Data [Symbol]: Id int yes The internal id, this is used in other calls Data [Symbol]: ImageUrl string yes The logo image of the coin Data [Symbol]: CoinName string yes The name Data [Symbol]: FullName string yes A combination of the name and the symbol Data [Symbol]: Algorithm string yes The algorithm of the cryptocurrency Data [Symbol]: ProofType string yes The proof type of the cryptocurrency Data [Symbol]: Invalid Market ", "Data": For PST you would pass -8 for example.
URL Parameters Parameter Type Mandatory Description fsym string yes The symbol of the currency you want to get that for tsym string yes The symbol of the currency that data will be in. Return data Parameter Type Always returned Description Response string yes The type of the response Success or Error Message string yes The message for the response Type integer yes Integer representing the type of response.
Data object yes Empty if there is no data to return or there is an error Data: Algorithm string yes The algorithm of the from currency Data: BlockNumber integer yes The current block number delayed by 1 hour max Data: BlockReward integer yes The current block reward delayed by 1 hour max Data: AggregatedData object yes See success request example Data: What are you trying to do?
AggregatedPrices Array yes Snapshot data about the coin volume, price, open, high, low close etc Parameter Type Always returned Description Response string yes The type of the response Success or Error Message string yes The message for the response BaseImageUrl string yes The base url for all the images from the ImageUrl field BaseLinkUrl string yes The base url for all the links from the Url field Type int yes Integer representing the type of response.
General object yes The general data available for this coin Data: H1Text string yes The title used on our website a combination of the coin name and the symbol Data: ImageUrl string yes The relative path to the logo of the coin, prefix this value with the BaseImageUrl to get the absolute path Data: DangerTop string yes The text displayed in red on the website at the top, generally a big issue with the coin Data: WarningTop string yes The text displayed in yellow on the website at the top, generally an issue with the coin Data: InfoTop string yes The text displayed in green on the website at the top, generally an announcement or extra info that is important Data: Symbol string yes The symbol of the coin Data: Url string yes The relative path to the coin, prefix this value with the BaseLinkUrl to get the absolute path Data: Name string yes The name of the coin Data: Description string yes The description of the coin, this is returned as html Data: Features string yes The features of the coin, this is returned as html Data: Technology string yes The technology of the coin, this is returned as html Data: TotalCoinSupply int yes The maximum number of coins Data: StartDate string yes The day the first block was mined, so the day the coin actually came into existance Data: