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

# Get current network

> Retrieves the current network identifier.

## Cost

This endpoint costs **0.1 RU** (Request Units) per call.


## OpenAPI

````yaml GET /v1/rpc/getCurrentNetwork
openapi: 3.0.0
info:
  title: Kaspa Developer Platform (KDP) API
  description: >-
    A high-performance REST API providing real-time and historical data from the
    Kaspa blockchain
  version: '1.0'
  contact: {}
servers:
  - url: https://api.kas.fyi
    description: Mainnet API
security: []
tags:
  - name: Address
    description: Operations related to Kaspa addresses
  - name: Block
    description: Operations related to Kaspa blocks
  - name: Transaction
    description: Operations related to Kaspa transactions
  - name: Token
    description: Operations related to KRC20 tokens
  - name: Kaspa Node RPC Proxy
    description: Direct proxy to Kaspa node RPC methods
paths:
  /v1/rpc/getCurrentNetwork:
    get:
      tags:
        - Kaspa Node RPC Proxy
      summary: Get current network
      description: Retrieves the current network identifier.
      operationId: RpcController_getCurrentNetwork
      parameters: []
      responses:
        '200':
          description: Current network retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RpcGetCurrentNetworkResponseDto'
      security:
        - x-api-key: []
components:
  schemas:
    RpcGetCurrentNetworkResponseDto:
      type: object
      properties:
        network:
          type: string
          description: Current network identifier
          example: mainnet
      required:
        - network
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key required for authentication. Get your API key at
        https://developer.kas.fyi

````