📦 TON API
Python SDK for TON API
Access TON blockchain data via REST API, real-time streaming, and webhooks.
API key optional for REST, required for streaming and webhooks — obtain at tonconsole.com.
For creating wallets, transferring TON, jettons, etc., use tonutils.
Features
- REST API — accounts, NFTs, jettons, DNS, and more
- Streaming — real-time events via SSE and WebSocket
- Webhooks — push notifications with event dispatcher
Support this project — TON:
donate.ness.ton
UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness
Installation
pip install pytonapi
/plugin marketplace add nessshon/claude-plugins
/plugin install tonapi@nessshon-plugins
Documentation
Documentation — API reference, streaming, and webhooks guides.
llms.txt — auto-generated machine-readable docs for AI tools.
Examples
REST API
Emulation & Sending
Transfers (requires tonutils)
Streaming (SSE & WebSocket)
Webhooks
License
This repository is distributed under the MIT License.
Metadata
Release files for pytonapi 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytonapi-2.3.0.tar.gz | 57.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytonapi-2.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 137.7 kB
Release files / pytonapi-2.3.0.tar.gz
| Download URL | pytonapi-2.3.0.tar.gz |
|---|---|
| Size | 57.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c9c3fcdae034d6f0144f0f4ca292207b11388105b44e932a238f0ef3acc3931
|
|
BLAKE2b-256 checksum How to use checksums |
2c43144f149c4e4b305aadc69677d2994d8072108a29a040b1d5f355490cfd98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pytonapi-2.3.0-py3-none-any.whl
| Download URL | pytonapi-2.3.0-py3-none-any.whl |
|---|---|
| Size | 80.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3240f2697c679860664ed6124ff374e668f3f910509fea32f6c04dc7e19f658a
|
|
BLAKE2b-256 checksum How to use checksums |
e9f568eaf64a427286a175806e6d66e4e8b164a03a17b03ee8854ce1f4d3105e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|