> ## Documentation Index
> Fetch the complete documentation index at: https://docs.murmo.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# All proposals in a group

> All proposals (spot + prediction) in a group, as one combined object. Members only.



## OpenAPI

````yaml /openapi.json get /api/v1/groups/{id}/proposals
openapi: 3.1.0
info:
  title: Murmo API
  version: 1.0.0
  description: >-
    REST API for the Murmo trading platform. Spot swaps, prediction markets,
    perpetual futures, social copy-trading groups, portfolio, and chat —
    everything a bot or AI agent needs to trade on Solana with a single API key.


    **The money contract:** every monetary value on the wire is a full-precision
    plain decimal **string** (e.g. `"12.50"`), never a number, never raw base
    units, never scientific notation, never rounded. Send money the same way.
    See the *Money & precision* guide.


    **Auth:** send `Authorization: Bearer murmo_...` on every request. Keys are
    created in the Murmo app.
  contact:
    name: Murmo Support
    email: support@murmo.xyz
servers:
  - url: https://api.alpha-labs.trade
    description: Production
  - url: http://localhost:3000
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Identity
    description: Who am I, which key is this, and what is my rate budget.
  - name: Account
    description: >-
      Wallet value, balances, holdings, PnL, and the deposit address for funding
      in.
  - name: Spot
    description: Token discovery and group spot proposals.
  - name: Stocks
    description: >-
      Ondo tokenized stocks: the supported-ticker catalog and ticker-based
      trading over the group/proposal flow.
  - name: Predictions
    description: >-
      Polymarket-backed prediction markets: browse events, propose, predict,
      sell, claim.
  - name: Perpetuals
    description: 'Phoenix RISE perps: markets, proposals, open/increase/reduce/close/claim.'
  - name: Groups
    description: 'Copy-trade groups: membership, admin, and auto-follow.'
  - name: Portfolio
    description: Cross-vertical open positions, past positions, and trade history.
  - name: Chat
    description: Group chat over REST (the stateless counterpart to the WebSocket gateway).
paths:
  /api/v1/groups/{id}/proposals:
    get:
      tags:
        - Groups
      summary: All proposals in a group
      description: >-
        All proposals (spot + prediction) in a group, as one combined object.
        Members only.
      operationId: listGroupProposals
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Combined proposals.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      tradingProposals:
                        type: array
                        items:
                          $ref: '#/components/schemas/SpotProposalWithPosition'
                      predictionProposals:
                        type: array
                        items:
                          $ref: '#/components/schemas/PredictionWithPosition'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    SpotProposalWithPosition:
      type: object
      properties:
        proposal:
          $ref: '#/components/schemas/SpotProposal'
        userPosition:
          $ref: '#/components/schemas/SpotPositionSummary'
        participantCount:
          type: integer
          nullable: true
        participantAvatars:
          type: array
          nullable: true
          items:
            type: string
    PredictionWithPosition:
      type: object
      properties:
        proposal:
          $ref: '#/components/schemas/PredictionProposal'
        market:
          type: object
          nullable: true
          additionalProperties: true
          description: >-
            Venue market object, normalized: `marketTicker` = market slug,
            `eventTicker` = event slug, prices as dollar strings. Null when the
            market can no longer be resolved.
        remainingTokenAmount:
          type: string
          nullable: true
          description: Per-proposal FIFO remaining (humanized).
        createdBy:
          $ref: '#/components/schemas/UserRef'
    SpotProposal:
      type: object
      properties:
        id:
          type: string
        groupId:
          type: string
        createdByUserDynamicId:
          type: string
        tokenMetadataId:
          type: string
        reason:
          type: string
          nullable: true
        initialPriceUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        exitPriceUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        exitPnlPct:
          oneOf:
            - $ref: '#/components/schemas/DecimalString'
            - type: 'null'
        exitPnlUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        closedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        token:
          $ref: '#/components/schemas/TokenRef'
        group:
          $ref: '#/components/schemas/GroupRef'
        createdBy:
          $ref: '#/components/schemas/UserRef'
        trades:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/SpotTrade'
    SpotPositionSummary:
      type: object
      properties:
        hasPosition:
          type: boolean
        currentTokenAmountRaw:
          type: string
          nullable: true
          description: Token base units (humanize with the token's decimals).
        totalCostUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        avgEntryPriceUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        avgExitPriceUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        unrealizedPnlPct:
          oneOf:
            - $ref: '#/components/schemas/DecimalString'
            - type: 'null'
        unrealizedPnlUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        realizedPnlPct:
          oneOf:
            - $ref: '#/components/schemas/DecimalString'
            - type: 'null'
        realizedPnlUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        currentValueUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        currentPriceUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        userExitedAt:
          type: string
          format: date-time
          nullable: true
    PredictionProposal:
      type: object
      properties:
        id:
          type: string
        groupId:
          type: string
        createdById:
          type: string
        eventId:
          type: string
          description: >-
            Event slug (e.g. `presidential-election-winner-2028`). Legacy
            proposals may hold older identifier formats.
        marketId:
          type: string
          description: Market slug for the specific market within the event.
        outcomeMint:
          type: string
          description: >-
            Venue outcome-token id for the chosen side (legacy proposals hold a
            Solana mint address).
        eventTitle:
          type: string
          nullable: true
        marketTitle:
          type: string
          nullable: true
        eventImageUrl:
          type: string
          nullable: true
        isYes:
          type: boolean
        status:
          type: string
          enum:
            - PENDING
            - ACTIVE
            - CLOSED
            - RESOLVED
            - FAILED
          description: >-
            PENDING = buy settling (visible only to its creator); ACTIVE = open;
            CLOSED = sell-only; RESOLVED = market resolved; FAILED = buy gave
            up, funds returned (creator-only).
        result:
          type: string
          nullable: true
          enum:
            - 'YES'
            - 'NO'
            - INVALID
            - CANCELLED
            - null
          description: >-
            Resolution outcome; null until resolved. INVALID = 50/50 resolution
            — both sides redeem at $0.50 per contract.
        didWin:
          type: boolean
          nullable: true
          description: >-
            Whether the proposal's side won; null until resolved (false on
            INVALID — both sides claim $0.50).
        reason:
          type: string
          nullable: true
        resolvedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    UserRef:
      type: object
      nullable: true
      properties:
        dynamicId:
          type: string
        username:
          type: string
          nullable: true
    Error:
      type: object
      description: >-
        Errors come in two shapes. Coded business errors: `{ message, code }`.
        Generic framework errors: `{ statusCode, message, error }` (message may
        be an array of validation strings).
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: Query parameter "groupId" is required
        error:
          type: string
          example: Bad Request
        code:
          type: string
          description: >-
            Stable machine-readable code on business errors (e.g.
            NOT_GROUP_MEMBER, MARKET_NOT_ACTIVE, AMOUNT_BELOW_MINIMUM,
            MIN_ORDER_SIZE, NO_LIQUIDITY, FUNDING_REFUNDED). The full list is
            published as error-catalog.json.
          example: NOT_GROUP_MEMBER
    MoneyString:
      type: string
      description: >-
        A monetary amount as a full-precision plain decimal string in USD —
        never a number, never raw base units, never scientific notation, never
        rounded. Parse with a decimal library; round only for display.
      example: '12.50'
    DecimalString:
      type: string
      description: >-
        A non-money decimal (percentage, ratio, price) as a full-precision plain
        decimal string (never scientific notation).
      example: '4.27'
    TokenRef:
      type: object
      nullable: true
      properties:
        id:
          type: string
        contractAddress:
          type: string
        symbol:
          type: string
        name:
          type: string
        logoUrl:
          type: string
          nullable: true
        coingeckoId:
          type: string
          nullable: true
        verified:
          type: boolean
    GroupRef:
      type: object
      nullable: true
      properties:
        uniqueId:
          type: string
        name:
          type: string
        image:
          type: string
          nullable: true
    SpotTrade:
      type: object
      properties:
        id:
          type: string
        tradingProposalId:
          type: string
        groupId:
          type: string
        walletAddress:
          type: string
        tradeType:
          type: string
          enum:
            - BUY
            - SELL
        tokenAmount:
          $ref: '#/components/schemas/DecimalString'
        tokenDecimals:
          type: integer
        pricePerTokenUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        totalCostUsd:
          $ref: '#/components/schemas/MoneyString'
        alphaFeeUsd:
          $ref: '#/components/schemas/MoneyString'
        pnlPct:
          oneOf:
            - $ref: '#/components/schemas/DecimalString'
            - type: 'null'
        pnlUsd:
          oneOf:
            - $ref: '#/components/schemas/MoneyString'
            - type: 'null'
        txSignature:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
  responses:
    Unauthorized:
      description: Missing or invalid credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        Authenticated but not permitted (e.g. not a group member, or the product
        is restricted in your region).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send your API key as `Authorization: Bearer murmo_...`. Keys are created
        in the Murmo app. Header-only — keys are never read from the query
        string. Valid for the REST API under /api/v1 only (not the GraphQL
        endpoint).

````