GET

/api/v1/exchanges/market_list

Izin: NONEKeamanan: NONE

Mengembalikan daftar pasar dan bursa mata uang kripto yang didukung oleh Quentrade, termasuk parameter koneksi, kolom formulir, dan alamat IP tepercaya (whitelist).

Parameter Permintaan

Tidak ada parameter yang diperlukan untuk endpoint publik ini.

Contoh Permintaan

GET/api/v1/exchanges/market_list

Parameter Respons

market_namestring

Nama bursa di dalam sistem Quentrade.

market_urlstring

Tautan rujukan resmi ke situs web bursa.

market_iconstring

Tautan URL ke gambar ikon resmi untuk bursa ini.

help_linkstring

URL publik ke halaman panduan bantuan dengan petunjuk langkah demi langkah untuk menghubungkan bursa.

market_codestring

Pengenal kode entitas bursa unik di Quentrade.

form_fieldsobject

Berisi kolom wajib dan opsional yang diperlukan untuk menghubungkan akun bursa.

requiredarray[object]

Menampilkan kolom wajib yang diperlukan untuk menghubungkan bursa (misalnya api_key, secret, passphrase).

optionalarray[object]

Menampilkan kolom opsional yang diperlukan untuk menghubungkan bursa.

available_connection_flowsarray[string]

Jenis alur koneksi bursa yang tersedia di Quentrade ('form' untuk input formulir API key, 'fast_connect' untuk koneksi cepat OAuth).

third_party_allowedboolean

Menunjukkan apakah bursa menyediakan layanan untuk menghubungkan aplikasi pihak ketiga.

trusted_ipsarray[string]

Daftar alamat IP yang perlu dimasukkan ke dalam daftar putih (whitelist) di situs web bursa agar Quentrade dapat terhubung dengan aman.

trusted_ips_input_typestring

Tipe format input untuk alamat IP tepercaya ('inline' atau 'multiline').

fast_connect_action_namestring

Nama pengenal aksi yang digunakan untuk opsi koneksi cepat di Quentrade.

Contoh Respons

supported_markets_response.json
200 OK
[
  {
    "market_name": "Binance",
    "market_url": "https://accounts.binance.com/register",
    "market_icon": "/ExchangeLogo/binance_logo.svg",
    "help_link": "https://help.quentrade.com/en/articles/how-to-connect-binance",
    "market_code": "binance",
    "form_fields": {
      "required": [
        {
          "field": "api_key",
          "localized_name": "API Key:"
        },
        {
          "field": "secret",
          "localized_name": "API Secret:"
        }
      ],
      "optional": []
    },
    "available_connection_flows": [
      "fast_connect",
      "form"
    ],
    "third_party_allowed": true,
    "trusted_ips": [
      "103.26.9.7",
      "103.26.9.15",
      "103.26.9.23",
      "103.26.9.31"
    ],
    "trusted_ips_input_type": "inline",
    "fast_connect_action_name": "binance"
  },
  {
    "market_name": "Bybit",
    "market_url": "https://www.bybit.com/register",
    "market_icon": "/ExchangeLogo/bybit_logo.svg",
    "help_link": "https://help.quentrade.com/en/articles/how-to-connect-bybit",
    "market_code": "bybit",
    "form_fields": {
      "required": [
        {
          "field": "api_key",
          "localized_name": "API Key:"
        },
        {
          "field": "secret",
          "localized_name": "API Secret:"
        }
      ],
      "optional": []
    },
    "available_connection_flows": [
      "fast_connect",
      "form"
    ],
    "third_party_allowed": true,
    "trusted_ips": [
      "103.26.9.7",
      "103.26.9.15",
      "103.26.9.23"
    ],
    "trusted_ips_input_type": "inline",
    "fast_connect_action_name": "bybit"
  },
  {
    "market_name": "OKX",
    "market_url": "https://www.okx.com/join",
    "market_icon": "/ExchangeLogo/okx_logo.svg",
    "help_link": "https://help.quentrade.com/en/articles/how-to-connect-okx",
    "market_code": "okx",
    "form_fields": {
      "required": [
        {
          "field": "api_key",
          "localized_name": "API Key:"
        },
        {
          "field": "secret",
          "localized_name": "API Secret:"
        },
        {
          "field": "passphrase",
          "localized_name": "Passphrase:"
        }
      ],
      "optional": []
    },
    "available_connection_flows": [
      "fast_connect",
      "form"
    ],
    "third_party_allowed": false,
    "trusted_ips": [
      "103.26.9.7",
      "103.26.9.15"
    ],
    "trusted_ips_input_type": "inline",
    "fast_connect_action_name": "okx"
  }
]