---
title: "Close All Backend Data Streams"
method: GET
path: "/iserver/marketdata/unsubscribeall"
tags: ["tradingMarketData"]
---

# Close All Backend Data Streams

`GET /iserver/marketdata/unsubscribeall`

Instruct IServer to close all of its open backend data streams for all instruments.

## Response `200`

Indicates a successful request to unsubscribe all streams.

- TradingMarketDataCloseAllMdStreamsResponse200 — Indicates a successful request to unsubscribe all streams.
  - `unsubscribed` boolean — The sole key 'unsubscribed' will have boolean value true.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
