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

# Get fee terms

> The live fee terms of this network.



## OpenAPI

````yaml /api/openapi.yaml get /api/fees
openapi: 3.1.0
info:
  title: Anafi API
  version: 0.1.3
  description: >
    The public HTTP routes of one Anafi network. Each network has its own host.

    Most partners call these routes through `@anafi-cc/sdk`, which also builds
    and checks

    the signed payloads. The routes below need no API key.
servers:
  - url: https://api.polygon.ana.fi
    description: Polygon
  - url: https://api.xlayer.ana.fi
    description: X Layer
  - url: https://api.polygon-amoy.ana.fi
    description: Polygon Amoy (testnet)
security: []
tags:
  - name: Accounts
  - name: Rules
  - name: Activity
  - name: Fees
paths:
  /api/fees:
    get:
      tags:
        - Fees
      summary: Get fee terms
      description: The live fee terms of this network.
      operationId: getFeeTerms
      responses:
        '200':
          description: The fee terms.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeeTerms'
components:
  schemas:
    FeeTerms:
      type: object
      properties:
        feesOn:
          type: boolean
        treasury:
          $ref: '#/components/schemas/Address'
        bps:
          type: integer
          example: 20
          description: The fee of one payment in basis points.
        floorUsdCents:
          type: integer
          example: 20
        floors:
          type: array
          description: The least fee of one payment in each token.
          items:
            type: object
            properties:
              token:
                type: string
                example: USDC
              tokenAddress:
                $ref: '#/components/schemas/Address'
                description: The token contract, or the zero address for the native coin.
              amountRaw:
                type: string
                example: '200000'
                description: A decimal integer in the raw units of the token.
        feeTokens:
          type: array
          items:
            type: string
          example:
            - USDC
            - USDT0
        observedAt:
          type: integer
          description: Unix seconds of the price behind the floors.
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed'

````

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