> ## 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 subnetwork information

> Retrieves information about a specific subnetwork.

## Cost

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


## OpenAPI

````yaml POST /v1/rpc/getSubnetwork
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/getSubnetwork:
    post:
      tags:
        - Kaspa Node RPC Proxy
      summary: Get subnetwork information
      description: Retrieves information about a specific subnetwork.
      operationId: RpcController_getSubnetwork
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RpcGetSubnetworkRequestDto'
      responses:
        '200':
          description: Subnetwork information retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RpcGetSubnetworkResponseDto'
      security:
        - x-api-key: []
components:
  schemas:
    RpcGetSubnetworkRequestDto:
      type: object
      properties:
        subnetworkId:
          type: string
          description: Subnetwork ID in hex format
          example: '0100000000000000000000000000000000000000'
      required:
        - subnetworkId
    RpcGetSubnetworkResponseDto:
      type: object
      properties:
        gasLimit:
          type: string
          description: Gas limit for the subnetwork
          example: '10000000000'
      required:
        - gasLimit
  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

````