Bitycle Business
  1. CEX Aggregator(Buy&Sell)
Bitycle Business
  • Getting started
  • Bitycle Lab
    • introduction
    • Wallet as a Service(WaaS)
      • introduction
      • request Wallet(Temporary)
      • request Wallet(Permanent)
      • inquiry payment
    • Blockchain Indexer
      • introduction
      • Blockchain List
      • Contract Info
      • Get Balances
    • Security&Privacy
      • introduction
      • Check USDT Wallets Blocked
      • Get USDT blocked History
    • Node as a Service(NaaS)
      • introduction
    • Tokenization
      • introduction
    • Decentralized Storage(IPFS)
      • introduction
    • Hyperledger Services
      • introduction
  • Bitycle Cap
    • introduction
    • Coins
      • introduction
      • Coin List
      • Coin Info
      • Coin Price
      • coin exchange listings
    • Markets
      • introduction
      • Market Price
      • Markets List
      • Market Info
      • market sparklines
    • exchanges
      • introduction
      • CEX Aggregator(Buy&Sell)
        • introduction
        • get tradable markets
          GET
        • get tradable markets price
          GET
        • send otc order
          POST
        • get orders
          GET
        • get balances
          GET
      • Exchanges List
        GET
      • Exchange Info
        GET
      • Exchange Coins Listing
        GET
      • Exchange Markets Listing
        GET
  1. CEX Aggregator(Buy&Sell)

send otc order

POST
/api/exchange/fund_order

تعیین محدوده قیمتی#

قیمتی که معامله براساس آن انجام می‌شود, قیمت لحظه ای در سمت سرور بایتیکل هست و این قیمت ممکن است اختلاف جزیي با قیمتی که کاربر مشاهده می‌کند داشته باشد.
در صورت تمایل می‌توان با تعیین قیمت و درصد حد اختلاف بین قیمت مشاهده شده و قیمت واقعی معامله,از انجام معامله با اختلاف زیاد قیمت جلوگیری کرد. برای انجام این کار باید این دو پارامتر هنگام ارسال سفارش تعیین شوند:
shown_price: قیمت مشاهده شده
tolerance_pct: درصد اختلاف قابل پذیرش

قیمت اعمالی خرید و فروش#

قیمت اعمالی برای خرید و فروش از حاصل ضرب قیمت لحظه‌ای مارکت و ضریب قیمتی خرید یا فروش به دست می‌آیند. برای مشاهده ضرایب اعمالی از این اندپوینت استفاده شود:
/api/exchange/tradable_market

حجم ارسالی سفارش#

حجم ارسالی برای سفارشات خرید و فروش باید به این صورت باشد:
buy: quote_amount
sell: base_amount
برای مشاهده کمترین و بیشترین حجم در هر معامله از این اندپونت استفاده شود:
/api/exchange/tradable_market
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://api.bitycle.com/api/exchange/fund_order' \
--header 'Authorization: Bearer xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "market": "BTCIRT",
    "side": "buy",
    "shown_price": "9010005001.000",
    "tolerance_pct": "0.5",
    "quote_amount": "70000"
}'
Response Response Example
200 - Success
{
    "status": "success",
    "message": "",
    "data": {
        "id": 8,
        "market": "BTCIRT",
        "quote_amount": "54679.000000000000000",
        "base_amount": "0.000006000000000",
        "price": "9113230000.000000000000000",
        "side": "buy",
        "state": "done",
        "created_at": "2025-05-21T19:24:04.086422+03:30"
    }
}

Request

Header Params
Authorization
string 
optional
Example:
{{cap_token}}
Body Params application/json
market
string 
required
side
string 
required
shown_price
string 
optional
tolerance_pct
string 
optional
quote_amount
string 
optional
required for buy orders
base_amount
string 
optional
required for sell orders
Examples

Responses

🟢200success
application/json
Body
status
string 
required
message
string 
required
data
object 
required
id
integer 
required
market
string 
required
quote_amount
string 
required
base_amount
string 
required
price
string 
required
side
string 
required
state
string 
required
created_at
string 
required
🟠422errors
Previous
get tradable markets price
Next
get orders
Built with