Docs
Launch App

Pangolin Overview

Introduction to Pangolin
Audits
Tokens & Governance
Official Links & Communities
Become a Partner
Support
Roadmap
Privacy Policy & Legal Notices

Guides

Swapping Tokens
Providing Liquidity
Managing Liquidity Positions
Withdrawing Liquidity
Earning Rewards
Understanding SAR

Developers

Contracts & Integration Reference
APIs
Bug Bounty
Token Listing
Create A Multisig
Honeycomb↗

PangoPerps

API fundamentals
Public Info API
User API
Trading API
Order Management
Create Order
Batch Create Order
Cancel Order
Cancel Algo Order
Cancel Order by Client Order ID
Edit Order
Edit Algo Order
Cancel Algo Order by Client Order ID
Cancel All Pending Algo Orders
Cancel All Pending Orders
Cancel All After
Batch Cancel Orders
Batch Cancel Orders by Client Order ID
Get Order by Order ID
Get Order by Client Order ID
Create Algo Order
Get Algo Order by Order ID
Get Algo Order by Client Order ID
Get Orders
Get Algo Orders
Get Trades
Get Trade
Get Trades for an Order
Get Trades for an Algo Order
List PangoPerps Order Tags
Get One PangoPerps Order Tag
Liquidations
Assets/withdraw/settle PnL
Positions
Funding
PangoPerpsTrading APIOrder Management

Cancel Order

Cancel one pending order by its order ID.

#Endpoint

DELETE /v1/order?order_id={order_id}&symbol={symbol}

Mainnet: DELETE https://api.orderly.org/v1/order?order_id={order_id}&symbol={symbol}

Testnet: DELETE https://testnet-api.orderly.org/v1/order?order_id={order_id}&symbol={symbol}

Request limit: 10 requests per second. This endpoint cancels one order identified by the order ID and market symbol. An API key with the trading scope is required.

#Authentication headers

  • orderly-timestamp — required signed-request timestamp in milliseconds.
  • orderly-account-id — required account ID.
  • orderly-key — required public API key.
  • orderly-signature — required request signature.

#Query parameters

  • order_id (number, required) — ID of the order to cancel.
  • symbol (string, required) — market symbol for that order.

#Example request

bash
curl --request DELETE \
  --url 'https://api.orderly.org/v1/order?order_id=13&symbol=PERP_ETH_USDC' \
  --header 'orderly-account-id: <account-id>' \
  --header 'orderly-key: <public-api-key>' \
  --header 'orderly-signature: <signature>' \
  --header 'orderly-timestamp: <timestamp-in-ms>'

#Successful response

HTTP 200 returns a cancellation status.

json
{
  "success": true,
  "data": { "status": "CANCEL_SENT" },
  "timestamp": 1702989203989
}
PreviousBatch Create OrderNext Cancel Algo Order

On this page

  • Endpoint
  • Authentication headers
  • Query parameters
  • Example request
  • Successful response

Try it on Pangolin

Everything in these docs is live in the app.

SwapLiquidityStakePerps

Need help?

DiscordTelegramX