# Is API trading for you?

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/guides/is-api-trading-for-you, 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.

You trade on a phone app and you have never written code. This is the one screen answer: who should not bother, what the first win really is, what the first step costs, and what this is not.

- Checked: 2026-10-12

## Who should not bother

- You want a program that makes money while you sleep. An API does not know what to trade. It only sends what your code tells it to, faster and without asking. A losing rule loses faster.
- You hope to skip the coding. There is no way round it: an API is a conversation between a program and the broker, and you write the program. The track below starts from zero, but it is still learning to code.
- You want it this week. The first stretch below is reading and typing in the evenings, and the first call to a real broker needs a demo account and a key, which some brokers issue only to live account holders.
- Your broker's app already does everything you need and you never want your history outside it. Then there is nothing here for you yet, and that is fine.

## The realistic first win: your trade history in a spreadsheet

Not a bot. The first thing most people get from an API, or from an export button they had not found, is their own trades in a file they can sort and add up. These guides do that for one broker each, step by step, with the page each step was read on. Several need no code at all.

- [Export your MetaTrader trade history, no code](https://openbrokerapi.com/guides/metatrader-trade-history): For non-coders. Checked 18 Sep 2026.
- [Get your Capital.com trade history into a spreadsheet](https://openbrokerapi.com/guides/capital-com-trade-history): For non-coders. Checked 18 Sep 2026.
- [Get your eToro trade history into a spreadsheet](https://openbrokerapi.com/guides/etoro-trade-history): For non-coders. Checked 18 Sep 2026.
- [Get your IG trade history into a spreadsheet](https://openbrokerapi.com/guides/ig-trade-history): For non-coders. Checked 18 Sep 2026.
- [Get your Interactive Brokers trade history into a spreadsheet](https://openbrokerapi.com/guides/ibkr-trade-history): For non-coders. Checked 18 Sep 2026.
- [Get your OANDA trade history into a spreadsheet](https://openbrokerapi.com/guides/oanda-trade-history): For non-coders. Checked 19 Sep 2026.

## What the first request costs: nothing

This site runs a [practice API](https://openbrokerapi.com/mock): fixed files of invented values that answer a real request in the shape a broker's API answers. No account, no key, no cost, and it cannot place a trade. The lesson [Your first HTTP request: ask the practice API](https://openbrokerapi.com/learn/first-http-request) makes that request in Python, from a terminal, and tells you what to type if you have never opened one.

A first call to a real broker comes later, on a demo account only, and only after you have a key. Whether a demo key is available and whether it needs a live account first differs by broker and is on each [broker's page](https://openbrokerapi.com/brokers) with its source.

## How far the first stretch is

The learning track's first stretch runs from [Your first Python script: profit and loss on one trade](https://openbrokerapi.com/learn/first-python-script) to the first real request: 14 of the 31 lessons, across 3 of the 4 stages. 13 of them run with no internet connection, on sample files of invented values; the rest call the practice API. None of the 14 needs a broker account or a key.

Each of those 14 lessons is one script of a page or less, and 14 of the 14 were run before publication, with what they printed shown on the page. How long a lesson takes a person is not recorded in the lesson register, so this page prints no number of evenings: it would be a guess.

After the first stretch, the one lesson that needs a broker demo account is optional, and everything after it runs offline or against the practice API. [The whole path](https://openbrokerapi.com/learn).

## What this is not

- Not a way to make money. Code changes how an order reaches the broker, not whether it should.
- Not advice. This site recommends no broker, no product and no trade, and ranks nothing.
- Not a shortcut past the risk. Everything an API can do, it can do with real money once pointed at a live account. Every script on this site refuses to run anywhere but a demo host, and so should yours.
- Not a service you sign in to. No page here asks for a key, a username or a password, and none ever will.

## Common questions

### Do I have to learn to code to trade through an API?

Yes. An API is a way for a program to talk to a broker, so somebody has to write the program. The learning track on this site starts from nothing, but it is still learning to code.

### Will this make me money?

No. It changes how an order reaches the broker, not whether the order was a good idea. A rule that loses money by hand loses it faster by code.

### What does the first request cost?

Nothing. The practice API on this site answers a real request with invented data and needs no account and no key.

## If you are still reading

- [Your first Python script: profit and loss on one trade](https://openbrokerapi.com/learn/first-python-script): Write and run a script that works out the profit or loss on one trade. It introduces variables, arithmetic, an if statement and print.
- [Getting started with API trading](https://openbrokerapi.com/guides/getting-started-with-api-trading): What an API is, what you need before you start, and how to keep a key safe.
- [The learning track](https://openbrokerapi.com/learn): Every lesson, in order, with the capstone at the end.

## 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: Is API trading for you?. Broker API Hub, https://openbrokerapi.com/guides/is-api-trading-for-you, 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.
