Trading 212 · Schema

Position

Trading 212 Position schema

InvestingFinanceTradingStocksPortfolioCommission-FreeISA

Properties

Name Type Description
averagePricePaid number Average price paid, in instrument currency, per share.
createdAt string The ISO 8601 formatted date of when the position was opened.
currentPrice number Current price, in instrument currency, of a single share.
instrument object
quantity number Total quantity of shares owned.
quantityAvailableForTrading number Quantity of shares available for trading.
quantityInPies number Quantity of shares currently used in pie.
walletImpact object Collects the financial impact of the position on the user's wallet.
View JSON Schema on GitHub

JSON Schema

Position.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/Position.json",
  "title": "Position",
  "description": "Trading 212 Position schema",
  "properties": {
    "averagePricePaid": {
      "description": "Average price paid, in instrument currency, per share.",
      "type": "number"
    },
    "createdAt": {
      "description": "The ISO 8601 formatted date of when the position was opened.",
      "format": "date-time",
      "type": "string"
    },
    "currentPrice": {
      "description": "Current price, in instrument currency, of a single share.",
      "type": "number"
    },
    "instrument": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/Instrument"
    },
    "quantity": {
      "description": "Total quantity of shares owned.",
      "type": "number"
    },
    "quantityAvailableForTrading": {
      "description": "Quantity of shares available for trading.",
      "type": "number"
    },
    "quantityInPies": {
      "description": "Quantity of shares currently used in pie.",
      "type": "number"
    },
    "walletImpact": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/PositionWalletImpact",
      "description": "Collects the financial impact of the position on the user's wallet."
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/Position"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.