Lynx · Schema

GetAccountPositionsResponse

CompanyHealthcareFintechPaymentsBenefitsHealth Savings AccountsEmbedded FinanceCard IssuingInsurance

Properties

Name Type Description
clientOrg object
member object
tradingType string The type of trading the account will participate in
updated string Date and time of last update
equityValue number Current total market value of the account's open positions
equityPositions array
View JSON Schema on GitHub

JSON Schema

lynx-get-account-positions-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lynx/main/json-schema/lynx-get-account-positions-response-schema.json",
  "title": "GetAccountPositionsResponse",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lynx-investments-api-openapi.yml#/components/schemas/GetAccountPositionsResponse",
  "type": "object",
  "properties": {
    "clientOrg": {
      "$ref": "#/$defs/ClientOrgDto"
    },
    "member": {
      "$ref": "#/$defs/BaseMember"
    },
    "tradingType": {
      "type": "string",
      "description": "The type of trading the account will participate in",
      "enum": [
        "CASH",
        "MARGIN"
      ]
    },
    "updated": {
      "type": "string",
      "description": "Date and time of last update"
    },
    "equityValue": {
      "type": "number",
      "description": "Current total market value of the account's open positions"
    },
    "equityPositions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EquityPosition"
      }
    }
  },
  "$defs": {
    "BaseMember": {
      "type": "object",
      "properties": {
        "clientMemberId": {
          "type": "string",
          "description": "Unique client-side identifier for the member"
        }
      },
      "required": [
        "clientMemberId"
      ]
    },
    "ClientOrgDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the client organization"
        }
      },
      "required": [
        "name"
      ]
    },
    "EquityPosition": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "description": "The ticker symbol of the instrument"
        },
        "symbolName": {
          "type": "string",
          "description": "The official name of the company associated to the Instrument"
        },
        "assetClass": {
          "type": "string",
          "description": "A group of financial instruments that have similar financial characteristics"
        },
        "subAssetClass": {
          "type": "string",
          "description": "A sub-asset class is a group of assets that share similar characteristics with each other, and also with the broader asset class it is part of"
        },
        "category": {
          "type": "string",
          "description": "The classification of the sector related to the Instrument"
        },
        "instrumentID": {
          "type": "string",
          "format": "uuid",
          "description": "A unique identifier for a specific instrument"
        },
        "openQty": {
          "type": "number",
          "description": "Quantity of shares owned by the account"
        },
        "costBasis": {
          "type": "number",
          "description": "Cost basis of the position"
        },
        "marketValue": {
          "type": "number",
          "description": "Current market value of the position"
        },
        "side": {
          "type": "string",
          "description": "The side of the order: B - Buy or S - Sell",
          "enum": [
            "B",
            "S"
          ]
        },
        "priorClose": {
          "type": "number",
          "description": "The closing price of the current symbol for the prior trading day"
        },
        "availableForTradingQty": {
          "type": "number",
          "description": "The quantity of the security available for sale"
        },
        "availableQty": {
          "type": "number"
        },
        "avgPrice": {
          "type": "number",
          "description": "The average price of the position"
        },
        "mktPrice": {
          "type": "number",
          "description": "The current market price of the position"
        },
        "unrealizedPL": {
          "type": "number",
          "description": "Unrealized profit and loss for the position"
        },
        "unrealizedDayPLPercent": {
          "type": "number",
          "description": "Unrealized day profit and loss for the position in percent"
        },
        "unrealizedDayPL": {
          "type": "number",
          "description": "Unrealized day profit and loss for the position"
        },
        "changeToday": {
          "type": "number"
        }
      }
    }
  }
}

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/lynx-get-account-positions-response"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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