> ## 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 Crypto network fees

> Returns a set of key-value pairs representing the current network fees of cryptocurrencies against fiat currencies.

Supply the codes of the crypto and fiat currencies you are interested in, and MoonPay will return the relevant network fees.




## OpenAPI

````yaml GET /v3/currencies/network_fees
openapi: 3.0.0
info:
  title: Ramps
  version: 1.0.0
servers:
  - url: https://api.moonpay.com
security: []
tags:
  - 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: 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:
  /v3/currencies/network_fees:
    get:
      tags:
        - On-ramp
      summary: Get Crypto network fees
      description: >
        Returns a set of key-value pairs representing the current network fees
        of cryptocurrencies against fiat currencies.


        Supply the codes of the crypto and fiat currencies you are interested
        in, and MoonPay will return the relevant network fees.
      operationId: getNetworkFees
      parameters:
        - name: query
          in: query
          style: form
          explode: true
          required: true
          schema:
            type: object
            properties:
              cryptoCurrencies:
                type: string
                example: eth,btc
                description: >-
                  The codes of the cryptocurrency codes from <a
                  href="/reference/getcurrencies">the currencies list</a>,
                  separated by commas
              fiatCurrencies:
                type: string
                example: usd,gbp
                description: >-
                  The codes of the fiat currency codes from <a
                  href="/reference/getcurrencies">the currencies list</a>,
                  separated by commas.
            required:
              - cryptoCurrencies
              - fiatCurrencies
      responses:
        '200':
          description: Successful response. Crypto network fees
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkFees'
        '400':
          description: >-
            Bad request. A required parameter is missing or invalid; check
            `message` and `errors` for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    NetworkFees:
      type: object
      example:
        BTC:
          GBP: 2.18
          USD: 2.76
        ETH:
          GBP: 5.14
          USD: 6.52
      description: >
        The network fee for cryptocurrency for the `cryptoCurrencies` list in
        fiat from the `fiatCurrencies` list.
      additionalProperties:
        type: object
        description: Crypto currency from the `cryptoCurrencies` list.
        additionalProperties:
          type: number
          description: >-
            The network fee for cryptocurrency in the `cryptoCurrencies` list,
            in fiat in the `fiatCurrencies` list.
    Error:
      type: object
      description: >-
        Standard error response. See [Errors](/api-reference/widget/errors) for
        the full code catalog.
      properties:
        moonPayErrorCode:
          type: string
          description: >-
            Stable, machine-readable error code. System codes are prefixed
            `1_SYS_` (general) or `4_SYS_` (request validation); domain codes
            are prefixed `5_`. `1_SYS_UNKNOWN` with a 4xx status indicates a
            legacy validation error. Read `message` for the cause. See
            [Errors](/api-reference/widget/errors).
          example: 4_SYS_BAD_REQUEST
        message:
          type: string
          description: >-
            Human-readable description of the error. May change over time.
            Branch on `moonPayErrorCode` and the HTTP status, not on this text.
        type:
          type: string
          description: >-
            The error class name, e.g. `BadRequestError`, `UnauthorizedError`,
            `MoonPayApiError`.
        errors:
          type: array
          description: >-
            Field-level validation details, when the error was caused by invalid
            input. Empty or absent otherwise.
          items:
            type: object
            properties:
              property:
                type: string
                description: The invalid field.
              message:
                type: string
                description: Why the field is invalid.
              children:
                type: array
                items:
                  type: object
                description: Nested validation errors for object fields.
      required:
        - moonPayErrorCode
        - message
        - type
  securitySchemes:
    apiKey:
      type: apiKey
      name: apiKey
      in: query
      description: >-
        Your publishable API key, passed as the `apiKey` query parameter.
        Publishable keys are prefixed with `pk_test_` (sandbox) or `pk_live_`
        (production) and are safe to use in client-side code. Find your keys on
        the [API keys page](https://dashboard.moonpay.com/developers/api-keys)
        of the dashboard. See
        [Authentication](/api-reference/widget/using-the-api#authentication).

````