Is API trading for you?
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.
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.
Nothing here is advice about what to trade or which broker to use. It is about whether learning to talk to a broker's computer with code is worth your evenings.
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 codeFor non-coders. Checked 18 Sep 2026.
- Get your Capital.com trade history into a spreadsheetFor non-coders. Checked 18 Sep 2026.
- Get your eToro trade history into a spreadsheetFor non-coders. Checked 18 Sep 2026.
- Get your IG trade history into a spreadsheetFor non-coders. Checked 18 Sep 2026.
- Get your Interactive Brokers trade history into a spreadsheetFor non-coders. Checked 18 Sep 2026.
- Get your OANDA trade history into a spreadsheetFor non-coders. Checked 19 Sep 2026.
What the first request costs: nothing
This site runs a practice API: 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 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 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 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.
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 tradeWrite 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 tradingWhat an API is, what you need before you start, and how to keep a key safe.
- The learning trackEvery lesson, in order, with the capstone at the end.