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

# Find a conversion path from an asset to XLM.



## OpenAPI

````yaml /api-reference/openapi.json get /{network}/paths
openapi: 3.0.0
info:
  title: LumenWipe API
  description: Programmatic close-out of Stellar accounts.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.lumenwipe.com
security: []
tags:
  - name: close
    description: Build and submit an account close-out
  - name: account
    description: Read account state and conversion paths
  - name: mediator
    description: Exchange-destination forwarding
  - name: health
    description: Service health
  - name: service
    description: Service index
  - name: admin
    description: Operator-only self-serve API key management
paths:
  /{network}/paths:
    get:
      tags:
        - account
      summary: Find a conversion path from an asset to XLM.
      operationId: AccountController_paths
      parameters:
        - name: network
          required: true
          in: path
          schema:
            enum:
              - testnet
              - mainnet
            type: string
        - name: fromAsset
          required: true
          in: query
          description: Asset to convert (e.g. CODE:ISSUER or 'native').
          schema:
            type: string
        - name: amount
          required: true
          in: query
          description: Amount of the source asset.
          schema:
            type: string
      responses:
        '200':
          description: The conversion path (or null if none).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PathResponseDto'
        '400':
          description: Invalid network or missing query params.
        '401':
          description: Missing or invalid API key.
        '429':
          description: Rate limit exceeded for this key.
      security:
        - api-key: []
components:
  schemas:
    PathResponseDto:
      type: object
      properties:
        path:
          description: The conversion path, or null if none was found.
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ConversionPathDto'
      required:
        - path
    ConversionPathDto:
      type: object
      properties:
        fromAsset:
          type: string
          description: Asset code:issuer, or `native`.
          example: USDC:GA2H...ISSUER
        toAsset:
          type: string
          description: Asset code:issuer, or `native`.
          example: native
        path:
          description: Intermediate assets the path routes through, in order.
          type: array
          items:
            type: string
        estimatedReceive:
          type: string
          description: Estimated amount received, before slippage floor.
          example: '42.5000000'
        destMin:
          type: string
          description: The minimum accepted after slippage - the actual on-chain floor.
          example: '42.0000000'
      required:
        - fromAsset
        - toAsset
        - path
        - estimatedReceive
        - destMin
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: Integrator API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.