Skip to content
Back to search

trading212-plugins

MarketplaceWorks with Claude CodeGitHub

Supercharge your AI agent with the power of the Trading 212 API

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/trading212-labs--agent-skills/badge.svg)](/listings/trading212-labs--agent-skills)

HTML

<a href="/listings/trading212-labs--agent-skills"><img src="/api/listings/trading212-labs--agent-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Universal via [skills.sh](https://skills.sh/trading212-labs/agent-skills/trading212-api)

npx skills add trading212-labs/agent-skills

Claude Code

/plugin marketplace add https://github.com/trading212-labs/agent-skills.git
/plugin install trading212-api

OpenClaw / Moltbot / Clawdbot

clawdbot plugins install github:trading212-labs/agent-skills

Cursor

1. Open Cursor Settings 2. Navigate to `Rules, Skills, Subagents` 3. Click `Add Rule` on Rules section -> Add from Github 4. Submit GitHub url: `https://github.com/trading212-labs/agent-skills.git`

OpenAI Codex CLI

$skill-installer https://github.com/trading212-labs/agent-skills/tree/master/plugins/trading212-api/skills/trading212-api

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 17 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "trading212-plugins",
  3. "version": "1.0.0",
  4. "description": "Supercharge your AI agent with the power of the Trading 212 API",
  5. "owner": {
  6. "name": "Trading 212",
  7. "email": "support@trading212.com"
  8. },
  9. "plugins": [
  10. {
  11. "name": "trading212-api",
  12. "source": "./plugins/trading212-api",
  13. "description": "Skill for interacting with the Trading 212 API - portfolio management, order placement, position tracking, and historical data analysis",
  14. "category": "trading"
  15. }
  16. ]
  17. }
README.md · README · 101 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Trading 212 API Agent Skills
  2. [![Trading 212](https://img.shields.io/badge/Trading212-API-0066FF)](https://docs.trading212.com/api) [![Claude Code](https://img.shields.io/badge/Claude_Code-AI-8B5CF6)](https://claude.ai/) [![OpenClaw](https://img.shields.io/badge/OpenClaw-AI-10B981)](https://openclaw.ai/) [![Skills.sh](https://img.shields.io/badge/Skills-Installer-FF6B35)](https://skills.sh/trading212-labs/agent-skills/trading212-api) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/trading212-labs/agent-skills/graphs/commit-activity)
  3. An **AgentSkills** plugin that wraps the [Trading 212 API](https://docs.trading212.com/api) and exposes its capabilities in a **tool-friendly format** for AI assistants (e.g. [OpenClaw](https://openclaw.ai/), [Claude Code](https://claude.com/product/claude-code), and others). The plugin provides skills that teach AI agents how to work with the API: retrieving portfolio and transaction history, placing and managing orders, querying instruments, and related operations—with **consistent, schema-based inputs and outputs**, **authentication and error mapping**, and **rate-limit handling**.
  4. ## Features
  5. - **Portfolio Management** - View account summary, cash balance, and investment metrics
  6. - **Order Placement** - Place market, limit, stop, and stop-limit orders
  7. - **Position Monitoring** - Track open positions with P&L calculations
  8. - **Instrument Lookup** - Search and browse tradable instruments
  9. - **Historical Data** - Access order history, dividends, transactions, and export CSV reports
  10. - **Exchange Metadata** - View trading hours and exchange schedules
  11. Supports both **Demo** (paper trading) and **Live** (real money) Trading 212 environments. The Trading 212 API is in **beta** and under active development; endpoints or behaviour may change.
  12. ## Supported Account Types
  13. - Invest accounts
  14. - Stocks ISA accounts
  15. ## Installation
  16. ### Universal via [skills.sh](https://skills.sh/trading212-labs/agent-skills/trading212-api)
  17. ```bash
  18. npx skills add trading212-labs/agent-skills
  19. ```
  20. ### Claude Code
  21. ```bash
  22. /plugin marketplace add https://github.com/trading212-labs/agent-skills.git
  23. /plugin install trading212-api
  24. ```
  25. ### OpenClaw / Moltbot / Clawdbot
  26. ```bash
  27. clawdbot plugins install github:trading212-labs/agent-skills
  28. ```
  29. ### Cursor
  30. 1. Open Cursor Settings
  31. 2. Navigate to `Rules, Skills, Subagents`
  32. 3. Click `Add Rule` on Rules section -> Add from Github
  33. 4. Submit GitHub url: `https://github.com/trading212-labs/agent-skills.git`
  34. ### OpenAI Codex CLI
  35. ```bash
  36. $skill-installer https://github.com/trading212-labs/agent-skills/tree/master/plugins/trading212-api/skills/trading212-api
  37. ```
  38. ## Configuration
  39. Generate API credentials in the Trading 212 app under **Settings > API** (API Key ID and API Secret). See [How to get your Trading 212 API key](https://helpcentre.trading212.com/hc/en-us/articles/14584770928157-Trading-212-API-key) for step-by-step instructions. Store them securely and use only in a trusted, secure environment. See **Credentials and security** below.
  40. **Single account (Invest or Stocks ISA):**
  41. ```bash
  42. # Invest or Stocks ISA
  43. export T212_API_KEY="your-api-key"
  44. export T212_API_SECRET="your-api-secret"
  45. #Environment
  46. export T212_ENV="live" # optional; default is "live"; use "demo" for paper trading
  47. ```
  48. **Both accounts (Invest and Stocks ISA):** set a key/secret pair per account.
  49. ```bash
  50. # Invest
  51. export T212_API_KEY_INVEST="your-invest-api-key"
  52. export T212_API_SECRET_INVEST="your-invest-api-secret"
  53. # Stocks ISA
  54. export T212_API_KEY_STOCKS_ISA="your-stocks-isa-api-key"
  55. export T212_API_SECRET_STOCKS_ISA="your-stocks-isa-api-secret"
  56. #Environment
  57. export T212_ENV="live" # optional; default is "live"; use "demo" for paper trading
  58. ```
  59. API keys are environment-specific (LIVE vs DEMO). For details, see [Trading 212 API Documentation](https://docs.trading212.com/api).
  60. ### Credentials and security
  61. - **Handle with extreme care** — API keys grant access to your Trading 212 account. Set and use them only when you understand the risks. Never paste keys into untrusted chat, shared machines, or public places.
  62. - **Use only in a secure environment** — Use credentials only on a machine and in an environment you control and trust (e.g. your own device, trusted IDE/plugin). Avoid shared or public computers, unverified third-party tools, or environments where others can see your screen or logs.
  63. - **No responsibility** — The maintainers and contributors of this plugin are not responsible for any loss, misuse, or compromise of your API keys or account. You use this plugin and your credentials at your own risk.
  64. - **If your keys are leaked** — If you suspect your API key or secret has been exposed (e.g. committed to a repo, shared by mistake, or seen by someone else), **revoke it immediately** in the Trading 212 app: **Settings > API**, then delete/revoke the affected key and generate a new one. Do not continue using a compromised key.
  65. ## Disclaimer
  66. This plugin is an experimental technical integration tool only. AI tools can misinterpret instructions and execute unintended actions, including placing incorrect orders. Never share your API key with tools or services you don't trust. You are solely responsible for any actions carried out using your API key. This plugin does not provide financial advice. You are required to comply with our API Terms at all times. As required by MiFID II, you are prohibited from using this tool for algorithmic trading.
  67. ## License
  68. [MIT License](LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.