Development API​
The following API is for developers who want to include Easyrabbit exchange features. If needed you can request more features by Contacting our support team.

Getting Started:
• Request an API key by Contacting our support team.
• Read the following documentation.

Documentation contents:
General information
API extra fee
Methods
 • Supported currency list
 • Get pair information
 • Get exchange rates
 • Place order
 • Order status
 • Orders
API Documentation​
General API Information
• The base endpoint is: https://easyrabbit.net/api/
• All endpoints return a JSON object.
• Data is returned in descending order. Newest first, oldest last.
• Server time is configured as UTC.
• All endpoints will return a success or an error Response.

A success Response example is as follows:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": { .... }
}
Response and Message is success, Error is null, response data will be given inside the Data array.
An error response example is as follows:​
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}
The Response is error, the Error displays the error number, the Message describes the error.​
API extra fee
After requesting an API key you may want to set up your API extra fee.

Our fee is from 0.2% to 0.3% depending on the selected currencies.
For example, you may choose to charge a 0.4% fee (we can set up any commission you want). Thus, your users should pay a 0.6% - 0.7% commission in total depending on the selected currencies.

To set up an extra commission, please Contact us.

Your API extra commission is included in all the receiving amount results.
Supported currency list
GET /api/currencylist
Parameters

apikey:
Your API key.

Optional parameters:

symbol:
If the symbol is not set, details for all symbols will be returned in an array.

Response

Response:
"success" or "error",
Error:
"" or "1" or "2",
Message:
"success" or "Invalid API key" or "Not supported symbol",
Symbol:
Currency ticker BTC, ETH etc,
Name:
Currency name Bitcoin, Ethereum etc,
Deposit:
Currency deposit status ("ok" or "suspended"),
Receive:
Currency receive status ("ok" or "suspended").
Request example:
https://easyrabbit.net/api/currencylist?apikey=yourkey&symbol=BTC
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Symbol": "BTC",
   "Name": "Bitcoin",
   "Deposit": "ok",
    "Receive": "ok"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 2:
{
 "Response": "error",
 "Error": "2",
 "Message": "Not supported symbol"
}
Get pair information
GET /api/pairinfo
Parameters

apikey:
Your API key,
from:
Ticket of currency to deposit,
to:
Ticket of currency to receive.

Response

Response:
"success" or "error",
Error:
"" or "1" or "3" or "4",
Message:
"success" or "Invalid API key" or "Pair is currently unavailable" or "Pair is not supported",
Min:
Minimum amount to deposit,
Max:
Maximum amount to deposit,
Network_fee:
Network fee of the receiving currency.
Request example:
https://easyrabbit.net/api/pairinfo?apikey=yourkey&from=BTC&to=ETH
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Min": "0.006466",
   "Max": "36.947064",
   "Network_fee": "0.01"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 3:
{
 "Response": "error",
 "Error": "3",
 "Message": "BTC_ETH is currently unavailable try again later"
}

Error 4:
{
 "Response": "error",
 "Error": "4",
 "Message": "BTC_LSX is not a supported pair of currencies"
}
Get exchange rates
GET /api/exrates
Parameters

apikey:
Your API key,
from:
Ticket of currency to deposit,
to:
Ticket of currency to receive,
amount:
Amount to deposit.

Optional parameters:

amounttype:
Set this parameter as "receive" if you want to specify as "amount" the amount you want to receive,

Response

Response:
"success" or "error",
Error:
"" or "1" or "3" or "4" or "5",
Message:
"success" or "Invalid API key" or "Pair is currently unavailable" or "Pair is not supported" or "Not allowed amount",
Rate:
Actual rate (Commision fees included),
Network_fee:
Network fee of the receiving currency,
Deposit_amount:
The exact amount you have to deposit,
Receive_amount:
Estimated receiving amount (All fees included).
Request example:
https://easyrabbit.net/api/exrates?apikey=yourkey&from=BTC&to=ETH&amount=1
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Rate": "29.9933824",
   "Network_fee": "0.01",
   "Deposit_amount": "1"
   "Receive_amount": "29.98338"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 3:
{
 "Response": "error",
 "Error": "3",
 "Message": "BTC_ETH is currently unavailable try again later"
}

Error 4:
{
 "Response": "error",
 "Error": "4",
 "Message": "BTC_LSX is not a supported pair of currencies"
}

Error 5:
{
 "Response": "error",
 "Error": "5",
 "Message": "Not allowed amount",
 "Min": "0.006466",
 "Max": "36.947064"
}
Place order
GET /api/placeorder
Parameters

apikey:
Your API key,
from:
Ticket of currency to deposit,
to:
Ticket of currency to receive,
amount:
The exact amount you have to deposit (If you deposit other amount the order will fail),
address:
Receiving wallet address.

Optional parameters:

tag:
Receiving wallet address tag, "no" if not set,
sec:
Fluctuation security option, "yes" or "no" (If rates drop over 1.5% during the procedure cancel and refund). "no" if not set,
refundaddress:
If fluctuation security option is selected ("yes"), you have to enter a refund address,
refundtag:
If fluctuation security option is selected ("yes"), you may enter a refund tag, "no" if not set,
amounttype:
Set this parameter as "receive" if you want to specify as "amount" the amount you want to receive.

Response

Response:
"success" or "error",
Error:
"" or "1" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11",
Message:
"success" or "Invalid API key" or "Pair is currently unavailable" or "Pair is not supported" or "Not allowed amount" or "Invalid address" or "Invalid tag" or "Invalid refund address" or "Invalid refund tag" or "Fluctuation Security is yes, refund address not set" or "Security limitation",
Id:
The transaction id,
From:
Ticket of currency to deposit,
To:
Ticket of currency to receive,
Deposit_amount:
The exact amount you have to deposit,
Receive_amount:
Estimated receiving amount (All fees included),
Deposit_address:
Our wallet address,
Deposit_tag:
Our wallet tag, "no" is set if not needed (If tag is set and you fail to include it in your deposit your funds will be lost),
Receive_address:
Receiving wallet address,
Receive_tag:
Receiving wallet tag,
Refund_address:
Refund wallet address,
Refund_tag:
Refund wallet tag,
Security:
Fluctuation security option,
Time:
Timestamp (UTC).
Request example:
https://easyrabbit.net/api/placeorder?apikey=yourkey&from=BTC&to=ETH&amount=1&address=yourETHaddress
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Id": "Ksiw82Kls201",
   "From": "BTC",
   "To": "ETH",
   "Deposit_amount": "1",
   "Receive_amount": "29.98338",
   "Deposit_address": "{Our BTC address}",
   "Deposit_tag": "no",
   "Receive_address": "{Your ETH address}",
   "Receive_tag": "no",
   "Refund_address": "no",
   "Refund_tag": "no",
   "Security": "no",
   "Time": "1554977359"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 3:
{
 "Response": "error",
 "Error": "3",
 "Message": "BTC_ETH is currently unavailable try again later"
}

Error 4:
{
 "Response": "error",
 "Error": "4",
 "Message": "BTC_LSX is not a supported pair of currencies"
}

Error 5:
{
 "Response": "error",
 "Error": "5",
 "Message": "Not allowed amount",
 "Min": "0.006466",
 "Max": "36.947064"
}

Error 6:
{
 "Response": "error",
 "Error": "6",
 "Message": "Invalid {Symbol} address",
 "Address": "{The receiving address you set}"
}

Error 7:
{
 "Response": "error",
 "Error": "7",
 "Message": "Invalid {Symbol} tag",
 "Tag": "{The receiving tag you set}"
}

Error 8:
{
 "Response": "error",
 "Error": "8",
 "Message": "Invalid {Symbol} refund address",
 "Address": "{The refund address you set}"
}

Error 9:
{
 "Response": "error",
 "Error": "9",
 "Message": "Invalid {Symbol} refund tag",
 "Tag": "{The refund tag you set}"
}

Error 10:
{
 "Response": "error",
 "Error": "10",
 "Message": "Fluctuation Security is yes, refund address not set"
}

Error 11:
{
 "Response": "error",
 "Error": "11",
 "Message": "Security limitation. We cannot accept The exact amount of 1 {Symbol}. Try with a slightly lower or higher amount, or you will be able to place the order in 10 minutes",
 "Minutes": "10"
}
Order status
GET /api/orderstatus
Parameters

apikey:
Your API key,
id:
Transaction id.

Response

Response:
"success" or "error",
Error:
"" or "1" or "12",
Message:
"success" or "Invalid API Key" or "Invalid transaction id",
Id:
The transaction id,
Status:
"Awaiting Deposit" or "Confirming Deposit" or "Payment Accepted" or "Exchanging" or "Sending" or "Complete" or "Refund" or "Failed",
Receive_amount:
Final receive amount if status is "Sending" or "Complete". Estimated receive amount for other statuses.
Request example:
https://easyrabbit.net/api/orderstatus?apikey=yourkey&id=Ksiw82Kls201
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Id": "Ksiw82Kls201",
   "Status": "Complete",
   "Receive_amount": "30.02412"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 12:
{
 "Response": "error",
 "Error": "12",
 "Message": "Invalid transaction id"
}
Orders
GET /api/orders
Parameters

apikey:
Your API key.

Optional parameters:

id:
The transaction id,
status:
Display orders with particular status,
limit:
How many orders to retreive 25 or 50 or 100.

Response

Response:
"success" or "error",
Error:
"" or "1" or "12" or "13" or "14",
Message:
"success" or "Invalid API Key" or "Invalid transaction id" or "Invalid status parameter" or "Invalid limit number",
Order Details
,
Estimated_amount:
Displayed estimated amount when order created,
Receive_amount:
Final receive amount,
Status:
"Awaiting Deposit" or "Confirming Deposit" or "Payment Accepted" or "Exchanging" or "Sending" or "Complete" or "Refund" or "Failed".
Request example:
https://easyrabbit.net/api/orders?apikey=yourkey
Response examples:

Success:
{
 "Response": "success",
 "Error": "",
 "Message": "success",
 "Data": [
  {
   "Id": "Ksiw82Kls201",
   "From": "BTC",
   "To": "ETH",
   "Deposit_amount": "1",
   "Estimated_amount": "29.98338",
   "Receive_amount": "30.02412",
   "Receive_address": "{Your ETH address}",
   "Receive_tag": "no",
   "Refund_address": "no",
   "Refund_tag": "no",
   "Security": "no",
   "Status": "Complete",
   "Time": "1554977359"
  },
  {
   "Id": "Xi9e2ksEs02s",
   "From": "ETH",
   "To": "DASH",
   "Deposit_amount": "12.5",
   "Estimated_amount": "16.93512",
   "Receive_amount": "16.95263",
   "Receive_address": "{Your DASH address}",
   "Receive_tag": "no",
   "Refund_address": "no",
   "Refund_tag": "no",
   "Security": "no",
   "Status": "Complete",
   "Time": "1554977359"
  }
  ]
}
Errors:
Error 1:
{
 "Response": "error",
 "Error": "1",
 "Message": "Invalid API key"
}

Error 12:
{
 "Response": "error",
 "Error": "12",
 "Message": "Invalid transaction id"
}

Error 13:
{
 "Response": "error",
 "Error": "13",
 "Message": "Invalid status parameter"
}

Error 14:
{
 "Response": "error",
 "Error": "14",
 "Message": "Invalid limit number, try 25 or 50 or 100"
}