API Documentation

FXADK Market REST API Documentation

Welcome to the FXADK Market REST API documentation. This API (Application Programming Interface) will allow you to access the functionality of this exchange by means of HTTP requests, making integration with your own applications possible.

Usage

In order to use a public API method, you must make an HTTP request to the appropriate endpoint for that particular method, sending the appropriate GET or POST parameters for that method. You can also send them in the PAYLOAD of the request in JSON format.

Public API Methods

These methods can be accessed without an account or API key.

Private API Methods

These methods cannot be accessed without an account or API key and secret key, Needed parameters(api_key,api_secret).

You are permited to make up to 20 requests a minute.

Connecting to the API
You can access the API at the following url:
https://fxadk.com/api
Currency Details

Gives daily market close prices for the selected period.

Params :

api_key,api_secret

Response :
                    
                      {
                        "status": "Success",
                        "message": [
                        {
                          "name": "Bitcoin",
                          "symbol": "BTC",
                          "min_withdraw": "1.00000000",
                          "max_withdraw": "10.00000000",
                          "min_deposit": "1.00000000",
                          "max_deposit": "10.00000000"
                        },
                        {
                          "name": "Aidos Kuneen",
                          "symbol": "ADK",
                          "min_withdraw": "1.00000000",
                          "max_withdraw": "10.00000000",
                          "min_deposit": "1.00000000",
                          "max_deposit": "10.00000000"
                        }
                        ]
                      }
                    
                  
POST https://fxadk.com/api/getCurrencies
Pair Details

Gives daily market close prices for the selected period.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
                    
                      {
                        "status": "Success",
                        "message": {
                        "from_cur": "BTC",
                        "to_cur": "ADK",
                        "pair": "ADK/BTC",
                        "min_amt": "0.00010000",
                        "min_price": "0.00010000",
                        "max_price": "10.00000000",
                        "trade_fee": "0.25%",
                        "taker_trade_fee": "0.25%",
                        "trade_data": {
                        "volume": "0.0000",
                        "change": "0.00",
                        "high": "0.0000",
                        "low": "0.0000",
                        "class": "posVal",
                        "daily": "0.00",
                        "lastprice": "3.00000000"
                      },
                      "price_range": "identical"
                    }
                  }
                
              
POST https://fxadk.com/api/getPairDetails
Buy Orders

Gives daily market close prices for the selected period.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
                
                  {
                    "status": "Success",
                    "message": {
                    "buy_orders": [
                    {
                      "amount": "3.00000000",
                      "price": "3.00000000",
                      "total": "9.00000000"
                    }
                    ]
                  }
                }
              
            
POST https://fxadk.com/api/getBuyOrders
Sell Orders

Gives daily market close prices for the selected period.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
              
                {
                  "status": "Success",
                  "message": {
                  "sell_orders": [
                  {
                    "amount": "3.00000000",
                    "price": "3.00000000",
                    "total": "9.00000000"
                  }
                  ]
                }
              }
            
          
POST https://fxadk.com/api/getSellOrders
Market History

Gives daily market close prices for the selected period.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
            
              {
                "status": "Success",
                "message": {
                "market_orders": [
                {
                  "datetime": "07:11:42",
                  "price": "3.00000000",
                  "amount": "3.00000000"
                },
                {
                  "datetime": "07:11:39",
                  "price": "3.00000000",
                  "amount": "3.00000000"
                }
                ]
              }
            }
          
        
POST https://fxadk.com/api/getMarketHistory
Account Balance

This endpoint returns the all currency balances.

Params :

api_key,api_secret

Response :
          
            {
              "status": 1,
              "message": [
              {
                "symbol": "BTC",
                "balance": 1000
              },
              {
                "symbol": "ADK",
                "balance": 1000
              }
              ]
            }
          
        
POST https://fxadk.com/api/getAccountbalance
Deposit History

This endpoint returns a list of existing deposit history.

Params :

api_key,api_secret

Response :
          
            {
              "status": "Success",
              "message": [
              {
                "currency": "ADK",
                "amount": "0.19760000",
                "address": "DSMDXMHGDLDG9ICWRWEIR9DWITOPCUSGZCCGIPYOPSVOQEOYIAUFPUQYBJGZGEPNDMINVBDVWCNZLAIVIDFXITCHGD",
                "transaction_id": "QNTZYSH9LEIWXQCUEVQZLNZILBOQHHAUSOH9UPFZQVBJOLGWGHEEZEVJA9MQEOGLBFOACMPAURVIVTL9M",
                "status": "Completed",
                "updated_at": "2019-10-18 10:37:57"
              },
              {
                "currency": "BTC",
                "amount": "0.19780000",
                "address": "2NDyMKeHpuB2NyiuhzmdubritQwqDQ2QXEx",
                "transaction_id": "7330fd281455d027dea73da8b59ed13cf9b472b6f700638c1093e88873ce1407",
                "status": "Completed",
                "updated_at": "2019-10-19 11:31:50"
              }
              ]
            }
          
        
POST https://fxadk.com/api/getDeposithistory
Withdraw History

This endpoint returns a list of existing withdraw history.

Params :

api_key,api_secret

Response :
          
           {
            "status": "Success",
            "message": [
            {
              "currency": "ADK",
              "amount": "0.20000000",
              "fee_amt": "0.00240000",
              "address": "DSMDXMHGDLDG9ICWRWEIR9DWITOPCUSGZCCGIPYOPSVOQEOYIAUFPUQYBJGZGEPNDMINVBDVWCNZLAIVIDFXITCHGD",
              "transaction_id": "QNTZYSH9LEIWXQCUEVQZLNZILBOQHHAUSOH9UPFZQVBJOLGWGHEEZEVJA9MQEOGLBFOACMPAURVIVTL9M",
              "status": "Completed",
              "updated_at": "2019-10-18 08:15:58"
            },
            {
              "currency": "BTC",
              "amount": "0.20000000",
              "fee_amt": "0.00220000",
              "address": "2NDyMKeHpuB2NyiuhzmdubritQwqDQ2QXEx",
              "transaction_id": "7330fd281455d027dea73da8b59ed13cf9b472b6f700638c1093e88873ce1407",
              "status": "Completed",
              "updated_at": "2019-10-19 11:02:49"
            },
            ]
          }
        
      
POST https://fxadk.com/api/getWithdrawhistory
Open Orders

This endpoint returns a list of existing exchange open order books.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
          
           {
            "status": 1,
            "message": [
            {
              "pair": "ADK_BTC",
              "type": "Buy",
              "amount": "3.00000000",
              "price": "3.00000000",
              "total": "9.00000000"
            }
            ]
          }
        
      
POST https://fxadk.com/api/getOpenOrders
Stop Orders

This endpoint returns a list of existing exchange stop order books.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
          
            {
              "status": "Success",
              "message": [
              {
                "pair": "ADK_BTC",
                "amount": "3.00000000",
                "stopprice": "4.00000000",
                "total": "12.00000000",
                "type": "Buy",
                "datetime": "2020-02-01 09:33:19"
              }
              ]
            }
          
        
POST https://fxadk.com/api/getStopOrders
My Trade History

This endpoint returns a list of existing exchange trade history.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
          
           {
            "status": "Success",
            "message": [
            {
              "total": "9.00000000",
              "type": "Buy",
              "status": "Filled",
              "ordertype": "Limit",
              "amount": "3.00000000",
              "price": "3.00000000",
              "fees": 0.0075,
              "feecur": "BTC",
              "datetime": "2020-02-03 04:40:19"
            }
            ]
          }
        
      
POST https://fxadk.com/api/getTradeHistory
My Cancel History

This endpoint returns a list of existing exchange cancel history.

Params :

api_key,api_secret

pair:ADK/BTC

Response :
          
           {
            "status": "Success",
            "message": [
            {
              "total": "9.00000000",
              "type": "Buy",
              "status": "Cancelled",
              "ordertype": "Limit",
              "amount": "3.00000000",
              "price": "3.00000000",
              "fees": "0.00000000",
              "datetime": "2020-02-03 04:46:03"
            }
            ]
          }
        
      
POST https://fxadk.com/api/getCancelHistory
Create Order

This endpoint returns a list of existing exchange cancel history.

Params :

api_key, api_secret, amount, price, order(market,limit,stoporder), type(buy,sell), pair(ADK_BTC)

Response :
          
           {
            "status":"1",
            "message":"Order placed"
          }
         
       
POST https://fxadk.com/api/createOrder
Cancel Order

This endpoint returns a list of existing exchange cancel history.

Params :

api_key, api_secret, orderid

Response :
          
           {
            "status":"1",
            "message":"Order cancelled"
          }
         
       
POST https://fxadk.com/api/cancelOrder