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

# Get available markets

> Returns the full list of tradable currency pairs along with their trade limits and supported directions.

Returns the full list of tradable currency pairs along with their trade limits and supported directions.

Use this endpoint to:

* Access the complete list of available currency pairs to trade
* Retrieve specifications on trading limits and possible trade directions by currency

## Errors

| Status | Message                                                                         | Notes                                                       |
| ------ | ------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| 400    | `Query validation failed`                                                       | Request didn't match schema                                 |
| 401    | `The authorization key provided is either invalid or expired, please try again` | Mint a fresh JWT — see [Authentication](/v2/authentication) |
| 409    | `Request with this idempotency key is currently processing`                     | See [Errors → Idempotency](/v2/errors#idempotency-errors)   |
| 422    | `Idempotency key reused with different parameters`                              | New body → new key                                          |
| 500    | `An internal error has occurred`                                                | Server fault; retry with backoff                            |

See the full [v2 error reference](/v2/errors) for retry semantics and idempotency-specific codes.


## OpenAPI

````yaml GET /v2/brokerage/{orgId}/available_markets
openapi: 3.1.0
info:
  title: Overview of OpenFX APIs
  description: >-
    OpenFX provides a robust and secure API suite engineered for high
    performance and reliability, enabling programmatic access to real-time
    market data, trade execution, and money movement functionalities. This guide
    will walk through the step-by-step process of deposits, quoting, trading,
    settlements and monitoring using OpenFX APIs.
  version: v2.0.0
  termsOfService: https://www.openfx.com/terms
  contact:
    name: OpenFX Support
    email: support@openfx.com
    url: https://www.openfx.com
servers:
  - url: https://api.openfx.com
    description: OpenFX API Server
security:
  - bearerAuth: []
tags:
  - name: MarketData
    description: >-
      This endpoint retrieves a complete list of all tradable fiat and
      stablecoin currency pairs on the OpenFX platform.
  - name: Balances
    description: >-
      The Balance endpoints enable real-time tracking and management of currency
      holdings within an account.
  - name: Trade
    description: >-
      The Trade APIs facilitate programmatic currency exchange through a
      quote-then-trade workflow, ensuring price transparency and guaranteed
      execution at quoted rates.
  - name: Deposits
    description: >-
      Deposit endpoints enable secure funding of trading accounts across
      multiple supported currencies and methods.
  - name: Withdrawals
    description: >-
      The Withdrawal API facilitates secure fund withdrawals for both fiat and
      stablecoins.
paths:
  /v2/brokerage/{orgId}/available_markets:
    get:
      tags:
        - MarketData
      summary: Get available markets
      description: >
        Use this endpoint to:

        - Access the complete list of available currency pairs to trade

        - Retrieve specifications on trading limits and possible trade
        directions by currency
      operationId: getAvailableMarkets
      parameters:
        - schema:
            type: string
          in: path
          name: orgId
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                      - error
                    example: success
                  data:
                    type: object
                    properties:
                      tradingPairs:
                        type: array
                        items:
                          type: object
                          properties:
                            buy:
                              type: string
                              example: USDC
                              description: Currency used to buy the asset (quote currency)
                            sell:
                              type: string
                              example: USD
                              description: Currency being sold (base currency)
                        description: >-
                          List of available trading pairs with their buy and
                          sell currencies
                      tradeLimits:
                        type: array
                        items:
                          type: object
                          additionalProperties:
                            type: object
                            properties:
                              minTradeLimit:
                                type: number
                                example: 100
                                description: >-
                                  Minimum trade amount allowed for this trading
                                  pair
                              maxTradeLimit:
                                type: number
                                example: 10000000
                                description: >-
                                  Maximum trade amount allowed for this trading
                                  pair
                        description: >-
                          Trade limits for each trading pair, keyed by pair
                          symbol (e.g., 'USDC/USD')
                  message:
                    type: string
                    example: Data fetched successfully
              examples:
                default_example:
                  value:
                    status: success
                    data:
                      tradingPairs:
                        - buy: USD
                          sell: USDC
                        - buy: USDC
                          sell: USD
                      tradeLimits:
                        - USD:
                            minTradeLimit: 100
                            maxTradeLimit: 100000000
                        - USDC:
                            minTradeLimit: 100
                            maxTradeLimit: 10000000
        '400':
          description: Bad Request
          content:
            application/json:
              examples:
                default_example:
                  value:
                    status: error
                    message: Query validation failed
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                default_example:
                  value:
                    status: error
                    message: >-
                      The authorization key provided is either invalid or
                      expired, please try again
        '409':
          description: Conflict
          content:
            application/json:
              examples:
                default_example:
                  value:
                    status: error
                    message: Request with this idempotency key is currently processing
                    error:
                      code: IDEMPOTENCY_IN_FLIGHT
                      details: Please wait for the original request to complete
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              examples:
                default_example:
                  value:
                    status: error
                    message: Idempotency key reused with different parameters
                    error:
                      code: IDEMPOTENCY_MISMATCH
                      details: >-
                        This idempotency key was already used with different
                        request parameters
        '500':
          description: Internal Server Error
          content:
            application/json:
              examples:
                default_example:
                  value:
                    status: error
                    message: An internal error has occurred
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````