Saxo Bank ClosedPositions API

Read only end points serving closed positions and the underlying closed positions making up the net closed position. The set of closed positions is restricted by the supplied query parameters as well as whether or not the identity represented by the authorization token has access to the account on which the positions are posted. * A user of a client will have access to accounts under that client * A user of an IB or WLC will have access to accounts on that client or clients there under * An employee has access to all accounts * A request containing a TradingFloor "Federated Access" token will have access to the account specified in that token. * If access is granted on the basis of the TradingFloor "Federated Access" token, then the number of fields will be a subset of the full set of fields shown in the specification for the response.

Operations 8

DELETE /port/v1/closedpositions/subscriptions/{ContextId} Remove multiple subscriptions #
DELETE /port/v1/closedpositions/subscriptions/{ContextId}/{ReferenceId} Remove subscription #
PATCH /port/v1/closedpositions/subscriptions/{ContextId}/{ReferenceId} Change the closed positions subscription page size #
POST /port/v1/closedpositions/subscriptions Create a subscription on a list of closed positions and make it active #
GET /port/v1/closedpositions/{ClosedPositionId}/details Get detailed information for a single position #
GET /port/v1/closedpositions/{ClosedPositionId} Get a single position #
GET /port/v1/closedpositions/me Get closed positions for a client, to which the logged in user belongs #
GET /port/v1/closedpositions Get closed positions for a client, accountGroup or account #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/saxo-closedpositions-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

saxo-closedpositions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Services.Portfolio Closed Positions API
  description: The Portfolio service group provides services and end points that serves information about the clients current portfolio, such as account balance, open positions etc.
  version: 2.4.82+77577352f2
  x-framework-version: 41.0.17+46f32c3eb1
  x-machine: SIMOAWEB8-DK1
servers:
- url: https://gateway.saxobank.com/sim/openapi
tags:


# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/saxo/refs/heads/main/openapi/saxo-closedpositions-api-openapi.yml