# Get trade by ID

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/account/trades/{tradeId}:
    get:
      summary: Get trade by ID
      deprecated: false
      description: Retrieves a single trade by its unique identifier.
      operationId: getAccountTrade
      tags:
        - API/Trading/Trades
        - Trades
      parameters:
        - name: tradeId
          in: path
          description: The trade ID to retrieve.
          required: true
          example: trade-a1b2c3d4
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Unique trade identifier
                    examples:
                      - trade-a1b2c3d4
                  orderId:
                    type: string
                    description: Identifier of the order this trade belongs to
                    format: uuid
                    examples:
                      - 3aaad2dd-65ef-4ce8-98da-8af52a5b6f3e
                  pair:
                    type: string
                    description: Trading pair identifier
                    examples:
                      - BTC-EUR
                  side:
                    type: string
                    description: Trade side
                    enum:
                      - buy
                      - sell
                    examples:
                      - sell
                  price:
                    type: string
                    description: Execution price as a decimal string
                    examples:
                      - '61501.2'
                  amount:
                    type: string
                    description: Trade quantity in base currency as a decimal string
                    examples:
                      - '0.15'
                  fee:
                    type: object
                    properties:
                      amount:
                        type: string
                        description: Fee amount as a decimal string
                        examples:
                          - '2.25'
                      symbol:
                        type: string
                        description: Currency the fee is charged in
                        examples:
                          - EUR
                    description: >-
                      Fee charged for this trade; null if fee data is
                      unavailable
                    x-apidog-orders:
                      - amount
                      - symbol
                  total:
                    type: string
                    description: Total trade amount in quote currency as a decimal string
                    examples:
                      - '9225.18'
                  executedAt:
                    type: string
                    description: ISO 8601 timestamp when the trade was executed (UTC)
                    format: date-time
                    examples:
                      - '2025-09-11T12:15:30.000Z'
                x-apidog-orders:
                  - id
                  - orderId
                  - pair
                  - side
                  - price
                  - amount
                  - fee
                  - total
                  - executedAt
              example:
                id: trade-a1b2c3d4
                orderId: 3aaad2dd-65ef-4ce8-98da-8af52a5b6f3e
                pair: BTC-EUR
                side: sell
                price: '61501.20'
                amount: '0.15000000'
                fee:
                  amount: '2.25'
                  symbol: EUR
                total: '9225.18'
                executedAt: '2025-09-11T12:15:30.000Z'
          headers: {}
          x-apidog-name: ''
        '401':
          description: Unauthorized — missing or invalid authentication
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          description: Machine-readable error code
                          examples:
                            - VALIDATION_ERROR
                        status:
                          type: integer
                          description: HTTP status code
                          format: int32
                          examples:
                            - 400
                        field:
                          type: string
                          description: >-
                            Field that caused the error; null for non-validation
                            errors
                          examples:
                            - limit
                          nullable: true
                        title:
                          type: string
                          description: Human-readable error message
                          examples:
                            - Invalid value for parameter 'limit'
                      x-apidog-orders:
                        - code
                        - status
                        - field
                        - title
                x-apidog-orders:
                  - errors
          headers: {}
          x-apidog-name: ''
        '404':
          description: Trade not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          description: Machine-readable error code
                          examples:
                            - VALIDATION_ERROR
                        status:
                          type: integer
                          description: HTTP status code
                          format: int32
                          examples:
                            - 400
                        field:
                          type: string
                          description: >-
                            Field that caused the error; null for non-validation
                            errors
                          examples:
                            - limit
                          nullable: true
                        title:
                          type: string
                          description: Human-readable error message
                          examples:
                            - Invalid value for parameter 'limit'
                      x-apidog-orders:
                        - code
                        - status
                        - field
                        - title
                x-apidog-orders:
                  - errors
              example:
                errors:
                  - code: TRADE_NOT_FOUND
                    status: 404
                    field: null
                    title: Trade not found
          headers: {}
          x-apidog-name: ''
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          description: Machine-readable error code
                          examples:
                            - VALIDATION_ERROR
                        status:
                          type: integer
                          description: HTTP status code
                          format: int32
                          examples:
                            - 400
                        field:
                          type: string
                          description: >-
                            Field that caused the error; null for non-validation
                            errors
                          examples:
                            - limit
                          nullable: true
                        title:
                          type: string
                          description: Human-readable error message
                          examples:
                            - Invalid value for parameter 'limit'
                      x-apidog-orders:
                        - code
                        - status
                        - field
                        - title
                x-apidog-orders:
                  - errors
              example:
                errors:
                  - code: 500 INTERNAL_SERVER_ERROR
                    status: 500
                    field: null
                    title: An unexpected error occurred
          headers: {}
          x-apidog-name: ''
      security:
        - ApiKeyAuth: []
          x-apidog:
            schemeGroups:
              - id: OYcy9TNwibNr1XkFexD62
                schemeIds:
                  - ApiKeyAuth
            required: true
            use:
              id: OYcy9TNwibNr1XkFexD62
            scopes:
              OYcy9TNwibNr1XkFexD62:
                ApiKeyAuth: []
      x-apidog-folder: API/Trading/Trades
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/363759/apis/api-4311314-run
components:
  schemas: {}
  securitySchemes:
    ApiKeyAuth:
      type: apikey
      description: API key for authentication. Issued by Bitpanda.
      name: x-api-key
      in: header
servers:
  - url: https://api.fusion.bitpanda.com
    description: Production
security: []

```