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

# Get virtual asset

> Retrieves a virtual asset by ID, including the latest known rate.



## OpenAPI

````yaml /api-reference/openapi.json get /virtual-assets/{id}
openapi: 3.1.0
info:
  title: Reap API
  version: 1.0.0
  description: Reap platform API
servers:
  - url: https://sandbox.api.reap.global
    description: Sandbox
  - url: https://prod.api.reap.global
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Activities
  - name: Card Designs
  - name: Card Shipments
  - name: Card Transactions
  - name: Cards
  - name: Companies
  - name: Crypto Deposits
  - name: Policies
  - name: Simulation
  - name: Users
  - name: Virtual Asset Postings
  - name: Virtual Assets
  - name: Webhooks
paths:
  /virtual-assets/{id}:
    get:
      tags:
        - Virtual Assets
      summary: Get virtual asset
      description: Retrieves a virtual asset by ID, including the latest known rate.
      operationId: get_virtual-assets
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Virtual asset ID
        - name: Reap-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2025-02-14'
            description: API version (YYYY-MM-DD)
            example: '2025-02-14'
      responses:
        '200':
          description: Virtual asset definition
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    description: Unique virtual asset identifier
                  symbol:
                    type: string
                    description: Virtual asset symbol
                  name:
                    type: string
                    description: Display name
                  decimals:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: Number of decimal places for amounts
                  status:
                    type: string
                    enum:
                      - ACTIVE
                      - DISABLED
                    description: >-
                      Lifecycle status. Disabled assets are excluded from
                      balance computation.
                    example: ACTIVE
                  rateSource:
                    type: string
                    enum:
                      - FIXED
                      - HTTP
                    description: >-
                      How the USD exchange rate is determined for this virtual
                      asset.
                    example: FIXED
                  httpEndpoint:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: Rate endpoint URL. Present only for `HTTP` rate source.
                  currentRate:
                    anyOf:
                      - type: number
                        exclusiveMinimum: 0
                      - type: 'null'
                    description: >-
                      Latest known USD rate per unit. Null if no rate snapshot
                      exists yet.
                  currentRateUpdatedAt:
                    anyOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      ISO 8601 timestamp of the latest rate snapshot. Null when
                      `currentRate` is null.
                  allocated:
                    type: object
                    properties:
                      amount:
                        type: string
                        description: >-
                          Total allocated across all users in this project, in
                          the virtual asset's native units. Decimal string
                          padded to the asset's `decimals`.
                      value:
                        anyOf:
                          - type: number
                          - type: 'null'
                        description: >-
                          USD value of `amount` at the current rate. Null when
                          no rate is available (e.g. disabled assets with no
                          recent snapshot).
                    required:
                      - amount
                      - value
                    description: >-
                      Total amount of this virtual asset allocated across all
                      accounts in the project.
                  createdAt:
                    type: string
                    description: ISO 8601 creation timestamp
                  updatedAt:
                    type: string
                    description: ISO 8601 last update timestamp
                required:
                  - id
                  - symbol
                  - name
                  - decimals
                  - status
                  - rateSource
                  - httpEndpoint
                  - currentRate
                  - currentRateUpdatedAt
                  - allocated
                  - createdAt
                  - updatedAt
        '404':
          description: Virtual asset not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        const: VIRTUAL_ASSET_NOT_FOUND
                      message:
                        type: string
                      detail:
                        anyOf:
                          - type: object
                            additionalProperties: {}
                          - type: 'null'
                    required:
                      - code
                      - message
                      - detail
                required:
                  - error
                title: VirtualAssetNotFoundError
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key as Bearer token

````