---
title: "Position by Conid"
method: GET
path: "/portfolio/{accountId}/position/{conid}"
tags: ["Portfolio"]
---

# Position by Conid

`GET /portfolio/{accountId}/position/{conid}`

Returns a list of all positions matching the conid. For portfolio models the conid could be in more than one model, returning an array with the name of the model it belongs to.  /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.

## Path parameters

- `accountId` string, required
- `conid` integer, required

## Response `200`

returns a list containing only one position for the conid

- object[]
  - `acctId` string
  - `conid` integer
  - `contractDesc` string
  - `assetClass` string
  - `position` number
  - `mktPrice` number
  - `mktValue` number
  - `currency` string
  - `avgCost` number
  - `avgPrice` number
  - `realizedPnl` number
  - `unrealizedPnl` number
  - `exchs` string
  - `expiry` string
  - `putOrCall` string
  - `multiplier` number
  - `strike` number
  - `exerciseStyle` string
  - `undConid` integer
  - `conExchMap` string[]
  - `baseMktValue` number
  - `baseMktPrice` number
  - `baseAvgCost` number
  - `baseAvgPrice` number
  - `baseRealizedPnl` number
  - `baseUnrealizedPnl` number
  - `name` string
  - `lastTradingDay` string
  - `group` string
  - `sector` string
  - `sectorGroup` string
  - `ticker` string
  - `undComp` string
  - `undSym` string
  - `fullName` string
  - `pageSize` integer
  - `model` string

---

[API](https://skmtc.dev/interactivebrokers/apis/client-portal-web-api.md) · [All operations](https://skmtc.dev/interactivebrokers/apis/client-portal-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/interactivebrokers/client-portal-web-api/revisions/32edbfe496d1/schema)
