Redbark Holdings API

The Holdings API from Redbark — 1 operation(s) for holdings.

GitHub OpenAPI

Operations 1

GET /v1/holdings Get holdings #

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/redbark-com:redbark-com-holdings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

redbark-com-holdings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Redbark Holdings API
  version: 1.0.0
  description: 'Redbark API v1 (deprecated, frozen). New integrations should use v2: https://api.redbark.com/v2/openapi.json and https://redbark.com/docs/api-reference/v2/overview.'
security:
- Bearer: []
tags:
- name: Holdings
paths:
  /v1/holdings:
    get:
      tags:
      - Holdings
      security:
      - Bearer: []
      deprecated: true
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 128
        required: true
        name: connectionId
        in: query
      - schema:
          type: string
          maxLength: 128
        required: false
        name: accountId
        in: query
      - schema:
          type: string
          maxLength: 4000
        required: false
        name: accountIds
        in: query
      responses:
        '200':
          description: List of holdings
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          maxLength: 128
                        instrumentId:
                          type:
                          - string
                          - 'null'
                          maxLength: 128
                        accountId:
                          type: string
                          maxLength: 128
                        accountName:
                          type: string
                          maxLength: 256
                        symbol:
                          type: string
                          maxLength: 32
                        name:
                          type:
                          - string
                          - 'null'
                          maxLength: 256
                        exchange:
                          type:
                          - string
                          - 'null'
                          maxLength: 64
                        currency:
                          type: string
                          maxLength: 8
                        quantity:
                          type: string
                          maxLength: 32
                        averagePrice:
                          type:
                          - string
                          - 'null'
                          maxLength: 32
                        currentPrice:
                          type:
                          - string
                          - 'null'
                          maxLength: 32
                        marketValue:
                          type:
                          - string
                          - 'null'
                          maxLength: 32
                        unrealizedPnl:
                          type:
                          - string
                          - 'null'
                          maxLength: 32
                        positions:
                          type: array
                          items:
                            type: object
                            properties:
                              quantity:
                                type: string
                                maxLength: 32
                              averagePrice:
                                type:
                                - string
                                - 'null'
                                maxLength: 32
                              currentPrice:
                                type:
                                - string
                                - 'null'
                                maxLength: 32
                              marketValue:
                                type:
                                - string
                                - 'null'
                                maxLength: 32
                              unrealizedPnl:
                                type:
                                - string
                                - 'null'
                                maxLength: 32
                            required:
                            - quantity
                            - averagePrice
                            - currentPrice
                            - marketValue
                            - unrealizedPnl
                      required:
                      - id
                      - instrumentId
                      - accountId
                      - accountName
                      - symbol
                      - name
                      - exchange
                      - currency
                      - quantity
                      - averagePrice
                      - currentPrice
                      - marketValue
                      - unrealizedPnl
                      - positions
                required:
                - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
        '403':
          description: Professional plan required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
        '429':
          description: Rate limit exceeded — see `Retry-After` and `X-RateLimit-Reset` headers
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
        '503':
          description: Upstream provider error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: array
                        items:
                          type: string
                    required:
                    - message
                required:
                - error
      summary: Get holdings
      x-summary-source: derived
      operationId: getV1Holdings
      x-operation-id-source: derived
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key authentication. Use: Authorization: Bearer YOUR_API_KEY'