# Which broker APIs have an official Python library?

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/answers/python-library, written from the same records as that page.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

A Python library lets you call an API from Python without writing each request yourself. An official one is published by the provider itself. A community one is written by someone else.

- Newest check: 2026-10-12

Rows are in name order. The order is not a ranking and nothing here recommends a broker. Not recorded here means this site holds no record to answer from. It does not mean the broker or platform lacks it.

## How each answer is built

The answer names the libraries in the record whose language field names Python, split by whether the record marks each as official. A record that lists Python libraries but marks none official says exactly that. A record that lists no Python library is not asked the question, which is not evidence that none exists.

14 of the 29 records below can answer this question. 1 of those answers rest on a record labelled unverified, 0 rest on sources that conflict, and 15 records are shown as not recorded here.

The state beside an answer is the cell the capability grid (https://openbrokerapi.com/capabilities) computes for the same record: [Python library](https://openbrokerapi.com/capabilities/python-library), [Official SDK or library](https://openbrokerapi.com/capabilities/official-sdk). It is a separate reading of the record, decided by the rule on its own page.

## Brokers

### Axi

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Axi record](https://openbrokerapi.com/brokers/axi)

### Bitget

The Bitget record marks one Python library as official: bitget-python-sdk-api.

- Status: verified. Source: [bitget-python-sdk-api](https://www.bitget.com/docs/uta/sdk/overview), checked 2026-10-12.

- [Every library in the Bitget record](https://openbrokerapi.com/brokers/bitget#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [Bitget API: questions and answers](https://openbrokerapi.com/answers/bitget)

### Capital.com

No Python library marked official is recorded here for Capital.com, which is not evidence that none exists. The record lists as community: capital-mcp and capitalcom-python.

- Status: verified. Source: [capital-mcp](https://github.com/capital-com-sv/capital-mcp), checked 2026-09-18.
- Status: verified. Source: [capitalcom-python](https://pypi.org/project/capitalcom-python/), checked 2026-09-18.

- [Every library in the Capital.com record](https://openbrokerapi.com/brokers/capital-com#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [Capital.com API: questions and answers](https://openbrokerapi.com/answers/capital-com)

### CMC Markets

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The CMC Markets record](https://openbrokerapi.com/brokers/cmc-markets)

### Deriv

The Deriv record marks one Python library as official: python-deriv-api.

- Status: verified. Source: [python-deriv-api](https://github.com/deriv-com/python-deriv-api), checked 2026-09-23.

- [Every library in the Deriv record](https://openbrokerapi.com/brokers/deriv#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [Deriv API: questions and answers](https://openbrokerapi.com/answers/deriv)

### Dukascopy

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Yes

- [The Dukascopy record](https://openbrokerapi.com/brokers/dukascopy)

### eToro

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The eToro record](https://openbrokerapi.com/brokers/etoro)

### Exness

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Exness record](https://openbrokerapi.com/brokers/exness)

### FOREX.com

No Python library marked official is recorded here for FOREX.com, which is not evidence that none exists. The record lists as community: pygcapi and forexcom. No dated source is recorded for pygcapi.

- Status: verified. Source: [forexcom](https://pypi.org/project/forexcom/), checked 2026-09-18.

- [Every library in the FOREX.com record](https://openbrokerapi.com/brokers/forex-com-city-index#sdks)

- Python library: Yes
- Official SDK or library: Not recorded

- [FOREX.com API: questions and answers](https://openbrokerapi.com/answers/forex-com-city-index)

### FXCM

The FXCM record marks 2 Python libraries as official: ForexConnectAPI and forexconnect. It also lists as community, not official: fxcmpy. No dated source is recorded for ForexConnectAPI.

- Status: verified. Source: [forexconnect](https://pypi.org/project/forexconnect/), checked 2026-09-18.

- [Every library in the FXCM record](https://openbrokerapi.com/brokers/fxcm#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [FXCM API: questions and answers](https://openbrokerapi.com/answers/fxcm)

### FxPro

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The FxPro record](https://openbrokerapi.com/brokers/fxpro)

### IG

No Python library marked official is recorded here for IG, which is not evidence that none exists. The record lists as community: trading-ig.

- Status: verified. Source: [trading-ig](https://github.com/ig-python/trading-ig), checked 2026-09-18.

- [Every library in the IG record](https://openbrokerapi.com/brokers/ig#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [IG API: questions and answers](https://openbrokerapi.com/answers/ig)

### Interactive Brokers

The Interactive Brokers record marks one Python library as official: TWS API (ibapi). It also lists as community, not official: ib_async and ibeam.

- Status: verified. Source: [TWS API (ibapi)](https://www.interactivebrokers.com/docs/tws-api/doc/introduction), checked 2026-10-12.

- [Every library in the Interactive Brokers record](https://openbrokerapi.com/brokers/ibkr#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [Interactive Brokers API: questions and answers](https://openbrokerapi.com/answers/ibkr)

### OANDA

Unverified. The OANDA record marks one Python library as official: v20. It also lists as community, not official: oandapyV20. No source with a checked date is recorded for it.

- Status: unverified. No source opened.

- [Every library in the OANDA record](https://openbrokerapi.com/brokers/oanda#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [OANDA API: questions and answers](https://openbrokerapi.com/answers/oanda)

### Pepperstone

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Pepperstone record](https://openbrokerapi.com/brokers/pepperstone)

### Saxo

No Python library marked official is recorded here for Saxo, which is not evidence that none exists. The record lists as community: saxo_openapi.

- Status: verified. Source: [saxo_openapi](https://pypi.org/project/saxo-openapi/), checked 2026-09-18.

- [Every library in the Saxo record](https://openbrokerapi.com/brokers/saxo#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [Saxo API: questions and answers](https://openbrokerapi.com/answers/saxo)

### Swissquote

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Swissquote record](https://openbrokerapi.com/brokers/swissquote)

### ThinkMarkets

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The ThinkMarkets record](https://openbrokerapi.com/brokers/thinkmarkets)

### Tickmill

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Tickmill record](https://openbrokerapi.com/brokers/tickmill)

### Trading 212

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Trading 212 record](https://openbrokerapi.com/brokers/trading-212)

### XTB

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The XTB record](https://openbrokerapi.com/brokers/xtb)

## Platform APIs

### cTrader

The cTrader record marks one Python library as official: OpenApiPy (ctrader-open-api).

- Status: verified. Source: [OpenApiPy (ctrader-open-api)](https://pypi.org/project/ctrader-open-api/), checked 2026-09-20.

- [Every library in the cTrader record](https://openbrokerapi.com/platforms/ctrader#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [cTrader API: questions and answers](https://openbrokerapi.com/answers/ctrader)

### DXtrade

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The DXtrade record](https://openbrokerapi.com/platforms/dxtrade)

### Match-Trader

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The Match-Trader record](https://openbrokerapi.com/platforms/match-trader)

### MetaApi

The MetaApi record marks one Python library as official: metaapi-cloud-sdk.

- Status: verified. Source: [metaapi-cloud-sdk](https://metaapi.cloud/sdks), checked 2026-10-12.

- [Every library in the MetaApi record](https://openbrokerapi.com/platforms/metaapi#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [MetaApi API: questions and answers](https://openbrokerapi.com/answers/metaapi)

### MetaCopier

The MetaCopier record marks one Python library as official: MetaCopier API client packages.

- Status: verified. Source: [MetaCopier API client packages](https://docs.metacopier.io/rest-api/sdk/usage), checked 2026-10-12.

- [Every library in the MetaCopier record](https://openbrokerapi.com/platforms/metacopier#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [MetaCopier API: questions and answers](https://openbrokerapi.com/answers/metacopier)

### MetaTrader 4

Not recorded here. No record held.

- Python library: Not recorded
- Official SDK or library: Not recorded

- [The MetaTrader 4 record](https://openbrokerapi.com/platforms/metatrader-4)

### MetaTrader 5

The MetaTrader 5 record marks one Python library as official: MetaTrader5. It also lists as community, not official: Community Python MCP server (MQL5 article 21905).

- Status: verified. Source: [MetaTrader5](https://pypi.org/project/MetaTrader5/), checked 2026-10-04.

- [Every library in the MetaTrader 5 record](https://openbrokerapi.com/platforms/metatrader-5#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [MetaTrader 5 API: questions and answers](https://openbrokerapi.com/answers/metatrader-5)

### TradeLocker

The TradeLocker record marks one Python library as official: tradelocker.

- Status: verified. Source: [tradelocker](https://pypi.org/project/tradelocker/), checked 2026-09-20.

- [Every library in the TradeLocker record](https://openbrokerapi.com/platforms/tradelocker#sdks)

- Python library: Yes
- Official SDK or library: Yes

- [TradeLocker API: questions and answers](https://openbrokerapi.com/answers/tradelocker)

## Where to go next

- [Answers for every broker and platform API](https://openbrokerapi.com/answers)
- [SDKs and wrappers by language](https://openbrokerapi.com/sdks)
- [Python library: the capability table](https://openbrokerapi.com/capabilities/python-library)
- [Choosing a broker API for Python](https://openbrokerapi.com/guides/choosing-python-broker-api)

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: Which broker APIs have an official Python library?. Broker API Hub, https://openbrokerapi.com/answers/python-library, newest check 2026-10-12.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
