One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Public
  • Public
    • Currencies
      GET
    • Instruments
      GET
    • Candlesticks
      GET
    • Fee Groups
      GET
    • Order Book
      GET
    • Market Ticker
      GET
    • Market Ticker For Instrument
      GET
    • Time
      GET
  • Trading
    • Balances
      GET
    • Fees
      GET
    • Get Orders
      GET
    • Create Order
      POST
    • Get Order by Order ID
      GET
    • Get Order by Client ID
      GET
    • Cancel All Orders
      DELETE
    • Cancel Order by Order ID
      DELETE
    • Cancel Order by Client ID
      DELETE
    • Get Trades for Order
      GET
    • Get Trades
      GET
    • Get Trade by Trade ID
      GET
  • Futures
    • Introduction
    • Funding Rate Methodology
    • Funding Payments
      GET
    • Current Funding Rate
      GET
    • Funding Rate History
      GET
    • Futures Portfolio Summary
      GET
    • Get Futures Open Positions
      GET
  1. Public

Instruments

GET
https://api.onetrading.com/fast/v1/instruments
Retrieves a list of available instrument pairs on the exchange, including details about the base and quote assets, precision levels, minimum and maximum trading limits, and the current market type. The response provides key information needed for trading, such as instrument unique IDs, pricing, and state (ACTIVE or otherwise). Optionally, the results can be filtered by market type using the type query parameter.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/instruments?type'
Response Response Example
[
    {
        "base": {
            "code": "BTC",
            "precision": 5
        },
        "quote": {
            "code": "USDT",
            "precision": 2
        },
        "amount_precision": 5,
        "market_precision": 2,
        "min_size": "10.0",
        "min_price": "1000",
        "max_price": "10000000",
        "id": "BTC_USDT",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "BTC",
            "precision": 5
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 5,
        "market_precision": 2,
        "min_size": "10.0",
        "min_price": "1000",
        "max_price": "10000000",
        "id": "BTC_EUR",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "ETH",
            "precision": 4
        },
        "quote": {
            "code": "USDT",
            "precision": 2
        },
        "amount_precision": 4,
        "market_precision": 2,
        "min_size": "10.0",
        "min_price": "100",
        "max_price": "10000000",
        "id": "ETH_USDT",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "ETH",
            "precision": 4
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 4,
        "market_precision": 2,
        "min_size": "10.0",
        "min_price": "10",
        "max_price": "10000000",
        "id": "ETH_EUR",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "ETH",
            "precision": 3
        },
        "quote": {
            "code": "BTC",
            "precision": 5
        },
        "amount_precision": 3,
        "market_precision": 5,
        "min_size": "0.00022",
        "min_price": "0.0001",
        "max_price": "10000",
        "id": "ETH_BTC",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "USDT",
            "precision": 5
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 2,
        "market_precision": 5,
        "min_size": "1.0",
        "min_price": "0.1",
        "max_price": "10",
        "id": "USDT_EUR",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "XRP",
            "precision": 4
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 3,
        "market_precision": 4,
        "min_size": "10.0",
        "min_price": "0.0001",
        "max_price": "1000",
        "id": "XRP_EUR",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "XRP",
            "precision": 4
        },
        "quote": {
            "code": "USDT",
            "precision": 2
        },
        "amount_precision": 3,
        "market_precision": 4,
        "min_size": "10.0",
        "min_price": "0.0001",
        "max_price": "1000",
        "id": "XRP_USDT",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "SOL",
            "precision": 4
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 4,
        "market_precision": 3,
        "min_size": "10.0",
        "min_price": "0.01",
        "max_price": "1000000",
        "id": "SOL_EUR",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "SOL",
            "precision": 4
        },
        "quote": {
            "code": "USDT",
            "precision": 2
        },
        "amount_precision": 4,
        "market_precision": 3,
        "min_size": "10.0",
        "min_price": "0.01",
        "max_price": "1000000",
        "id": "SOL_USDT",
        "type": "SPOT",
        "state": "ACTIVE"
    },
    {
        "base": {
            "code": "BTC",
            "precision": 5
        },
        "quote": {
            "code": "EUR",
            "precision": 2
        },
        "amount_precision": 5,
        "market_precision": 2,
        "min_size": "10.0",
        "min_price": "1000",
        "max_price": "10000000",
        "id": "BTC_EUR_P",
        "type": "PERP",
        "state": "ACTIVE"
    }
]

Request

Query Params

Responses

🟢200Success
application/json
Body

Previous
Currencies
Next
Candlesticks
Built with