Trading 212 Public API
type: WebAPI
description: Welcome to the official API reference for the Trading 212 Public API! This
version: v0
terms of service: https://www.trading212.com/legal-documentation/API-Terms_EN.pdf
provider: Trading 212
available channel: ServiceChannel
  service url: https://demo.trading212.com
available channel: ServiceChannel
  service url: https://live.trading212.com
potential action: Get account summary
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/account/summary
  description: Provides a breakdown of your account's cash and investment metrics, including available funds, invested capital, and total account value. **Rate limit:** 1 req / 5s
potential action: Get paid out dividends
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/history/dividends
  description: **Rate limit:** 6 req / 1m0s
potential action: List generated reports
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/history/exports
  description: Retrieves a list of all requested CSV reports and their current status. **Asynchronous Workflow:** 1. Call `POST /history/exports` to request a report. You will receive a `reportId`. 2. Periodica
potential action: Request a CSV report
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/history/exports
  description: Initiates the generation of a CSV report containing historical account data. This is an asynchronous operation. The response will include a `reportId` which you can use to track the status of the gene
potential action: Get historical orders data
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/history/orders
  description: **Rate limit:** 6 req / 1m0s
potential action: Get transactions
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/history/transactions
  description: Fetch superficial information about movements to and from your account **Rate limit:** 6 req / 1m0s
potential action: Get exchanges metadata
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/metadata/exchanges
  description: Retrieves all accessible exchanges and their corresponding working schedules. Data is refreshed every 10 minutes. **Rate limit:** 1 req / 30s
potential action: Get all available instruments
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/metadata/instruments
  description: Retrieves all accessible instruments. Data is refreshed every 10 minutes. **Rate limit:** 1 req / 50s
potential action: Get all pending orders
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/orders
  description: Retrieves a list of all orders that are currently active (i.e., not yet filled, cancelled, or expired). This is useful for monitoring the status of your open positions and managing your trading strate
potential action: Place a Limit order
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/orders/limit
  description: Creates a new Limit order, which executes at a specified price or better. - To place a **buy** order, use a positive `quantity`. The order will fill at the `limitPrice` or lower. - To place a **sell
potential action: Place a Market order
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/orders/market
  description: Creates a new Market order, which is an instruction to trade a security immediately at the next available price. - To place a **buy** order, use a positive `quantity`. - To place a **sell** order,
potential action: Place a Stop order
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/orders/stop
  description: Creates a new Stop order, which places a Market order once the `stopPrice` is reached. - To place a **buy** stop order, use a positive `quantity`. - To place a **sell** stop order (commonly a 'stop-
potential action: Place a StopLimit order
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/orders/stop_limit
  description: Creates a new Stop-Limit order, combining features of a Stop and a Limit order. The direction of the trade (buy/sell) is determined by the sign of the `quantity` field. **Execution Logic:** 1. Whe
potential action: Cancel a pending order
  type: EntryPoint
  http method: DELETE
  url template: https://live.trading212.com/api/v0/equity/orders/{id}
  description: Attempts to cancel an active, unfilled order by its unique ID. Cancellation is not guaranteed if the order is already in the process of being filled. A successful response indicates the cancellation r
potential action: Get a pending order by ID
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/orders/{id}
  description: Retrieves a single pending order using its unique numerical ID. This is useful for checking the status of a specific order you have previously placed. **Rate limit:** 1 req / 1s
potential action: Fetch all pies
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/pies
  description: Fetches all pies for the account **Rate limit:** 1 req / 30s
potential action: Create pie
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/pies
  description: Creates a pie for the account by given params **Rate limit:** 1 req / 5s
potential action: Delete pie
  type: EntryPoint
  http method: DELETE
  url template: https://live.trading212.com/api/v0/equity/pies/{id}
  description: Deletes a pie by given id **Rate limit:** 1 req / 5s
potential action: Fetch a pie
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/pies/{id}
  description: Fetches a pies for the account with detailed information **Rate limit:** 1 req / 5s
potential action: Update pie
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/pies/{id}
  description: Updates a pie for the account by given params **Rate limit:** 1 req / 5s
potential action: Duplicate pie
  type: EntryPoint
  http method: POST
  url template: https://live.trading212.com/api/v0/equity/pies/{id}/duplicate
  description: Duplicates a pie for the account **Rate limit:** 1 req / 5s
potential action: Fetch all open positions
  type: EntryPoint
  http method: GET
  url template: https://live.trading212.com/api/v0/equity/positions
  description: Fetch all open positions for your account **Rate limit:** 1 req / 1s