Trading212 Api
Authentication and order-placement guide for the Trading 212 API, covering demo and live environments.
- CCM score
- 47 of 100
- skills.sh installs
- 450
- GitHub stars
- 148
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers account summary, positions, pending and historical orders, instrument lookup, trading hours, dividends, and CSV exports
- Includes Demo (
demo.trading212.com) and Live (live.trading212.com) base URLs, with API keys tied to one environment each - Enforces an explicit environment choice before any call and asks which Invest or Stocks ISA account to target when both are configured
- Designed for agents that place Trading 212 orders on a user's behalf, with credentials supplied through environment variables
Install
$ npx -y skills add trading212-labs/agent-skills --skill trading212-api -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/trading212-labs/agent-skills
- Categories
- Finance & Trading, AI Agents & LLM Apps
- License
- MIT
- First seen
- Jun 3, 2026
Questions
What does the Trading 212 API skill let an agent do?
The skill lets an agent connect to the Trading 212 API to check account balances, view positions and P&L, place market, limit, stop and stop-limit orders, and cancel orders. It also covers instrument lookup, trading hours, dividends, order history and CSV transaction exports.
How do I install the Trading 212 API skill?
Run npx -y skills add trading212-labs/agent-skills --skill trading212-api -y in your project. Once installed, the agent can call Trading 212 for account, portfolio and order tasks.
What do I need to use the Trading 212 API skill?
You need an API key and secret generated in the Trading 212 app under Settings and then API, for an Invest or Stocks ISA account. Keys are tied to either the live or demo environment, and the skill checks environment variables such as T212_API_KEY and T212_API_SECRET before making requests.
Can I test the Trading 212 API skill without risking real money?
Yes, the skill supports a demo environment for paper trading with no real funds. You must choose LIVE or DEMO before any API call, and a key made for one environment will not work in the other.
Where does the Trading 212 API skill stand in its category?
It is listed under Finance and Trading on Claude Marketplaces, alongside skills such as wind-mcp-skill and stripe-best-practices. Its focus is direct use of the Trading 212 brokerage API for placing orders and monitoring positions.
Similar to Trading212 Api
More Finance & Tradingrisk-management-tradingomer-metin/skills-for-antigravity429 installsMaster of capital preservation and position sizing - combining Kelly Criterion, volatility targeting, correlation analysis, and drawdown management to survive a
real-estate-analyzertravisjneuman/.claude426 installsProperty valuation, market analysis, investment ROI calculations, comparable analysis, and rental yield assessment. Use when evaluating real estate investments,
cfo-reviewalirezarezvani/claude-skills423 installs/cs:cfo-review <plan> — Numerate-skeptic interrogation of any plan that touches money. Unit economics, runway, dilution, capital allocation. Use when a plan com
market-analyst-masteroctagonai/skills423 installsComprehensive market analyst skill that orchestrates all Octagon stock performance and market data skills. Use when conducting stock analysis, creating market r
startup-business-analyst-financial-projectionssickn33/agentic-awesome-skills399 installsstartup business analyst financial projections
stripe-integrationdavila7/claude-code-templates392 installsGet paid from day one. Payments, subscriptions, billing portal, webhooks, metered billing, Stripe Connect. The complete guide to implementing Stripe correctly,