Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TOP Group (The Open Platform) Lite Server API

The Lite Server API from TOP Group (The Open Platform) — 16 operation(s) for lite server.

TOP Group (The Open Platform) Lite Server API is one of 23 APIs that TOP Group (The Open Platform) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Lite Server. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 16 operations across 16 paths, and defines 3 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against 3 base URLs: https://tonapi.io, https://testnet.tonapi.io, http://localhost:8081.

16 operations 16 paths 3 schemas 15 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://tonapi.io
Contact
Resource Areas
1

Paths & Operations 16

Across 16 paths, the API surfaces 16 operations — 15 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Lite Server 16
GET
/v2/liteserver/get_masterchain_info
Get raw masterchain info
getRawMasterchainInfo → 200default
GET
/v2/liteserver/get_masterchain_info_ext
Get raw masterchain info ext
getRawMasterchainInfoExt 1 param → 200default
GET
/v2/liteserver/get_time
Get raw time
getRawTime → 200default
GET
/v2/liteserver/get_block/{block_id}
Get raw blockchain block
getRawBlockchainBlock 1 param → 200default
GET
/v2/liteserver/get_state/{block_id}
Get raw blockchain block state
getRawBlockchainBlockState 1 param → 200default
GET
/v2/liteserver/get_block_header/{block_id}
Get raw blockchain block header
getRawBlockchainBlockHeader 2 params → 200default
POST
/v2/liteserver/send_message
Send raw message to blockchain
sendRawMessage body → 200default
GET
/v2/liteserver/get_account_state/{account_id}
Get raw account state
getRawAccountState 2 params → 200default
GET
/v2/liteserver/get_shard_info/{block_id}
Get raw shard info
getRawShardInfo 4 params → 200default
GET
/v2/liteserver/get_all_shards_info/{block_id}
Get all raw shards info
getAllRawShardsInfo 1 param → 200default
GET
/v2/liteserver/get_transactions/{account_id}
Get raw transactions
getRawTransactions 4 params → 200default
GET
/v2/liteserver/list_block_transactions/{block_id}
Get raw list block transactions
getRawListBlockTransactions 5 params → 200default
GET
/v2/liteserver/get_block_proof
Get raw block proof
getRawBlockProof 3 params → 200default
GET
/v2/liteserver/get_config_all/{block_id}
Get raw config
getRawConfig 2 params → 200default
GET
/v2/liteserver/get_shard_block_proof/{block_id}
Get raw shard block proof
getRawShardBlockProof 1 param → 200default
GET
/v2/liteserver/get_out_msg_queue_sizes
Get out msg queue sizes
getOutMsgQueueSizes → 200default

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are BlockRaw (5 properties), InitStateRaw (3 properties), InsufficientFunds (2 properties). Each schema is shown below with its type and property counts.

BlockRaw
object
5 properties 5 required
InsufficientFunds
object
Present on an error when a request failed because the source wallet does not hold enough TON to cover the required gas (errorcode 50000).
2 properties 2 required
InitStateRaw
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

top-group-lite-server-api-openapi.yml Raw ↑

Other APIs TOP Group (The Open Platform) publishes across the network.

TOP Group (The Open Platform) Accounts API
TOP Group (The Open Platform) Blockchain API
TOP Group (The Open Platform) Connect API
TOP Group (The Open Platform) DNS API
TOP Group (The Open Platform) Emulation API
TOP Group (The Open Platform) Events API
TOP Group (The Open Platform) ExtraCurrency API
TOP Group (The Open Platform) Gasless API
TOP Group (The Open Platform) Jettons API
TOP Group (The Open Platform) Migration API
TOP Group (The Open Platform) Multisig API
TOP Group (The Open Platform) NFT API