---
title: "Get Subnet details by ID"
method: GET
path: "/v1/networks/{network}/subnets/{subnetId}"
tags: ["Primary Network"]
---

# Get Subnet details by ID

`GET /v1/networks/{network}/subnets/{subnetId}`

Get details of the Subnet registered on the network.

## Path parameters

- `network` 'mainnet' | 'fuji' | 'testnet', required
- `subnetId` string, required

## Response `200`

Successful response

- Subnet
  - `createBlockTimestamp` number, required
  - `createBlockIndex` string, required
  - `subnetId` string, required
  - `ownerAddresses` string[], required — This field is deprecated. Use subnetOwnershipInfo instead.
  - `threshold` number, required — This field is deprecated. Use subnetOwnershipInfo instead.
  - `locktime` number, required — This field is deprecated. Use subnetOwnershipInfo instead.
  - `subnetOwnershipInfo` SubnetOwnershipInfo, required
    - `locktime` number, required — Locktime in seconds after which Subnet owners can control this Subnet.
    - `threshold` number, required — Minimum number of signatures required to sign the Subnet update transactions.
    - `addresses` string[], required — Addresses that are eligible to sign the Subnet update transactions.
  - `isL1` boolean, required — Whether the subnet is an L1 or not.
  - `l1ConversionTransactionHash` string — Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
  - `l1ValidatorManagerDetails` L1ValidatorManagerDetails
    - `blockchainId` string, required
    - `contractAddress` string, required
  - `blockchains` Blockchain[], required
    - `createBlockTimestamp` number, required
    - `createBlockNumber` string, required
    - `blockchainId` string, required
    - `vmId` string, required
    - `subnetId` string, required
    - `blockchainName` string, required
    - `evmChainId` number — EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
    - `genesisData` union — The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
      - EvmGenesisDto
        - `airdropAmount` number, nullable — Airdrop amount
        - `airdropHash` string — Airdrop hash
        - `alloc` object — Allocation of accounts and balances
        - `baseFeePerGas` number, nullable — Base fee per gas
        - `blobGasUsed` string, nullable — Blob gas used
        - `coinbase` string — Coinbase address
        - `config` EvmGenesisConfigDto
          - `berlinBlock` number — Berlin block number
          - `byzantiumBlock` number — Byzantium block number
          - `chainId` number — Chain ID
          - `constantinopleBlock` number — Constantinople block number
          - `eip150Block` number — EIP-150 block number
          - `eip150Hash` string — EIP-150 hash
          - `eip155Block` number — EIP-155 block number
          - `eip158Block` number — EIP-158 block number
          - `feeConfig` EvmGenesisFeeConfigDto
            - `baseFeeChangeDenominator` number — Base fee change denominator
            - `blockGasCostStep` number — Block gas cost step
            - `gasLimit` number — Gas limit
            - `maxBlockGasCost` number — Maximum block gas cost
            - `minBaseFee` number — Minimum base fee
            - `minBlockGasCost` number — Minimum block gas cost
            - `targetBlockRate` number — Target block rate
            - `targetGas` number — Target gas
          - `homesteadBlock` number — Homestead block number
          - `istanbulBlock` number — Istanbul block number
          - `londonBlock` number — London block number
          - `muirGlacierBlock` number — Muir Glacier block number
          - `petersburgBlock` number — Petersburg block number
          - `subnetEVMTimestamp` number — Subnet EVM timestamp
          - `allowFeeRecipients` boolean — Allow fee recipients
          - `warpConfig` EvmGenesisWarpConfigDto
            - `blockTimestamp` number — Block timestamp
            - `quorumNumerator` number — Quorum numerator
            - `requirePrimaryNetworkSigners` boolean — Require primary network signers
          - `txAllowListConfig` EvmGenesisAllowListConfigDto
            - `blockTimestamp` number — Block timestamp
            - `adminAddresses` string[] — Admin addresses
            - `managerAddresses` string[] — Manager addresses
            - `enabledAddresses` string[] — Enabled addresses
          - `contractDeployerAllowListConfig` EvmGenesisAllowListConfigDto
            - `blockTimestamp` number — Block timestamp
            - `adminAddresses` string[] — Admin addresses
            - `managerAddresses` string[] — Manager addresses
            - `enabledAddresses` string[] — Enabled addresses
          - `contractNativeMinterConfig` EvmGenesisAllowListConfigDto
            - `blockTimestamp` number — Block timestamp
            - `adminAddresses` string[] — Admin addresses
            - `managerAddresses` string[] — Manager addresses
            - `enabledAddresses` string[] — Enabled addresses
          - `feeManagerConfig` EvmGenesisAllowListConfigDto
            - `blockTimestamp` number — Block timestamp
            - `adminAddresses` string[] — Admin addresses
            - `managerAddresses` string[] — Manager addresses
            - `enabledAddresses` string[] — Enabled addresses
          - `rewardManagerConfig` EvmGenesisAllowListConfigDto
            - `blockTimestamp` number — Block timestamp
            - `adminAddresses` string[] — Admin addresses
            - `managerAddresses` string[] — Manager addresses
            - `enabledAddresses` string[] — Enabled addresses
        - `difficulty` string — Difficulty
        - `excessBlobGas` string, nullable — Excess blob gas
        - `extraData` string — Extra data
        - `gasLimit` string — Gas limit
        - `gasUsed` string — Gas used
        - `mixHash` string — Mix hash
        - `nonce` string — Nonce
        - `number` string — Block number
        - `parentHash` string — Parent hash
        - `timestamp` string — Block timestamp
      - string

## Other responses

- `400` — Bad requests generally mean the client has passed invalid or malformed parameters. Error messages in the response could help in evaluating the error.
- `401` — When a client attempts to access resources that require authorization credentials but the client lacks proper authentication in the request, the server responds with 401.
- `403` — When a client attempts to access resources with valid credentials but doesn't have the privilege to perform that action, the server responds with 403.
- `404` — The error is mostly returned when the client requests with either mistyped URL, or the passed resource is moved or deleted, or the resource doesn't exist.
- `429` — This error is returned when the client has sent too many, and has hit the rate limit.
- `500` — The error is a generic server side error that is returned for any uncaught and unexpected issues on the server side. This should be very rare, and you may reach out to us if the problem persists for a longer duration.
- `502` — This is an internal error indicating invalid response received by the client-facing proxy or gateway from the upstream server.
- `503` — The error is returned for certain routes on a particular Subnet. This indicates an internal problem with our Subnet node, and may not necessarily mean the Subnet is down or affected.

---

[API](https://skmtc.net/avax/apis/data-api.md) · [All operations](https://skmtc.net/avax/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avax/data-api/versions/745a94fa47f5/schema)
