<?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=Intersango%2FAPI</id>
	<title>Intersango/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=Intersango%2FAPI"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Intersango/API&amp;action=history"/>
	<updated>2026-05-15T09:16:14Z</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=Intersango/API&amp;diff=5473&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;=== common information ===  To maintain backwards compatibility the following britcoin.co.uk urls are rewritten  {| class=&quot;wikitable&quot; |- |---- |/api/ticker.php |/api/ticker.ph...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Intersango/API&amp;diff=5473&amp;oldid=prev"/>
		<updated>2019-06-04T10:14:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== common information ===  To maintain backwards compatibility the following britcoin.co.uk urls are rewritten  {| class=&amp;quot;wikitable&amp;quot; |- |---- |/api/ticker.php |/api/ticker.ph...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== common information ===&lt;br /&gt;
&lt;br /&gt;
To maintain backwards compatibility the following britcoin.co.uk urls are rewritten&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|----&lt;br /&gt;
|/api/ticker.php&lt;br /&gt;
|/api/ticker.php?currency_pair_id=1&lt;br /&gt;
|----&lt;br /&gt;
|/api/ticker&lt;br /&gt;
|/api/ticker.php?currency_pair_id=1&lt;br /&gt;
|----&lt;br /&gt;
|/api/getTrades.php&lt;br /&gt;
|/api/trades.php?currency_pair_id=1&lt;br /&gt;
|----&lt;br /&gt;
|/api/getTrades&lt;br /&gt;
|/api/trades.php?currency_pair_id=1&lt;br /&gt;
|----&lt;br /&gt;
|/api/getDepth.php&lt;br /&gt;
|/api/depth.php?currency_pair_id=1&lt;br /&gt;
|----&lt;br /&gt;
|/api/getDepth&lt;br /&gt;
|/api/depth.php?currency_pair_id=1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On error a json dictionary will be returned with 'error' set to the error.&lt;br /&gt;
&lt;br /&gt;
Example {'error':'missing api key'}&lt;br /&gt;
&lt;br /&gt;
=== Data API ===&lt;br /&gt;
&lt;br /&gt;
currency_pair_id is an optional GET parameter to all data api calls&lt;br /&gt;
* 1 = BTC:GBP&lt;br /&gt;
* 2 = BTC:EUR&lt;br /&gt;
* 3 = BTC:USD&lt;br /&gt;
* 4 = BTC:PLN&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! URL !! Description !! Parameters !! Return Values&lt;br /&gt;
|----&lt;br /&gt;
| https://intersango.com/api/ticker.php&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|----&lt;br /&gt;
| https://intersango.com/api/trades.php&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
Filters&lt;br /&gt;
* currency_pair_id&lt;br /&gt;
* last_trade_id&lt;br /&gt;
* last_trade_time&lt;br /&gt;
| if currency_pair_id not specified the return value is a dict indexed by the currency pair ids&amp;amp;lt;br/&amp;amp;gt;&lt;br /&gt;
if currency_pair_id is specified than an array is returned&lt;br /&gt;
|----&lt;br /&gt;
| https://intersango.com/api/depth.php&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Authenticated API ===&lt;br /&gt;
&lt;br /&gt;
== Version 0.1 ==&lt;br /&gt;
&lt;br /&gt;
All API calls are POST and must include the api key as api_key&lt;br /&gt;
&lt;br /&gt;
All return values are json encoded.  All decimal values are sent as strings.&lt;br /&gt;
&lt;br /&gt;
The base url for all calls is&lt;br /&gt;
https://intersango.com/api/authenticated/v0.1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Relative URL !! Description !! Parameters !! Return Values&lt;br /&gt;
|----&lt;br /&gt;
|listAccounts.php&lt;br /&gt;
|Accounts.&lt;br /&gt;
|No parameters.&lt;br /&gt;
|array of accounts&lt;br /&gt;
*id&lt;br /&gt;
*balance&lt;br /&gt;
*outstanding_total&lt;br /&gt;
*currency_abbreviation&lt;br /&gt;
*currency_id&lt;br /&gt;
*reference_code&lt;br /&gt;
|----&lt;br /&gt;
|listOrders.php&lt;br /&gt;
|List orders for an account.&lt;br /&gt;
|account_id&lt;br /&gt;
|array of orders&lt;br /&gt;
*id&lt;br /&gt;
*selling&lt;br /&gt;
*rate&lt;br /&gt;
*quantity&lt;br /&gt;
*outstanding&lt;br /&gt;
*base_account_id&lt;br /&gt;
*quote_account_id&lt;br /&gt;
*currency_pair_id&lt;br /&gt;
*fulfilled&lt;br /&gt;
*placed&lt;br /&gt;
*processed&lt;br /&gt;
*expire&lt;br /&gt;
*cancelled&lt;br /&gt;
*partial&lt;br /&gt;
*immediate&lt;br /&gt;
|----&lt;br /&gt;
|listDeposits.php&lt;br /&gt;
|Deposits for an account&lt;br /&gt;
|account_id&lt;br /&gt;
|array of deposits&lt;br /&gt;
*account_id&lt;br /&gt;
*amount&lt;br /&gt;
*deposit_id&lt;br /&gt;
|----&lt;br /&gt;
|listWithdrawalRequests.php&lt;br /&gt;
|Withdraws for an account.&lt;br /&gt;
|account_id&lt;br /&gt;
|array of withdrawal request&lt;br /&gt;
|----&lt;br /&gt;
|placeLimitOrder.php&lt;br /&gt;
|Place limit order.&lt;br /&gt;
|&lt;br /&gt;
* quantity&lt;br /&gt;
* rate&lt;br /&gt;
* selling &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot;&lt;br /&gt;
* base_account_id&lt;br /&gt;
* quote_account_id&lt;br /&gt;
| order_id&lt;br /&gt;
|----&lt;br /&gt;
|requestCancelOrder.php&lt;br /&gt;
|Request that an order be cancelled.&lt;br /&gt;
Orders are not guaranteed to have been cancelled&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
until the cancelled property of the order is the time it was cancelled.&lt;br /&gt;
|account_id order_id&lt;br /&gt;
|dict with 'result' set to 'success'&lt;br /&gt;
|----&lt;br /&gt;
|cancelWithdrawalRequest.php&lt;br /&gt;
|Cancel request to withdrawal funds&lt;br /&gt;
|account_id withdrawal_request_id&lt;br /&gt;
|dict with 'result' set to 'success'&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Withdrawing and Depositing===&lt;br /&gt;
Withdrawing and depositing BTC is not possible using the official API, but it is possible by impersonating a web-browser. See [[Ad-hoc transfers]]&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[Proof of Publication]]&lt;br /&gt;
* [[BIP Draft - Instant Partial Confirmation]]&lt;br /&gt;
* [[BIP 0036]]&lt;br /&gt;
* [[Coin Swap]]&lt;br /&gt;
* [[Payment Request]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>