
Trading212 Api
Connects Claude to the Trading 212 API for programmatic trading. You can place market and limit orders, check positions and P&L, search for instrument tickers, and pull account summaries across both Invest and ISA accounts. Supports demo and live environments with flexible credential setup for single or multiple accounts. The API is still in beta, so expect some rough edges. Worth noting that API keys are environment specific, so your live credentials won't work in demo mode and vice versa. If you're already using Trading 212 and want to automate trades or build reporting tools without leaving your terminal, this handles the auth dance and gives you the common operations.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 9
- skills.sh installs
- 433
- GitHub stars
- 142
- last updated
- Jun 3, 2026
Install
$ npx -y skills add trading212-labs/agent-skills --skill trading212-api --agent claude-codeInstalls into .claude/skills of the current project.
Files
Trading 212 API
Note: The Trading 212 API is currently in beta and under active development. Some endpoints or behaviors may change.
Quick Reference
Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Demo | https://demo.trading212.com/api/v0 | Paper trading - test without real funds |
| Live | https://live.trading212.com/api/v0 | Real money trading |
Order Quantity Convention
- Positive quantity = BUY (e.g.,
10buys 10 shares) - Negative quantity = SELL (e.g.,
-10sells 10 shares)
Account Types
Only Invest and Stocks ISA accounts are supported.
Instrument Identifiers
Trading 212 uses custom tickers as unique identifiers for instruments. Always search for the Trading 212 ticker before making instrument requests.
Authentication
HTTP Basic Auth with API Key (username) and API Secret (password).
Check Existing Setup First
Sponsors
Details
- Repository
- github.com/trading212-labs/agent-skills
- Categories
- Backend & APIs, AI & Agent Building
- First seen
- Jun 3, 2026