trading212-api

Authenticate with the Trading 212 API and manage orders across DEMO or LIVE environments.

90|6|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/trading212-labs/agent-skills --skill trading212-api-trading212-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trading212-api
Source: https://github.com/trading212-labs/agent-skills/tree/main/plugins/trading212-api/skills/trading212-api
Command: npx skills add https://github.com/trading212-labs/agent-skills --skill trading212-api-trading212-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents often need to interact with the Trading 212 API but lack structured guidance for authentication, account data retrieval, and order management. This skill provides a safe, discoverable interface to initiate, authenticate, and use the Trading 212 endpoints without exposing sensitive details to end users.

Core Features & Use Cases

  • Authentication guidance: Help configure API keys, environment selection (LIVE vs DEMO), and header construction.
  • Account & portfolio access: Retrieve account summary, cash balance, investments, and transaction history.
  • Order management: Place and cancel market, limit, stop, and stop_limit orders; query pending orders and retrieve order status.
  • Instrument lookup & metadata: Look up tradable instruments and exchange hours to plan trades.

Quick Start

To begin, configure your Trading 212 API credentials for the target environment and ask me to retrieve your current account summary.

Frequently Asked Questions about trading212-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate with the Trading 212 API using an AI agent?

Authenticate with the Trading 212 API by configuring your API keys and constructing requests with the correct Authorization headers. The skill guides environment selection between DEMO and LIVE to ensure safe credential handling.

Can I place limit and stop orders through the Trading 212 API?

Yes, you can place and cancel market, limit, stop, and stop_limit orders through the Trading 212 API. The skill manages order construction and allows querying pending orders and retrieving order status.

How do I retrieve my account cash balance and portfolio summary from Trading 212?

Retrieve your Trading 212 account summary, cash balance, and investments by querying the account endpoints. The skill structures the API requests to fetch transaction history and portfolio data automatically.

Does this skill support retrieving tradable instruments and exchange hours?

Yes, the skill supports instrument lookup and metadata retrieval from Trading 212. You can query tradable instruments and check exchange hours to plan your trades effectively.

What is the difference between DEMO and LIVE environments in Trading 212 API?

The DEMO and LIVE environments in the Trading 212 API determine whether trades execute with real funds. The skill enforces environment awareness, requiring correct base URLs and credentials for the selected target.

Why do my Trading 212 API requests fail with incorrect base URLs?

Trading 212 API requests fail when using incorrect base URLs or missing Authorization headers. The skill enforces strict request construction requirements, ensuring the correct environment configuration and credentials are applied.