---
title: "POST /status"
method: POST
path: "/status"
---

# POST /status

`POST /status`

Requests the status of the connected RPC node. This includes information about sync status, nearcore node version, protocol version, the current set of validators, etc.

## Request body

- JsonRpcRequestForStatus
  - `id` string — JSON-RPC request id. Auto-populated; can be any string.
  - `jsonrpc` '2.0' — JSON-RPC protocol version. Always `2.0`.
  - `method` 'status', required
  - `params` unknown, required

## Response `200`

- union
  - object
    - `result` RpcStatusResponse, required
      - `chain_id` string, required — Unique chain id.
      - `detailed_debug_status` union — Information about last blocks, network, epoch and chain & chunk info.
        - DetailedDebugStatus
          - `block_production_delay_millis` integer, required
          - `catchup_status` CatchupStatusView[], required
            - `blocks_to_catchup` BlockStatusView[], required
              - …
            - `shard_sync_status` object, required — Object keys must match: `^\d+$`.
            - `sync_block_hash` string, required
            - `sync_block_height` integer, required
          - `current_head_status` BlockStatusView, required — Height and hash of a block
            - `hash` string, required
            - `height` integer, required
          - `current_header_head_status` BlockStatusView, required — Height and hash of a block
            - `hash` string, required
            - `height` integer, required
          - `network_info` NetworkInfoView, required
            - `connected_peers` PeerInfoView[], required
              - …
            - `known_producers` KnownProducerView[], required
              - …
            - `num_connected_peers` integer, required
            - `peer_max_count` integer, required
            - `tier1_accounts_data` AccountDataView[], required
              - …
            - `tier1_accounts_keys` PublicKey[], required
            - `tier1_connections` PeerInfoView[], required
              - …
          - `sync_status` string, required
        - unknown
      - `genesis_hash` string, required
      - `latest_protocol_version` integer, required — Latest protocol version that this client supports.
      - `node_key` union — Deprecated; same as `validator_public_key` which you should use instead.
        - string
        - unknown
      - `node_public_key` string, required
      - `protocol_version` integer, required — Currently active protocol version.
      - `rpc_addr` string, nullable — Address for RPC server. None if node doesn't have RPC endpoint enabled.
      - `sync_info` StatusSyncInfo, required
        - `earliest_block_hash` union
          - string
          - unknown
        - `earliest_block_height` integer, nullable
        - `earliest_block_time` string, nullable
        - `epoch_id` union
          - string
          - unknown
        - `epoch_start_height` integer, nullable
        - `latest_block_hash` string, required
        - `latest_block_height` integer, required
        - `latest_block_time` string, required
        - `latest_state_root` string, required
        - `syncing` boolean, required
      - `uptime_sec` integer, required — Uptime of the node.
      - `validator_account_id` union — Validator id of the node
        - string — NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
        - unknown
      - `validator_public_key` union — Public key of the validator.
        - string
        - unknown
      - `validators` ValidatorInfo[], required — Current epoch validators.
        - `account_id` string, required — NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
      - `version` Version, required — Data structure for semver version and github tag or commit.
        - `build` string, required
        - `commit` string, required
        - `rustc_version` string
        - `version` string, required
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `name` 'NODE_IS_SYNCING', required
          - object
            - `info` object, required
              - …
            - `name` 'NO_NEW_BLOCKS', required
          - object
            - `info` object, required
              - …
            - `name` 'EPOCH_OUT_OF_BOUNDS', required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

---

[API](https://skmtc.net/near/apis/near-protocol-json-rpc-api.md) · [All operations](https://skmtc.net/near/apis/near-protocol-json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/near/near-protocol-json-rpc-api/versions/cb6bdde6167d/schema)
