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

# Get Position by ID

> Retrieves detailed information about a specific position using its ID.



## OpenAPI

````yaml /api/swagger.json get /positions/{position_id}
openapi: 3.0.1
info:
  title: BLOOD-V3 API
  contact: {}
  version: 0.0.1
servers:
  - url: //localhost:50000/api/v1
security: []
paths:
  /positions/{position_id}:
    get:
      tags:
        - Position
      summary: Get Position by ID
      description: Retrieves detailed information about a specific position using its ID.
      parameters:
        - name: position_id
          in: path
          description: Position ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.getPositionByIDResponse'
        '400':
          description: Bad request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/handlers.ErrorResponse'
components:
  schemas:
    handlers.getPositionByIDResponse:
      type: object
      properties:
        position:
          $ref: '#/components/schemas/models.PositionInfo'
    handlers.ErrorResponse:
      type: object
      properties:
        error:
          type: string
    models.PositionInfo:
      type: object
      properties:
        avg_buy_mcap_usd:
          type: string
        chain:
          $ref: '#/components/schemas/models.Chain'
        created_at:
          type: string
        fee_and_tip_spent:
          type: string
        id:
          type: string
        pnl:
          type: number
        pool_address:
          type: string
        pool_mcap_usd:
          type: string
        pool_platform:
          $ref: '#/components/schemas/models.Platform'
        shitcoin_info:
          $ref: '#/components/schemas/models.TokenInfo'
        shitcoin_left:
          type: string
        shitcoin_left_percentage:
          type: number
        shitcoin_received:
          type: string
        shitcoin_reserves:
          type: string
        shitcoin_sold:
          type: string
        stable_profit:
          type: string
        stable_profit_usd:
          type: number
        stable_returned:
          type: string
        stable_returned_usd:
          type: number
        stable_spent:
          type: string
        stable_spent_usd:
          type: number
        stable_token_price:
          type: number
        stable_unrealized:
          type: string
        stable_unrealized_usd:
          type: number
        stable_value:
          type: string
        stable_value_usd:
          type: number
        stablecoin_info:
          $ref: '#/components/schemas/models.TokenInfo'
        stablecoin_reserves:
          type: string
        status:
          $ref: '#/components/schemas/models.PositionStatus'
        user_id:
          type: string
        wallet_id:
          type: string
    models.Chain:
      type: string
      enum:
        - ''
        - solana
        - evm
      x-enum-varnames:
        - ChainUnspecified
        - ChainSolana
        - ChainEvm
    models.Platform:
      type: integer
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
      x-enum-varnames:
        - PlatformUnknown
        - PlatformRaydium
        - PlatformRaydiumCp
        - PlatformRaydiumClmm
        - PlatformPumpfun
        - PlatformMoonshot
        - PlatformMeteoraDyn
        - PlatformMeteoraDlmm
        - PlatformPamm
        - PlatformRaydiumLaunchpad
        - PlatformMeteoraDbc
        - PlatformMeteoraDammV2
        - PlatformHeaven
    models.TokenInfo:
      type: object
      properties:
        address:
          type: string
        decimals:
          type: integer
        is_stable:
          type: boolean
        metadata:
          $ref: '#/components/schemas/models.TokenMetadata'
        owner:
          type: string
        supply:
          type: integer
    models.PositionStatus:
      type: integer
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
      x-enum-varnames:
        - PositionStatusUnspecified
        - PositionStatusActive
        - PositionStatusCompleted
        - PositionStatusHidden
        - PositionStatusDeleted
    models.TokenMetadata:
      type: object
      properties:
        name:
          type: string
        symbol:
          type: string
        uri:
          type: string

````