Ana içeriğe geç

Coincraddle API Belgeleri


Başlama
Coincraddle API isteklerinin hepsi, key (API anahtarı) parametresini içermelidir, kaydolduktan sonra elde edilebilir: Ortaklık Programı.

API URI https://coincraddle.com/v1/api

Response type json


GET REQUESTS


/validate-address - Adres Doğrulama
Bu istek, girilen adresin doğruluğunu belirler.
GET
https://coincraddle.com/v1/api/validate-address?key=3r8wzm4c8uo9ep5tk&currency=BTC&address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
currencystringBTC
addressstringbc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh

Response 200

{
    "result":true
}

/rate - İşlem Miktarı İçin Döviz Kuru
Bu istek, mevcut döviz kurlarını alır. Kur, her işlem için alınan madenci ücretini içermez.
GET
https://coincraddle.com/v1/api/rate?key=3r8wzm4c8uo9ep5tk&from=BTC&to=USDT&amount=1&fix=0

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
fromstringBTC
tostringUSDT
amountfloat1
fixint 0 or 10

Response 200

{
  "fix": false,
  "minamount": 0.02,
  "maxamount": 120,
  "rate": 16776.052484164,
  "withdrawalFee": 3.96626 USDT,
  "result": true
}

* fix: true - sabit kurlar, false - değişken kurlar

* withdrawalFee: Çekme ücreti hakkında yaklaşık bilgi. Değişken parametre.


/payment/rate - İşlem Miktarı İçin Ödeme Kuru
Bu istek, mevcut döviz kurlarını alır ve ödeme almak için gönderilmesi gereken miktarı hesaplar.
GET
https://coincraddle.com/v1/api/payment/rate?key=3r8wzm4c8uo9ep5tk&from=BTC&to=USDT&amountTo=1000

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
fromstringBTC
tostringUSDT
amountTofloat1000

Response 200

{
  "minamount": 25,
  "maxamount": 250000,
  "rate": 0.04281856,
  "result": true
}

* rate: Göndermeniz gereken miktar

* minamount, maxamount: limits of amountTo, in the to currency


/currencies - Para Birimleri Listesi
Bu istek, mevcut tüm paraların listesini alır.
GET
https://coincraddle.com/v1/api/currencies?key=3r8wzm4c8uo9ep5tk

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk

Response 200

{
  "BTC": {
    "coinName": "Bitcoin",
    "minamount": 0.1,
    "maxamount": 120,
    "tagname": "",
    "network":"",
    "available": true
  },
  "USDT": {
    "coinName": "Tether",
    "minamount": 1678.66,
    "maxamount": 2757528,
    "tagname": "",
    "network":"erc20",
    "available": true
  },
 "ETC": {
    "coinName": "Ethereum Classic",
    "minamount": 102.51,
    "maxamount": 1021451,
    "tagname": "",
    "network":"",
    "available": true
  },
  "HBAR": {
    "coinName": "Hedera",
    "minamount": 34045.98,
    "maxamount": 39867109,
    "tagname": "MEMO",
    "network": "",
    "available": true
  },
  ...
}

Not

Eğer tagname boş değilse, bu para birimi için etiket zorunludur.


/pairs - Tüm Çiftlerin Listesi
Bu istek, takas edilebilecek tüm çiftlerin listesini alır.
GET
https://coincraddle.com/v1/api/pairs?key=3r8wzm4c8uo9ep5tk

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk

Response 200

{
  "BTC": [
    "ZEC",
    "DAI",
    "USDT",
    "ETC",
    "BNB",
    "XRP"
  ],
  "XMR": [
    "USDC",
    "BTC",
    "USDT",
    "TUSD"
  ],
  "DASH": [
    "BTC",
    "USDT",
    "ETH"
  ],
  "USDC": [
    "USDT",
    "ZEC"
  ],
  "LOOM": [
    "ETH",
    "PERL"
  ],
  "XRP": [
    "TRX"
  ],
  "ADA": [
    "USDT"
  ],
  "QTUM": [
    "BTC"
  ],
  ...
}

/exchange-create - Takas Başlatma
Bu istek bir takas başlatır.
GET
https://coincraddle.com/v1/api/exchange-create?key=3r8wzm4c8uo9ep5tk&from=BTC&to=ETH&amount=0.1&destinationAddress=0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5&refundAddress=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh&fix=0

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
destinationAddressstring0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5
destinationTagoptionalstring
refundAddressstringbc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
refundTagoptionalstring
fromstringBTC
tostringETH
amountfloat0.1
fixint 0 or 10

Response 200

{
    "id"             : "2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a",
    "depositAddress" : "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97",
    "depositTag"     : "",
    "result"         : true
}

/payment/exchange-create - Ödeme Başlatma
Bu istek bir ödeme başlatır.
GET
https://coincraddle.com/v1/api/payment/exchange-create?key=3r8wzm4c8uo9ep5tk&from=BTC&to=ETH&amountTo=0.1&destinationAddress=0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5&refundAddress=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
destinationAddressstring0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5
destinationTagoptionalstring
refundAddressstringbc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
refundTagoptionalstring
fromstringBTC
tostringETH
amountTofloat0.1

Response 200

{
    "id"             : "2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a",
    "depositAddress" : "bc1qgdjqv0av3q56jvd82tkdjpy7gdp9ut8tlqmgrpmv24sq90ecnvqqjwvw97",
    "depositTag"     : "",
    "expiresAt"      : "2021-05-01T10:39:30Z",
    "result"         : true
}

* expiresAt: deposit deadline, UTC (ISO 8601). The deposit must arrive by this time; after it the payment status becomes payment_time_expired


/payment/emergency - Gecikmiş Ödeme İşlem Seçeneği
Askıya alınmış bir ödeme için eylemi seçin (işlemi devam ettirme veya geri ödeme): payment_halted durumundaki bir sipariş. Nedeni /exchange-status yanıtındaki emergency bloğu gösterir (EXPIRED veya LESS).
GET
https://coincraddle.com/v1/api/payment/emergency?key=3r8wzm4c8uo9ep5tk&id=2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a&needExchange=0&refundAddress=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
idstring2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a
needExchangeint 0 or 10
refundAddressoptionalstringbc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
refundTagoptionalstring

Response 200

{
    "result": true
}

* needExchange: 1 - Değişim oranı seçildiğinde veya sipariş düzeltilirken piyasa oranına göre işlemi devam ettirin. 0 - Ağ ücreti kesilerek iade yapın.

* refundAddress: 0 olan "needExchange" parametresi zorunlu


/exchange-status - Takas Durumu Alın
Mevcut takasın durumu hakkında bilgi alın.
GET
https://coincraddle.com/v1/api/exchange-status?key=3r8wzm4c8uo9ep5tk&id=2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
idstring2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a

Response 200

{
    "id"                 : "2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a",
    "type"               : "payment",
    "status"             : "payment_halted",
    "from"               : "BTC",
    "to"                 : "USDT",
    "depositAddress"     : "1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX",
    "depositTag"         : "",
    "depositHash"        : "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
    "destinationAddress" : "0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5",
    "destinationTag"     : "",
    "refundAddress"      : "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
    "refundTag"          : "",
    "expectedAmountFrom" : 0.1,
    "expectedAmountTo"   : 5443.75908463,
    "amountFrom"         : "0.1",
    "amountTo"           : null,
    "txId"               : null,
    "date"               : "01.05.2021 10:24:30",
    "expiresAt"          : "2021-05-01T10:39:30Z",
    "emergency"          : {
        "status"         : "EXPIRED"
    },
    "result"             : true
}

* type: order type: payment, fixed (fixed rate) or float (floating rate)

* expiresAt: deposit deadline, UTC (ISO 8601), the same as in the /payment/exchange-create answer. Returned for a payment only (type = payment); a fixed or floating rate exchange has no such field

Açıklama

Kullanılan durumların listesi:
new - Yeni takas (yatırım bekleniyor)
waiting_deposit - Yatırımın onaylanması
deposit_received - Yatırım alındı
exchanging - Takas sürecinde
sending - Gönderme işlemi sürecinde
success - Takas başarıyla tamamlandı
time_expired - Fonların bekleme süresi doldu
payment_time_expired - Ödeme yapmak için fon bekleme süresi doldu
failed - Takas hatayla tamamlandı
sending_failed - Gönderme işlemi hatayla tamamlandı
reverted - Müşteriye fonları geri verildi

Duraklatılan siparişler için durum listesi:
EXPIRED - Sipariş süresi dolduktan sonra alınan işlem
LESS - Siparişte belirtilen miktardan daha az bir işlem gönderildi


/exchanges-status - Takasların Durumlarını Alın
Mevcut takasların durumu hakkında bilgi alın.
GET
https://coincraddle.com/v1/api/exchanges-status?key=3r8wzm4c8uo9ep5tk

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk

Headers Parametre

ParametreTürÖrnek
idsarray['2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a', '3b5sa1n8-ev7c-4c43-b5ud-aa2a9347fa6k', '16257e7f-f9fc-4dbb-8ac7-63d0004b3064']

Response 200

{
   "0":{
      "id":"2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a",
      "status":"time_expired",
      "from":"ICX",
      "to":"BAT",
      "depositAddress":"hxd30cf2e9dd32f987d7858d7e964bf173b7429547",
      "depositTag":"",
      "destinationAddress":"0xc406e35bbcec5dc5c3576f159517bef0edc5ba98",
      "destinationTag":"",
      "refundAddress":"hx12b11f61c756609593040aa265e6bfb982b6f780",
      "refundTag":"",
      "expectedAmountFrom":"479",
      "expectedAmountTo":"440.26791571754",
      "amountFrom":null,
      "date":"19.09.2023 19:20:58",
      "txId":null,
      "amountTo":null
   },
   "1":{
      "id":"3b5sa1n8-ev7c-4c43-b5ud-aa2a9347fa6k",
      "status":"time_expired",
      "from":"TRX",
      "to":"USDTTRC20",
      "depositAddress":"TCQLDLUJ6iXaVx5ZYPUitgbsJietQmwXbu",
      "depositTag":"",
      "destinationAddress":"TLUQNgT28ha3hadx9CEptJeXrG7PeBaTC9",
      "destinationTag":"",
      "refundAddress":"TLUQNgT28ha3hadx9CEptJfXre7PeBaTC9",
      "refundTag":"",
      "expectedAmountFrom":"900",
      "expectedAmountTo":"71.689076",
      "amountFrom":null,
      "date":"12.09.2023 15:12:40",
      "txId":null,
      "amountTo":null
   },
   "2":{
      "id":"16257e7f-f9fc-4dbb-8ac7-63d0004b3064",
      "status":"success",
      "from":"ICX",
      "to":"BAT",
      "depositAddress":"hxfb212d7f1d5dba665c306f26d4bbcd83fdd77cf2",
      "depositTag":"",
      "destinationAddress":"0xc406e35bacec3dc5c3576f159517bef0edc5ba98",
      "destinationTag":"",
      "refundAddress":"hx12b11f61c756609593240aa265e6bfb982b6f780",
      "refundTag":"",
      "expectedAmountFrom":"348.884502",
      "expectedAmountTo":307.0772074462869,
      "amountFrom":"348.86450200",
      "date":"13.09.2023 09:13:25",
      "txId":"0xf7ab1826c2a186ce596abf67a964716f30efa40c8e07c70d92ac297cc4c94b88",
      "amountTo":"306.43493965"
   },
   "result":true
}

Açıklama

Kullanılan durumların listesi:
new - Yeni takas (yatırım bekleniyor)
waiting_deposit - Yatırımın onaylanması
deposit_received - Yatırım alındı
exchanging - Takas sürecinde
sending - Gönderme işlemi sürecinde
success - Takas başarıyla tamamlandı
time_expired - Fonların bekleme süresi doldu
payment_time_expired - Ödeme yapmak için fon bekleme süresi doldu
failed - Takas hatayla tamamlandı
sending_failed - Gönderme işlemi hatayla tamamlandı
reverted - Müşteriye fonları geri verildi

Duraklatılan siparişler için durum listesi:
EXPIRED - Sipariş süresi dolduktan sonra alınan işlem
LESS - Siparişte belirtilen miktardan daha az bir işlem gönderildi


/exchange-history - Getting a list of all exchanges
This method allows you to get all information on all exchanges
GET
https://coincraddle.com/v1/api/exchange-history?key=3r8wzm4c8uo9ep5tk

Parametre

ParametreTürÖrnek
keystring3r8wzm4c8uo9ep5tk
pageint0
limitint100 (max: 100)

Response 200

{
   "exchanges":[{
      "id":"2a8ce4b6-ed5c-4c43-b4bd-ee2a9347fa7a",
      "status":"time_expired",
      "from":"ICX",
      "to":"BAT",
      "depositAddress":"hxd30cf2e9dd32f987d7858d7e964bf173b7429547",
      "depositTag":"",
      "destinationAddress":"0xc406e35bbcec5dc5c3576f159517bef0edc5ba98",
      "destinationTag":"",
      "refundAddress":"hx12b11f61c756609593040aa265e6bfb982b6f780",
      "refundTag":"",
      "expectedAmountFrom":"479",
      "expectedAmountTo":"440.26791571754",
      "amountFrom":null,
      "date":"19.09.2023 19:20:58",
      "txId":null,
      "amountTo":null
   },
   {
      "id":"3b5sa1n8-ev7c-4c43-b5ud-aa2a9347fa6k",
      "status":"time_expired",
      "from":"TRX",
      "to":"USDTTRC20",
      "depositAddress":"TCQLDLUJ6iXaVx5ZYPUitgbsJietQmwXbu",
      "depositTag":"",
      "destinationAddress":"TLUQNgT28ha3hadx9CEptJeXrG7PeBaTC9",
      "destinationTag":"",
      "refundAddress":"TLUQNgT28ha3hadx9CEptJfXre7PeBaTC9",
      "refundTag":"",
      "expectedAmountFrom":"900",
      "expectedAmountTo":"71.689076",
      "amountFrom":null,
      "date":"12.09.2023 15:12:40",
      "txId":null,
      "amountTo":null
   },
   {
      "id":"16257e7f-f9fc-4dbb-8ac7-63d0004b3064",
      "status":"success",
      "from":"ICX",
      "to":"BAT",
      "depositAddress":"hxfb212d7f1d5dba665c306f26d4bbcd83fdd77cf2",
      "depositTag":"",
      "destinationAddress":"0xc406e35bacec3dc5c3576f159517bef0edc5ba98",
      "destinationTag":"",
      "refundAddress":"hx12b11f61c756609593240aa265e6bfb982b6f780",
      "refundTag":"",
      "expectedAmountFrom":"348.884502",
      "expectedAmountTo":307.0772074462869,
      "amountFrom":"348.86450200",
      "date":"13.09.2023 09:13:25",
      "txId":"0xf7ab1826c2a186ce596abf67a964716f30efa40c8e07c70d92ac297cc4c94b88",
      "amountTo":"306.43493965"
   }],
   "limit":100,
   "page":0,
   "result":true
}

Açıklama

Kullanılan durumların listesi:
new - Yeni takas (yatırım bekleniyor)
waiting_deposit - Yatırımın onaylanması
deposit_received - Yatırım alındı
exchanging - Takas sürecinde
sending - Gönderme işlemi sürecinde
success - Takas başarıyla tamamlandı
time_expired - Fonların bekleme süresi doldu
payment_time_expired - Ödeme yapmak için fon bekleme süresi doldu
failed - Takas hatayla tamamlandı
sending_failed - Gönderme işlemi hatayla tamamlandı
reverted - Müşteriye fonları geri verildi

Duraklatılan siparişler için durum listesi:
EXPIRED - Sipariş süresi dolduktan sonra alınan işlem
LESS - Siparişte belirtilen miktardan daha az bir işlem gönderildi


© 2020-2026 coincraddle.com