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

# List routes

> Every asset and the destinations it can reach. Public, partner-aware. Reviewed xStocks/Ondo discovery is v2-only and requires explicit admission; these assets are disabled by default. Reviewed pairs require supported independent valuation for both endpoints and fresh accepted evidence; unsupported directions are omitted without removing unrelated ordinary routes. Discovery is a current, non-cacheable availability snapshot, not a guarantee of future liquidity. Refresh it before selecting a route. Unsupported pairs return 400 xchain_no_route before planning; transient evidence failures remain retryable. Discovery is amount-independent; quotes still validate the requested size. Quote and execution endpoints remain under /v1/orchestration.

**/v2/orchestration/routes**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json GET /v2/orchestration/routes
openapi: 3.1.0
info:
  title: Flashnet Orchestrator API
  version: 0.1.0
  description: >-
    Partner API for quotes, orders, standing deposits, webhooks, and affiliates.
    Operations marked x-excluded are omitted from the documentation navigation;
    internal, pay-link, SSE, and provider-integration routes are outside this
    registry.
servers:
  - url: https://orchestration.flashnet.xyz
security: []
tags:
  - name: Orchestration
    description: >-
      Routes, limits, estimates, quotes, orders, onramp, and ZeroConf decisions
      for one-off swaps.
  - name: Standing Deposit Addresses
    description: >-
      Permanent per-customer deposit addresses bound to one immutable conversion
      instruction.
  - name: Webhooks
    description: >-
      Registration of HTTPS endpoints for order status events and recovery
      events.
  - name: Affiliates
    description: Registered fee recipients, their accrued balances, and claims.
  - name: Accumulation Addresses
    description: >-
      Legacy reusable addresses that convert one source asset into Spark BTC or
      USDB.
  - name: Liquidations
    description: >-
      Legacy Bitcoin L1 deposit addresses that convert each output to a
      configured destination.
  - name: System
  - name: Explorer
  - name: Dashboard
  - name: Affiliate Dashboard
paths:
  /v2/orchestration/routes:
    get:
      tags:
        - Orchestration
      summary: List routes
      description: >-
        Every asset and the destinations it can reach. Public, partner-aware.
        Reviewed xStocks/Ondo discovery is v2-only and requires explicit
        admission; these assets are disabled by default. Reviewed pairs require
        supported independent valuation for both endpoints and fresh accepted
        evidence; unsupported directions are omitted without removing unrelated
        ordinary routes. Discovery is a current, non-cacheable availability
        snapshot, not a guarantee of future liquidity. Refresh it before
        selecting a route. Unsupported pairs return 400 xchain_no_route before
        planning; transient evidence failures remain retryable. Discovery is
        amount-independent; quotes still validate the requested size. Quote and
        execution endpoints remain under /v1/orchestration.
      operationId: getV2OrchestrationRoutes
      responses:
        '200':
          description: Compact public route assets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrchestrationRoutesV2Response'
              examples:
                success:
                  summary: Bitcoin to Solana USDC discovery
                  value:
                    assets:
                      - id: bitcoin:BTC
                        chain: bitcoin
                        asset: BTC
                        assetDisplayName: Bitcoin
                        assetDisplaySymbol: BTC
                        contractAddress: null
                        decimals: 8
                        chainId: null
                        chainDisplayName: Bitcoin
                        chainIcon: /btc.svg
                        route:
                          to: all
                          exactOutTo: []
                          fixedTo: []
                      - id: solana:USDC
                        chain: solana
                        asset: USDC
                        assetDisplayName: USDC
                        assetDisplaySymbol: USDC
                        contractAddress: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                        decimals: 6
                        chainId: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
                        chainDisplayName: Solana
                        chainIcon: /chain-solana.svg
                        route:
                          to: []
                          exactOutTo: []
                          fixedTo: []
        '401':
          description: Invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Partner account or client-key origin not permitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Rate limited (`rate_limited`). X-RateLimit-Reset is an absolute
            epoch time in milliseconds; the IP limiter does not send
            Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - {}
        - bearerAuth: []
components:
  schemas:
    OrchestrationRoutesV2Response:
      type: object
      properties:
        validForMs:
          type: integer
          minimum: 0
          maximum: 10000
          description: >-
            Usable catalog lifetime in milliseconds from request start; does not
            extend evidence expiry.
        assets:
          type: array
          items:
            $ref: '#/components/schemas/PublicRouteAsset'
          description: >-
            Admitted assets in chain-priority order; destination-only assets
            have empty outbound sets.
        tokenSupport:
          type: array
          items:
            $ref: '#/components/schemas/TokenSupport'
          description: >-
            Chains where this caller may name a destination by token address.
            Absent when there are none.
      required:
        - assets
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      additionalProperties: false
    PublicRouteAsset:
      type: object
      properties:
        id:
          type: string
          description: Asset ID in <publicChain>:<canonical request asset> form.
        chain:
          $ref: '#/components/schemas/Chain'
        asset:
          type: string
        assetDisplayName:
          type: string
        assetDisplaySymbol:
          type: string
        contractAddress:
          type:
            - string
            - 'null'
        decimals:
          type: integer
        tokenProgram:
          type: string
          enum:
            - erc20
            - spl
            - token-2022
        reviewedIdentity:
          $ref: '#/components/schemas/ReviewedAssetIdentity'
        chainId:
          type:
            - string
            - 'null'
        chainDisplayName:
          type: string
        chainIcon:
          type:
            - string
            - 'null'
        assetIcon:
          type: string
          format: uri
          description: >-
            Absolute https logo URL served from the asset registry. Absent when
            the asset has no registry logo; clients keep their bundled artwork.
        listing:
          type: string
          enum:
            - listed
            - unlisted
          description: >-
            unlisted for a source or destination named by a token address the
            asset registry does not list; absent means listed. Unlisted details
            come from the token contract or mint and are display data only;
            asset and contractAddress are the canonical address, and a Solana
            mint carries tokenProgram.
        route:
          type: object
          properties:
            to:
              allOf:
                - $ref: '#/components/schemas/RouteSet'
                - description: Admitted directed destinations from this asset.
            exactOutTo:
              allOf:
                - $ref: '#/components/schemas/RouteSet'
                - description: Destinations in to supporting amountMode=exact_out.
            fixedTo:
              allOf:
                - $ref: '#/components/schemas/RouteSet'
                - description: >-
                    Destinations in to supporting fixed delivery, subject to
                    partner configuration.
          required:
            - to
            - exactOutTo
            - fixedTo
          additionalProperties: false
      required:
        - id
        - chain
        - asset
        - assetDisplayName
        - assetDisplaySymbol
        - contractAddress
        - decimals
        - chainId
        - chainDisplayName
        - chainIcon
        - route
      additionalProperties: false
    TokenSupport:
      type: object
      properties:
        chain:
          $ref: '#/components/schemas/Chain'
        destination:
          type: string
          enum:
            - any
            - listed
          description: >-
            any: any token on chain (an ERC-20 address, or an SPL mint on
            solana) may be requested as destinationAsset. listed: only assets in
            this response.
        source:
          type: string
          enum:
            - any
            - listed
          description: >-
            any: any token on chain may be requested as sourceAsset by its
            address; the quote then requires refundAddress. listed: only assets
            in this response.
        via:
          type: array
          items:
            type: string
          minItems: 1
          description: >-
            Hub asset IDs from this response. A token on chain is reachable as a
            destination from asset A when A is one of via or A.route.to contains
            one of via; as a source it reaches asset B when B is one of via or
            one of via has B in route.to.
      required:
        - chain
        - destination
        - source
        - via
      additionalProperties: false
    ErrorDetail:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      additionalProperties: false
    Chain:
      type: string
      enum:
        - arbitrum
        - arc
        - avalanche
        - base
        - bitcoin
        - bsc
        - ethereum
        - hedera
        - hypercore
        - hyperevm
        - lightning
        - litecoin
        - monad
        - monero
        - optimism
        - plasma
        - polygon
        - robinhood
        - sei
        - solana
        - spark
        - tempo
        - ton
        - tron
        - xrp
        - zcash
    ReviewedAssetIdentity:
      type: object
      properties:
        version:
          type: number
          enum:
            - 1
        catalogVersion:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
        chain:
          type: string
          enum:
            - solana
            - ethereum
            - bsc
            - arbitrum
        asset:
          type: string
          minLength: 1
          maxLength: 32
        address:
          type: string
          minLength: 32
          maxLength: 44
        decimals:
          type: integer
          minimum: 0
          maximum: 255
        tokenProgram:
          type: string
          enum:
            - erc20
            - spl
            - token-2022
        mechanic:
          type: string
          enum:
            - standard
            - scaled-ui
            - rebasing
            - accumulating
        mechanicHash:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
      required:
        - version
        - catalogVersion
        - chain
        - asset
        - address
        - decimals
        - tokenProgram
        - mechanic
        - mechanicHash
      additionalProperties: false
    RouteSet:
      anyOf:
        - type: string
          enum:
            - all
        - type: array
          items:
            type: string
        - type: object
          properties:
            except:
              type: array
              items:
                type: string
          required:
            - except
          additionalProperties: false
      description: >-
        Destination IDs from this response: "all" means all other assets, an
        array lists destinations, and {except: [...]} excludes IDs from all
        other assets; [] means none.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Partner API key in the form `Authorization: Bearer fn_...`.'

````

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