---
title: "Remove Trading Pair"
method: POST
path: "/market-data/trading-pair/remove"
tags: ["Market Data"]
---

# Remove Trading Pair

`POST /market-data/trading-pair/remove`

Remove a trading pair from order book tracking.

This endpoint removes a trading pair from a connector's order book tracker,
cleaning up resources for pairs that are no longer needed.

Args:
    request: Request with connector name, trading pair, and optional account name

Returns:
    TradingPairResponse with success status and message

Raises:
    HTTPException: 500 if removal fails

## Request body

- RemoveTradingPairRequest — Request model for removing a trading pair from order book tracking
  - `connector_name` string, required — Name of the connector
  - `trading_pair` string, required — Trading pair to remove
  - `account_name` string, nullable — Optional account name for trading connector preference

## Response `200`

Successful Response

- TradingPairResponse — Response model for trading pair management operations
  - `success` boolean, required — Whether the operation succeeded
  - `connector_name` string, required — Name of the connector
  - `trading_pair` string, required — Trading pair that was added/removed
  - `message` string, required — Status message

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.net/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/versions/5347fe79537f/schema)
