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

# List available FX pairs.

> Use this operation to build an FX-pair picker from all ordered combinations of covered currencies, including
covered crypto currencies. Filter text is matched case-insensitively against the displayed pair name.
`StartRow` is zero-based and `EndRow` is exclusive. Pass the returned slash-delimited `Code`,
rather than `Name`, to FX detail operations. `IsPaginatedRequest` does not affect this action.
It is read-only and completes before returning.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json post /api/Fx/GetFxPairs
openapi: 3.0.4
info:
  title: Derivitec Api 1.0
  version: '1.0'
servers:
  - url: https://api.riskportal.activeviam.com
security:
  - oauth2: []
  - apikey: []
tags:
  - name: AdminUser
  - name: AtotiReport
  - name: AtotiSession
  - name: BloombergOAuth
  - name: Bond
  - name: BondYieldCurvePage
  - name: BookAccess
  - name: Books
  - name: Commodity
  - name: Counterparties
  - name: Currencies
  - name: Equity
  - name: EquityDividend
  - name: EquityPage
  - name: FeatureFlag
  - name: Fx
  - name: FxPage
  - name: GroupAccess
  - name: Home
  - name: LegacyPosition
  - name: MarketData
  - name: MarketDataProvider
  - name: MarketDataProviderAccess
  - name: Meta
  - name: Notification
  - name: Organisation
  - name: PnLReport
  - name: PortfolioAccess
  - name: Portfolios
  - name: Position
  - name: PositionFilter
  - name: PricingEnvironment
  - name: PricingEnvironmentAccess
  - name: RateAsset
  - name: RateAssetPage
  - name: Report
  - name: ReportDefinition
  - name: ReportHistoryLauncherQuery
  - name: ReportLauncher
  - name: ReportQuery
  - name: ReportQueryViewUser
  - name: ReportRestriction
  - name: ReportView
  - name: RiskReport
  - name: Tradable
  - name: TradeBooking
  - name: User
  - name: VarReport
  - name: VarReportQuery
  - name: YieldCurvePage
paths:
  /api/Fx/GetFxPairs:
    post:
      tags:
        - Fx
      summary: List available FX pairs.
      description: >-
        Use this operation to build an FX-pair picker from all ordered
        combinations of covered currencies, including

        covered crypto currencies. Filter text is matched case-insensitively
        against the displayed pair name.

        `StartRow` is zero-based and `EndRow` is exclusive. Pass the returned
        slash-delimited `Code`,

        rather than `Name`, to FX detail operations. `IsPaginatedRequest` does
        not affect this action.

        It is read-only and completes before returning.
      operationId: GetFxCrossPairs
      requestBody:
        description: >-
          A non-null `SearchTerm`, `StartRow` greater than or equal to 0, and
          `EndRow` greater than `StartRow`.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiGetFxCrossPairsRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiGetFxCrossPairsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiGetFxCrossPairsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiGetFxCrossPairsRequest'
      responses:
        '200':
          description: >-
            Returns pair codes, display names, descriptions, the echoed filter
            text, and a last-page flag.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetFxCrossPairsResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiGetFxCrossPairsRequest:
      required:
        - $type
      type: object
      additionalProperties: false
      description: >-
        Searches and pages ordered FX currency pairs using zero-based row
        bounds.
      properties:
        is_paginated_request:
          type: string
          description: >-
            Compatibility paging-mode field with no observable effect in current
            MarketData listing operations.
          nullable: true
        start_row:
          type: integer
          description: >-
            Starting row selector for the requested page; indexing conventions
            are operation-specific.
          format: int32
        end_row:
          type: integer
          description: >-
            Upper row selector for the requested page; each listing operation
            defines whether it is inclusive or exclusive.
          format: int32
        search_term:
          type: string
          description: Text used to filter the available instruments.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.ApiGetFxCrossPairsRequest,
              Derivitec.Web.Core
    ApiGetFxCrossPairsResponse:
      required:
        - $type
      type: object
      properties:
        is_success:
          type: boolean
          description: >-
            Whether the operation completed successfully. The default is `true`;
            error outcomes set it to `false`.
          example: true
        error_messages:
          type: array
          items:
            type: string
          description: >-
            Messages explaining operation-level failures. The collection is
            empty by default.
          nullable: true
        last_row:
          type: boolean
          description: Whether the returned page is the final page of results.
          example: true
        search_term:
          type: string
          description: >-
            Search text associated with the paginated response, or null when it
            is not populated.
          nullable: true
        search_key:
          type: string
          description: Search text copied from the request.
          nullable: true
        fx_cross_pairs:
          type: array
          items:
            $ref: '#/components/schemas/FxPair'
          description: Matching ordered FX pairs in the requested row window.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.ApiGetFxCrossPairsResponse,
              Derivitec.Web.Core
      additionalProperties: false
      description: Returns a page of matching FX pairs and echoes the search text.
    FxPair:
      required:
        - $type
      type: object
      properties:
        code:
          type: string
          description: >-
            Pair code passed to detail operations; its currency order is the
            inverse of the display name.
          nullable: true
        name:
          type: string
          description: Slash-separated currency-pair name used for display and search.
          nullable: true
        description:
          type: string
          description: >-
            Slash-separated currency names in the same order as the display
            name.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.FxPair, Derivitec.Web.Core
      additionalProperties: false
      description: Describes one ordered currency pair for FX selection and detail lookup.
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 access-token requested from AWS Cognito and provided as a Auth
        Bearer header
      flows:
        implicit:
          authorizationUrl: https://auth.riskportal.derivitec.com/oauth2/authorize
          scopes: {}
    apikey:
      type: apiKey
      description: API-Key requested via the site and provided as a header
      name: x-api-key
      in: header

````