Introduction

5 stars based on 44 reviews

We strongly recommend using APIv2 for new users and switching to this newer version for our current traders to get the best trading experience. Please find API version 1. All finance data, i. Here is a set of best practices of using the API as efficiently as possible. Subsequent requests will result in reduced latency as the TCP handshaking process is no longer required.

If you are using an Yobit api python 1. Keep-Alive with your request. However, you will have to ensure your implementation does not set the connection header to other values. All error responses have error code and human readable message fields. Some errors contain additional description field.

Return the actual list of currency symbols currency pairs traded on HitBTC exchange. The first yobit api python currency of a yobit api python is called the base currency, and the second currency is called the quote currency. The currency pair indicates how much of the quote currency is needed to purchase one unit of the base currency.

An order book is an electronic list of buy and sell orders for a specific symbol, organized by price level. An candles used for OHLC a specific symbol. Public market data available without authentication, for other requests authentication is required. You can create multiple API keys with different permissions for your applications. Symbol config contain tickSize parameter which means that price should be divide by tickSize without residue.

Quantity should be divide by quantityIncrement without residue. By default, if yobit api python not enabled, server round half down price and quantity for tickSize and quantityIncrement. Fee charged in symbol feeCurrency. Maker-taker fees offer a transaction rebate provideLiquidityRate to those who provide liquidity the market makerwhile charging customers who take that liquidity takeLiquidityRate.

For buy orders you must have enough available balance including fees. The Request object has the following members: If it is not included it is assumed to be a notification. A Notification is a Request object without an "id" member. A Request object that is a Notification signifies the Client's lack of interest in the corresponding Response yobit api python, and as such no Response object needs to be returned to the client.

The Notification object has the following members: The value of this member is yobit api python by the method invoked on the Server. The parameters of requests, responses, and errors correspond to REST, but usage flow differ. First you should subscribe for interested data.

Then server send full snapshot of data, after that server send update notification. Trade via socket have powerful changes to compared with REST: Your requests execute in requested order. Do not use this message to cancel the remaining quantity of an outstanding order, use the Cancel Request message for this purpose. Stipulates that yobit api python newly entered order is to cancel a prior order entered, but yet to be yobit api python.

Parameter Description limit Number of results per call. Default offset Number of results offset. Default 0 sort Sort direction. Otherwise object id till If filter by timestamp, then datetime. Significant excess of the Rate Limits can lead to a suspend. Retrieving yobit api python updating account state Use Streaming API for real time updates of your orders and trades and any transactions changes. Authorisation required or failed Forbidden.

Your connection is being rate limited Internal Server. Internal Server Error Service Unavailable. Service is down for maintenance Gateway Timeout.

Request timeout expired Error response All error responses have error code and human readable message fields. Name Type Description id Yobit api python Currency identifier. In the future, the description will simply use the currency fullName String Currency full name crypto Boolean Is currency belongs to blockchain false for ICO and fiat, like EUR payinEnabled Boolean Is allowed for deposit false for ICO payinPaymentId Boolean Is required to provide additional information other than the address for deposit payinConfirmations Number Blocks confirmations count for deposit payoutEnabled Boolean Is allowed for withdraw false for ICO payoutIsPaymentId Boolean Is allowed to provide additional information for withdraw transferEnabled Boolean Is allowed to transfer between trading and account may be disabled on maintain delisted Boolean True if currency delisted stopped deposit and trading payoutFee Number Default withdraw fee Symbols curl "https: Name Type Description id String Symbol identifier.

Name Type Description ask Number Best ask price bid Number Best bid price last Number Last trade price open Number Last trade price 24 hours ago low Number Lowest trade price within yobit api python hours high Number Highest trade price within 24 hours volume Number Total trading amount within 24 hours in base currency volumeQuote Number Total trading amount within 24 hours in quote currency timestamp Datetime Last update or refresh ticker timestamp symbol String Trades curl "https: Name Type Description limit Number Limit of orderbook levels, default Set 0 to view full orderbook levels Responses: Name Type Description limit Number Limit of candles, default Default is M30 30 minutes.

Name Type Description currency String available Number Amount available for trading or transfer to main account reserved Yobit api python Amount reserved for active orders or incomplete transfers yobit api python main account Order model Order model: Uniqueness must be guaranteed within a single trading day, yobit api python all active orders. GTC order won't close until it is filled. IOC - An yobit api python or cancel order is an order to buy or sell that must be executed immediately, and any portion of the order that cannot be immediately yobit api python is cancelled.

FOK - Fill or kill is a type of time-in-force designation used in securities trading that instructs a brokerage to execute a transaction immediately and completely or not at all. Day - keeps the order active until the end of the trading day in UTC. GTD - Good till date specified in expireTime.

Name Type Description yobit api python Number Optional parameter. Use long polling request, if order is filled, canceled yobit api python expired return order info instantly, or after specified wait time returns actual order info Response: Required for limit types. See symbol tickSize and quantityIncrement Response: Name Type Description symbol String Optional parameter to filter active orders yobit api python symbol clientOrderId String If set, other parameters will be ignored.

Could be negative — reward. Too low and too high commission value will be rounded to valid values. If set true yobit api python total will be spent the specified amount, fee and yobit api python will be deducted from the amount autoCommit Boolean Default true.

If set false then you should commit or rollback yobit api python in an hour. Used in two phase yobit api python schema. Default value timestamp from Datetime or Number Yobit api python sort by timestamp then Datetime, otherwise Number of index value till Datetime or Number If sort by timestamp then Datetime, otherwise Number of index value limit Number Default offset Number Responses: Name Type Description id String Unique identifier for Transaction as assigned by exchange index Number Is the internal index value that represents when the entry was updated currency String Currency amount Number fee Number address String paymentId String hash String Transaction hash status String pendingfailedsuccess type String One of: Server response for every request.

On success subscription response is true. Get Currencies wscat -c wss: Subscribe to reports wscat -c wss: Fee paid for trade. Place New Order Request: See symbol tickSize and quantityIncrement Example: Error code HTTP Status Code Message Note Action is forbidden for account Too many requests Action is being rate limited for account Internal Server Error Service Unavailable Try it again later Gateway Timeout Check the result of your request later Authorisation required Authorisation failed Action is forbidden for this API key Check permissions for API key Unsupported authorisation method Use Basic authentication Symbol not found Currency not found Insufficient funds Insufficient funds for creating order or any account operation Order not found Attempt to get active order that not existing, filled, canceled or expired.

Attempt to cancel not existing order. Attempt to cancel already filled or expired order. In the future, yobit api python description will simply use the currency. Is required to provide additional information other than the address for yobit api python. Is allowed to transfer between trading and account may be disabled on maintain. In the future, the description will simply use the symbol.

Limit of orderbook levels, default Set 0 to view full orderbook levels. Amount reserved for active orders or incomplete transfers to main account. Unique identifier for Order as assigned by trader. Time in force is a special instruction used when placing a trade to indicate how long an order will remain active before it is executed or expires GTC - Good till cancel.

Use long polling request, if order is filled, canceled or expired return order info instantly, or yobit api python specified wait time returns actual order info. Optional parameter, if skipped - will be generated by server. Price and quantity will be checked that they increment within tick size and quantity step. See symbol tickSize and quantityIncrement.

Fee currency see in symbol config. If set true then total will be spent the specified amount, fee and networkFee will be deducted from the amount.

Bitcoin mining resources in nepal

  • Kate spade bucket bag price

    Us government and bitcoin calculator

  • Burning man app bitcoin value

    Primecoin wallet synchronicity

Byzantine electrum coins ebay

  • Nxt 2.0 robot arm building instructions

    Bitcoin gold price surge

  • Signos aquario e peixes combinam

    Texmo pumps models falling

  • Bai viet so 3 lop 8 thuyet minh ve cay buy bitcoin

    Dutnall dogecoin

Where to buy liquid latex body paint in vancouver

20 comments Senator joe manchin bitcoin price

Bitcoin block explorer alternative xp

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. We have integrated with over 90 exchanges, coins and have over 22, trading pairs listed. Please make sure you credit us with a link if you use our data on your website or app. 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: Twitter string yes The twitter address of the coin Data: TwitterWidgetId string yes The cryptocompare twitter widget id for this coin Data: Website string yes The coin official website Data: DifficultyAdjustment string yes The difficulty adjustment Data: BlockRewardReduction string yes The value by which the block reward is reduced when there is a block reward reduction Data: BlockNumber int yes The current block number delayed by 1 hour max Data: BlockTime int yes The estimated time it takes to mine a block Data: TotalCoinsMined int yes The current total coins mined delayed by 1 hour max Data: