<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=MtGox%2FAPI</id>
	<title>MtGox/API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=MtGox%2FAPI"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=MtGox/API&amp;action=history"/>
	<updated>2026-05-15T07:56:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=MtGox/API&amp;diff=5979&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;The Mt. Gox API provides methods to access information from the market, place orders, and more.  Two APIs are currently available:   * HTTP API  * MtG...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=MtGox/API&amp;diff=5979&amp;oldid=prev"/>
		<updated>2019-06-17T05:22:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &lt;a href=&quot;/Mt._Gox&quot; title=&quot;Mt. Gox&quot;&gt;Mt. Gox&lt;/a&gt; API provides methods to access information from the market, place orders, and more.  Two APIs are currently available:   * &lt;a href=&quot;/MtGox/API/HTTP&quot; title=&quot;MtGox/API/HTTP&quot;&gt;HTTP API&lt;/a&gt;  * MtG...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [[Mt. Gox]] API provides methods to access information from the market, place orders, and more.&lt;br /&gt;
&lt;br /&gt;
Two APIs are currently available: &lt;br /&gt;
&lt;br /&gt;
* [[MtGox/API/HTTP|HTTP API]] &lt;br /&gt;
* [[MtGox/API/Pubnub|Streaming Pubnub API]]&lt;br /&gt;
* [[MtGox/API/Streaming|Streaming websocket API]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Number Formats==&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;old API&amp;quot;, currency- and amount-values (price, volume,...) were given as '''float'''. These values are likely being deprecated and replaced by fields of the same name with &amp;quot;_int&amp;quot; as suffix. These are '''fixed-decimal''', so you have to move the decimal point yourself (divide). The exponent differs based on the kind of the value.&lt;br /&gt;
&lt;br /&gt;
In order to convert the '''int''' to a '''decimal''' you can...&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! kind of field !! ...divide by !! ...multiply by&lt;br /&gt;
|-&lt;br /&gt;
| BTC (volume, amount) || 1E8 (100,000,000) || 0.00000001&lt;br /&gt;
|-&lt;br /&gt;
| USD, AUD, CAD, CHF, CNY, DKK, EUR, GBP, HKD, NZD, PLN, RUB, SGD, THB, NOK, CZK (price) || 1E5 (100,000) || 0.00001&lt;br /&gt;
|-&lt;br /&gt;
| JPY, SEK (price) || 1E3 (1,000) || 0.001&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Implementation advice: it's probably best to use '''int''' or '''Decimal''' (if your language/db offers such a type) in your clients. Using '''float''' will likely lead to nasty rounding problems.&lt;br /&gt;
&lt;br /&gt;
== Currency Symbols ==&lt;br /&gt;
List of the currency symbols available with the API:&lt;br /&gt;
&lt;br /&gt;
USD, AUD, CAD, CHF, CNY, DKK, EUR, GBP, HKD, JPY, NZD, PLN, RUB, SEK, SGD, THB, NOK, CZK&lt;br /&gt;
&lt;br /&gt;
==Bankruptcy; stolen bitcoin (2014–ongoing)==&lt;br /&gt;
On 28 February 2014, Mt Gox filed in Tokyo, Japan for bankruptcy protection reporting it had liabilities of about 6.5 billion yen ($65 million USD) and 3.84 billion yen ($38.4 million USD) in assets. &amp;lt;ref&amp;gt;McLannahan, Ben (2014-02-28). &amp;quot;https://www.ft.com/content/6636e0e8-a06e-11e3-a72c-00144feab7de#axzz2v8w0y2mI&amp;quot; Bitcoin exchange Mt Gox files for bankruptcy protection&amp;quot;. Financial Times.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Date and time==&lt;br /&gt;
&lt;br /&gt;
Most dates you will find in mtgox API are UNIX time&lt;br /&gt;
&lt;br /&gt;
See http://en.wikipedia.org/wiki/Unix_time&lt;br /&gt;
&lt;br /&gt;
Most programming languages should have tools for managing those timestamps&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [http://bitcointalk.org/index.php?topic=164404.0 MtGox API version 2: Unofficial Documentation]&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
&lt;br /&gt;
[[Category:Exchanges]]&lt;br /&gt;
[[Category:Technology]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>