• APIs and Libraries
    APIs and Libraries
  • Connect WX Network wallet
    Connect WX Network wallet
  • CCXT
    CCXT
  • Fees
    Fees
  • Matcher
    • WX Network Protocol
      WX Network Protocol
    • Matcher Fee
      Matcher Fee
    • Install Matcher on Ubuntu From Deb-package
      Install Matcher on Ubuntu From Deb-package
    • Matcher Settings
      Matcher Settings
    • Matcher API
      • Order Validation
        Order Validation
      • Exchange Transation Validation
        Exchange Transation Validation
      Matcher API
    • Matcher WebSocket API
      • Errors and Debugging
        Errors and Debugging
      • Common Streams
        Common Streams
      Matcher WebSocket API
    Matcher
  • Gateway API
    • Access Token
      • Get Access Token in WX Network App
        Get Access Token in WX Network App
      • POST /v1/oauth2/token
        POST /v1/oauth2/token
      Access Token
    • Deposit
      • [Deprecated] GET /v1/deposit/addresses/{currency}
        [Deprecated] GET /v1/deposit/addresses/{currency}
      • GET /v1/deposit/addresses/{currency}/{platform}
        GET /v1/deposit/addresses/{currency}/{platform}
      • GET /v1/deposit/currencies
        GET /v1/deposit/currencies
      • [Deprecated] GET /v1/deposit/currencies/{currency}
        [Deprecated] GET /v1/deposit/currencies/{currency}
      • GET /v1/deposit/currencies/{currency}/{platform}
        GET /v1/deposit/currencies/{currency}/{platform}
      • Terms of Deposit
        Terms of Deposit
      Deposit
    • Withdraw
      • [Deprecated] GET /v1/withdraw/addresses/{currency}/{address}
        [Deprecated] GET /v1/withdraw/addresses/{currency}/{address}
      • GET /v1/withdraw/addresses/{currency}/{address}/{platform}
        GET /v1/withdraw/addresses/{currency}/{address}/{platform}
      • GET /v1/withdraw/currencies
        GET /v1/withdraw/currencies
      • [Deprecated] GET /v1/withdraw/currencies/{currency}
        [Deprecated] GET /v1/withdraw/currencies/{currency}
      • GET /v1/withdraw/currencies/{currency}/{platform}
        GET /v1/withdraw/currencies/{currency}/{platform}
      • Terms of Withdrawal
        Terms of Withdrawal
      Withdraw
    • Movements History
      Movements History
    • Platforms List
      Platforms List
    • Error Codes
      Error Codes
    Gateway API
  • Get Trades
    Get Trades
  • Staking Annual Percentage Yield API
    Staking Annual Percentage Yield API
  • Payment API
    Payment API
  • Web Auth API
    Web Auth API
  • WX Token Protocol
    WX Token Protocol
  • Glossary
    Glossary
      • English
      • Русский
      On this page
        • API Access

          # Get Trades

          GET /v1/addresses/{waves_address}/trades/{amount_currency_id}/{price_currency_id} method retrieves exchange trades (buys and sells) for a given address and currency pair.

          Request parameters:

          Parameter Description
          waves_address Waves address of a trader-participant
          amount_currency_id ID of an amount currency for a given pair, for example: WAVES
          price_currency_id ID of a price currency for a given pair, for example: USDT

          Optional request parameters:

          Parameter Value type Description
          timestamp__gte timestamp Timestamp filter — greater or equal. Date format: ISO8601 with time zone
          timestamp__lt timestamp Timestamp filter — less. Date format: ISO8601 with time zone
          sort desc or asc Descending or ascending order. Default: desc
          limit int64 Number of records. Default: 1000, max: 1000
          after string page_info.last_cursor field of previous response

          # API Access

          Use the following URL for API requests:

          https://api.waves.exchange
          

          Request example:

          https://api.waves.exchange/v1/addresses/3PNtMUVKYy5RNReBW4PwXuhHDtfofLRG325/trades/WAVES/USDT?sort=asc&limit=2
          

          Successful response:

          Code : 200 OK
          

          Response example:

          {
            "type": "list",
            "page_info": {
              "has_next_page": true,
              "last_cursor": ""
            },
            "items": [
              {
                "type": "buy",
                "id": "E4dTtiN8GaiCJUY4WK8nFdCdiM5UdbX4jLKw1i3vCWWL",
                "timestamp": "2021-08-03T11:25:00.156Z",
                "amount": 123.74966584,
                "price": 15.9173
              },
              {
                "type": "sell",
                "id": "CxAhKWoxYUoF5ofe3qEAhXcjos2vrXHxv2ZzCfNqBmSv",
                "timestamp": "2021-08-03T11:25:00.156Z",
                "amount": 0.58104826,
                "price": 15.9751
              }
            ]
          }
          
          Error Codes
          Staking Annual Percentage Yield API
          Error Codes
          Staking Annual Percentage Yield API