Jump to Content
Huobi US APIAPI ReferenceDiscussions
HomeGuidesAPI ReferenceChangelogDiscussions
v1.0

API ReferenceDiscussionsLog InHuobi US API
API Reference
Log In
v1.0

INTRODUCTION

  • Introduction

REST API

  • General Info
  • market
    • Get Klines(Candles)get
    • Get Latest Aggregated Tickerget
    • Market Depthget
    • Get the Most Recent Tradesget
    • Get the Last 24h Market Summaryget
  • common
    • Get trading assetsget
    • Get all Supported Currenciesget
    • Get system timestampget
  • account
    • Get all the accountsget
    • Get Account Balance of a Specific Accountget
  • trade
    • Place a New Orderpost
    • Request for cancelling an orderpost
    • Submit Cancel for Multiple Orders by IDspost
    • Get Order Infoget
    • Get Orders Matchresultsget
    • Get One Order matchresultget
    • Search Past Ordersget
  • wallet
    • Create a Withdraw Requestpost
    • Cancel a Withdraw Requestpost
    • Search for Existed Withdraws and Depositsget
  • Authentication

WEBSOCKET

  • General Info
    • Subscribe
    • Unsubscribe
    • Pull Data
  • WS API Reference
    • Market Candlestick
    • Market Depth
    • Market Trade Detail
    • Market Details
    • Market Overview

Submit Cancel for Multiple Orders by IDs

post https://api.huobi.us/v1/order/orders/batchcancel
/* POST /v1/order/orders/batchcancel */
{
  "order-ids": [
    "1", "2", "3"
  ]
}
/* POST /v1/order/orders/batchcancel */
{
  "status": "ok",
  "data": {
    "success": [
      "1",
      "3"
    ],
    "failed": [
      {
        "err-msg": "record invalid",
        "order-id": "2",
        "err-code": "base-record-invalid"
      }
    ]
  }
}
Language