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

# Get Swap pairs

> Returns the list of swap pairs available to the account.



## OpenAPI

````yaml GET /v4/swap/pairs
openapi: 3.0.0
info:
  title: Ramps & Swaps
  version: 1.0.0
servers:
  - url: https://api.moonpay.com
security: []
tags:
  - name: Account details
    description: >-
      Get your account details, including the verification status and the
      current fees.
  - name: On-ramp
    description: Get quotes and transaction details for buying cryptocurrencies.
  - name: Off-ramp
    description: Get quotes and transaction details for selling cryptocurrencies.
  - name: Swaps
    description: Get quotes and transaction details for swapping cryptocurrencies.
  - name: Data
    description: >-
      Get currently supported countries, currencies, and payment methods. Also
      check the customers's IP address restrictions.
  - name: DefiToken
    description: Retrieve token data and token lists for DeFi assets.
paths:
  /v4/swap/pairs:
    get:
      tags:
        - Swaps
      summary: Get Swap pairs
      description: Returns the list of swap pairs available to the account.
      operationId: getSwapPairs
      responses:
        '200':
          description: Successful response — Swap Pairs
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SwapPair'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    SwapPair:
      type: object
      properties:
        baseCurrencyCode:
          type: string
          example: eth
          description: The first cryptocurrency code for the pair.
        baseCurrencyNetworkCode:
          type: string
          example: ethereum
          description: The first cryptocurrency network code for this pair.
        quoteCurrencyCode:
          type: string
          example: btc
          description: The second cryptocurrency code for this pair.
        quoteCurrencyNetworkCode:
          type: string
          example: bitcoin
          description: The second cryptocurrency network code for this pair.
        minSwapAmount:
          type: string
          example: '0.0205'
          description: The minimum swapable amount.
        maxSwapAmount:
          type: string
          example: '3.4079'
          description: The maximum swapable amount.
        minSwapAmountQuote:
          type: string
          example: '0.00080'
          description: >-
            A positive integer representing the amount of `quoteCurrency` the
            customer will receive when swapping `minSwapAmount` of
            `baseCurrency`.
        maxSwapAmountQuote:
          type: string
          example: '0.19581'
          description: >-
            A positive integer representing the amount of `quoteCurrency` the
            customer will receive when swapping `maxSwapAmount` of
            `baseCurrency`.
        isSuspended:
          type: boolean
          example: false
          description: Whether swap for this pair is suspended
        pairName:
          type: string
          example: eth-btc
          description: The name of the cryptocurrency pair.
    Error:
      type: object
      properties:
        message:
          type: string
          description: A descriptive error message.
        type:
          type: string
          description: An error type.
  securitySchemes:
    apiKey:
      type: apiKey
      name: apiKey
      in: query

````