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

# Check pair support and token configuration

> Validates whether a trading pair is supported and returns token metadata including decimal precision and minimum input amount. Use this before calling the quote endpoint to catch invalid tokens early.



## OpenAPI

````yaml /api-reference/aggregator-openapi.json get /api/v1/pair-config
openapi: 3.1.0
info:
  title: XOXNO DEX Aggregator API
  version: 1.0.0
  description: >-
    Swap routing across xExchange, AshSwap, JEX, and OneDex on MultiversX,
    including split routes and reverse quotes.
servers:
  - url: https://swap.xoxno.com
security: []
paths:
  /api/v1/pair-config:
    get:
      tags:
        - Pair Config
      summary: Check pair support and token configuration
      description: >-
        Validates whether a trading pair is supported and returns token metadata
        including decimal precision and minimum input amount. Use this before
        calling the quote endpoint to catch invalid tokens early.
      operationId: getPairConfig
      parameters:
        - name: from
          in: query
          required: true
          description: Input token identifier.
          schema:
            type: string
          example: WEGLD-bd4d79
        - name: to
          in: query
          required: true
          description: Output token identifier.
          schema:
            type: string
          example: USDC-c76f1f
      responses:
        '200':
          description: >-
            Pair configuration. Check the `supported` field to determine if the
            pair can be traded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PairConfigResponse'
              examples:
                supported:
                  summary: Supported pair
                  value:
                    from: WEGLD-bd4d79
                    to: USDC-c76f1f
                    supported: true
                    decimalsIn: 18
                    decimalsOut: 6
                    minAmountIn: '1000000000'
                    minAmountInShort: 1.e-9
                unsupported:
                  summary: Unsupported pair
                  value:
                    from: WEGLD-bd4d79
                    to: UNKNOWN-123456
                    supported: false
                    error: unknown tokenOut
components:
  schemas:
    PairConfigResponse:
      type: object
      description: Pair support and token metadata.
      properties:
        from:
          type: string
          description: Input token identifier.
        to:
          type: string
          description: Output token identifier.
        supported:
          type: boolean
          description: '`true` if the pair can be traded; `false` otherwise.'
        decimalsIn:
          type: integer
          description: >-
            Decimal precision of the input token. Present when `supported:
            true`.
        decimalsOut:
          type: integer
          description: >-
            Decimal precision of the output token. Present when `supported:
            true`.
        minAmountIn:
          type: string
          description: >-
            Minimum viable input amount in smallest units. Present when
            `supported: true`.
        minAmountInShort:
          type: number
          description: 'Human-readable minimum input amount. Present when `supported: true`.'
        error:
          type: string
          description: 'Error description. Present when `supported: false`.'

````