<!DOCTYPE html>
<html class="no-js" lang="en">
    <head>
         <?php
            $this->load->view('user/common_style');
             $this->load->view('user/header');
        ?>
       <style>  
        .text-medium {
        font-size: 14px;
        color:#333;
    }

.apitable{
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 3rem;
    font-size: .75rem;
    border-collapse: collapse;
}
.c2
{
  font-weight: bold;
  color:#345678;
  font-size:16px;
}

.apitable thead tr td{
    color: #333;
    font-size: 15px !important;
    font-weight:bold;
    text-align: left;
}

.main-table tbody tr td
{
  color:#333;
  font-size: 12px !important;
  font-weight:bold;
}


.apitable td, .apitable th {
    padding: .75rem 1rem;
    position: relative;
    color: #686b68;
    line-height: 1.25;
    border-right: 1px solid #e1e3e2;
}

.request-link {
    font-weight: 600;
    font-style: bold;
    word-break: break-word;
}
.emphasized
{
  font-size:12px;
  font-weight:bold;
}


         </style>
    </head>
    <body>
       	<div class="page-container page-section-1-ptb">
          <div class="container">
            <div class="row">  
               <div class="col-sm-12">
                    <div class="form-page">
                        <h4 class="other-title theme-color">API Referrence</h4>
                         <div class="table-responsive  main-table">
                            <h4 class="other-title theme-color">What Is API?</h4>
                            <p>Exchage script application programming interface (API) allows our clients to access and control their accounts, using custom written software.</p>
                            <div style="clear:both;"><br></div>
                            <h4 class="other-title theme-color">Public Data Functions</h4>
                              <p class="c2">Ticker</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/get_ticker</span>

                                    </td>
                                </tr>
                                  <tr>
                                      <td class="border-less">&nbsp;</td>
                                      <td>Returns data for the ETH/BTC currency pair.</td>
                                  </tr>
                                  <tr>
                                      <td>GET</td>
                                      <td class="has-badge">
                                          <span class="request-link"><?php echo base_url();?>api/get_ticker/{currency_pair}</span>
                                      </td>
                                  </tr>
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Price</td>
                                  <td><span class="emphasized">Last BTC price.</span></td>
                              </tr>

                              <tr>
                                  <td>Price USD</td>
                                  <td><span class="emphasized">Last USD price.</span></td>
                              </tr>
                              <tr>
                                  <td><span class="text--medium">24h high</span></td>
                                  <td><span class="emphasized">Last 24 hours price high.</span></td>
                              </tr>
                              <tr>
                                  <td><span class="text--medium">24h low</span></td>
                                  <td><span class="emphasized">Last 24 hours price low.</span></td>
                              </tr>
                              <tr>
                                  <td><span class="text--medium">24h low</span></td>
                                  <td><span class="emphasized">First price of the day.</span></td>
                              </tr>

                              <tr>
                                  <td><span class="text--medium">Pair</span></td>
                                  <td><span class="emphasized">Returns data for the Pair</span></td>
                              </tr>

                              </tbody>
                          </table>

                            <p class="c2">Pairs</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/get_pairs</span>
                                    </td>
                                </tr>
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>

                              <tr>
                                  <td>Pairs</td>
                                  <td><span class="emphasized">currently available Pairs</span></td>
                              </tr>
                              </tbody>
                            </table>
                              
                              <p class="c2">Coin Informations</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/coininfo/</span>
                                    </td>
                                </tr>
                               
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>

                              <tr>
                                  <td>coins</td>
                                  <td><span class="emphasized">currently available coins history listed</span></td>
                              </tr>

                              <tr>
                                  <td>coin name</td>
                                  <td><span class="emphasized">Name of the coin</span></td>
                              </tr>

                              <tr>
                                  <td>coin symbol</td>
                                  <td><span class="emphasized">currency symbol for coin</span></td>
                              </tr>
                              
                              <tr>
                                  <td>coin decimal</td>
                                  <td><span class="emphasized">currency Decimal Point</span></td>
                              </tr>

                              <tr>
                                  <td>Trade fees</td>
                                  <td><span class="emphasized">Trading fees for Buy/sell</span></td>
                              </tr>
                              <tr>
                                  <td>Deposit</td>
                                  <td><span class="emphasized">0- for deposit disabled / 1- enabled</span></td>
                              </tr>

                               <tr>
                                  <td>Withdraw</td>
                                  <td><span class="emphasized">0- for withdraw disabled / 1- enabled</span></td>
                              </tr>

                               <tr>
                                  <td>Trade</td>
                                  <td><span class="emphasized">0- for Trade disabled / 1- enabled</span></td>
                              </tr>
                              </tbody>
                            </table>


                             <p class="c2">Open orders</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/open_orders/</span>
                                    </td>
                                </tr>
                                  <tr>
                                      <td class="border-less">&nbsp;</td>
                                      <td>Returns data for all currency pair.</td>
                                  </tr>

                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/open_orders/{currency_pair}</span>
                                    </td>
                                </tr>

                                 <tr>
                                      <td class="border-less">&nbsp;</td>
                                      <td>Returns data for all particular currency pair.</td>
                                  </tr>
                               
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>

                              <tr>
                                  <td>OrderNumber</td>
                                  <td><span class="emphasized">Unique Number for Buy/sell Placement</span></td>
                              </tr>

                              <tr>
                                  <td>Type</td>
                                  <td><span class="emphasized">Type of orders Buy/sell</span></td>
                              </tr>

                              <tr>
                                  <td>rate</td>
                                  <td><span class="emphasized">Bids Amount for order placed</span></td>
                              </tr>

                              <tr>
                                  <td>Amount</td>
                                  <td><span class="emphasized">Needed Amount for order placed</span></td>
                              </tr>

                              <tr>
                                  <td>Total</td>
                                  <td><span class="emphasized">Total Amount for order placed</span></td>
                              </tr>

                            </tbody>
                            </table>




                             <p class="c2">Trade history</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/tradehistory/</span>
                                    </td>
                                </tr>
                                  <tr>
                                      <td class="border-less">&nbsp;</td>
                                      <td>Returns data for all currency pair.</td>
                                  </tr>

                                <tr>
                                    <td>GET</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/tradehistory/{currency_pair}</span>
                                    </td>
                                </tr>

                                 <tr>
                                      <td class="border-less">&nbsp;</td>
                                      <td>Returns data for all particular currency pair.</td>
                                  </tr>
                               
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>

                              <tr>
                                  <td>OrderNumber</td>
                                  <td><span class="emphasized">Unique Number for Buy/sell Placement</span></td>
                              </tr>

                              <tr>
                                  <td>Type</td>
                                  <td><span class="emphasized">Type of orders Buy/sell</span></td>
                              </tr>

                              <tr>
                                  <td>rate</td>
                                  <td><span class="emphasized">Bids Amount for order placed</span></td>
                              </tr>

                              <tr>
                                  <td>Amount</td>
                                  <td><span class="emphasized">Needed Amount for order placed</span></td>
                              </tr>

                              <tr>
                                  <td>Total</td>
                                  <td><span class="emphasized">Total Amount for order placed</span></td>
                              </tr>

                            </tbody>
                            </table>
                            <hr>

                            <h4 class="other-title theme-color">API authentication</h4>
                            <p>All private API calls require authentication. For a successful authentication you need to provide your API key, a signature and a nonce parameter.</p>
                            <br>

                            <h4 class="other-title theme-color">API key</h4>
                              <p>To get an API key, go to "Account", "Security" and then "API Keys". Set permissions and click "Generate key".</p>

                             <br>

                            <h4 class="other-title theme-color">Nonce</h4>
                            <p>Nonce is a regular integer number. It must be increased with every request you make. Read more about it here. Example: if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. Maximum value for nonce is 9223372036854775807. A common practice is to use unix time for that parameter.</p>
                            <Br>



                            <p class="c2">Account balance</p>
                             <p> This API call is cached for 10 seconds. This call will be executed on the account, to which the used API key is bound to</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/get_balances/</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>currency (optional)</td>
                                    <td>
                                        <span class="request-link">Currency Balance for particluar/All (Ex: ETH, BTC)</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>

                              <tr>
                                  <td>coin</td>
                                  <td><span class="emphasized">Requested currency name</span></td>
                              </tr>

                              <tr>
                                  <td>available</td>
                                  <td><span class="emphasized">Available Balance for Trade/withdraw</span></td>
                              </tr>

                              <tr>
                                  <td>Locked</td>
                                  <td><span class="emphasized">Amount Locked From profit earings</span></td>
                              </tr>

                              <tr>
                                  <td>Amount</td>
                                  <td><span class="emphasized">Needed Amount for order placed</span></td>
                              </tr>

                              <tr>
                                  <td>Total</td>
                                  <td><span class="emphasized">Total Amount for order placed</span></td>
                              </tr>

                            </tbody>
                            </table>



                            <p class="c2">Buy Limt Order</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/buy</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>currencyPair</td>
                                    <td>
                                        <span class="request-link">(Ex: eth_btc,btc_eur)</span>
                                    </td>
                                </tr>

                                 <tr>
                                    <td>rate</td>
                                    <td>
                                        <span class="request-link">Ask rate</span>
                                    </td>
                                </tr>

                                 <tr>
                                    <td>amount</td>
                                    <td>
                                        <span class="request-link">Ask amount</span>
                                    </td>
                                </tr>

                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>



                             <p class="c2">Sell Limt Order</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/sell</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>currencyPair</td>
                                    <td>
                                        <span class="request-link">(Ex: eth_btc,btc_eur)</span>
                                    </td>
                                </tr>

                                 <tr>
                                    <td>rate</td>
                                    <td>
                                        <span class="request-link">Bid rate</span>
                                    </td>
                                </tr>

                                 <tr>
                                    <td>amount</td>
                                    <td>
                                        <span class="request-link">Bid amount</span>
                                    </td>
                                </tr>

                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>

                            <p class="c2">Cancel Order</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/cancel_orders</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>ordernumber</td>
                                    <td>
                                        <span class="request-link">Required Order number for cancel</span>
                                    </td>
                                </tr>
                              </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>


                            <p class="c2">Cancel all orders</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/cancel_allorders</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>
                          



                            <p class="c2">Open orders</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/open_myorders</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>


                                <tr>
                                    <td>currencyPair (optional)</td>
                                    <td>
                                        <span class="request-link">Required currency pair or all open orders</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>




                             <p class="c2">Deposit Requests</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/deposits</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>


                                <tr>
                                    <td>currency(optional)</td>
                                    <td>
                                        <span class="request-link">Required currency deposits or all deposit records</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>


                             <p class="c2">Withdraw Requests</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/withdraw_req</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>


                                <tr>
                                    <td>currency (optional)</td>
                                    <td>
                                        <span class="request-link">Required currency withdraw requests or all withdraw req records</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>



                            <p class="c2">Withdraws</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/withdraws</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>


                                <tr>
                                    <td>currency (optional)</td>
                                    <td>
                                        <span class="request-link">Required currency withdraws or all withdraw records</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail</span></td>
                              </tr>
                               </tbody>
                            </table>
                            <p class="c2">My Trade history</p>
                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>POST</td>
                                    <td>
                                        <span class="request-link"><?php echo base_url();?>api/mytradehistory</span>
                                    </td>
                                </tr>
                                </tbody>   
                              </table>


                              <table class="apitable">
                               <thead>
                                <tr>
                                    <td colspan="2"><span class="text-medium">Request Parameters</span></td>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>key</td>
                                    <td>
                                        <span class="request-link">API Key</span>
                                    </td>
                                </tr>

                                <tr>
                                    <td>secret</td>
                                    <td>
                                        <span class="request-link">Secret Key</span>
                                    </td>
                                </tr>


                                <tr>
                                    <td>currencypair (optional)</td>
                                    <td>
                                        <span class="request-link">Required currency pair Trades or all Trade records</span>
                                    </td>
                                </tr>
                            </tbody>   
                              </table>
                              <table class="apitable">
                              <thead>
                              <tr>
                                  <td colspan="2"><span class="text--medium">Response (JSON)</span></td>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
                                  <td>Result</td>
                                  <td><span class="emphasized">Received Results from success/fail..</span></td>
                              </tr>
                               </tbody>
                            </table>
                          </div>
                    </div>                                    
                </div> <!-- col-md-5 end -->
                </div> <!-- row end -->
          </div> <!-- container end -->
      </div>
           
        <?php
            $this->load->view('user/common_script');
            $this->load->view('user/footer');
            ?>

          </body>
</html>