Practical overview
When it fits
Use Gmgnapi when a Python application needs to consume GMGN.ai WebSocket data, such as new-pool updates, or when you are evaluating a library for a data-handling workflow.
Who it is for
- Python developers building applications that consume GMGN.ai WebSocket data.
- Teams assembling live crypto-data monitoring or export workflows.
Documented uses
- Subscribe to new-pool events and handle updates with an asynchronous callback.
- Connect a Python application to the API’s documented data channels.
- Configure described filtering, export, monitoring or alert workflows using the enhanced client.
Requirements & limits
The repository is public and MIT-licensed. The README’s account setup guidance says to create a GMGN account and generate an API token.
- The documented basic example is asynchronous and subscribes to new pools.
- The README lists additional channels including token launches, pair updates, chain statistics, social information, wallet trades and limit orders.
- The enhanced client is described with filtering, export, monitoring, alerts, rate limiting and queue management.
- The README lists Python 3.8 or newer; the repository’s primary language is Python.
- The project is a client library for API data access, not a standalone trading interface.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Subscribe to new-pool updates in Python
Set up the documented asynchronous client pattern to receive new-pool events.
Before you start
- Python 3.8 or newer, as listed by the project.
- Install the package with
pip install gmgnapi. - The project’s account setup instructions describe creating a GMGN account and generating an API token.
Steps
Install the
gmgnapipackage.Create an asynchronous callback to handle pool information.
Instantiate
GmGnClientand register the callback withon_new_pool.Connect with
await client.connect()and subscribe withawait client.subscribe_new_pools().Keep the asynchronous program running to continue receiving updates.
Expected outcome
A running Python client configured to handle new-pool messages through a callback.
Guide limitations
- This guide follows the README’s example; it is not an execution test.
- The README’s example does not show how to pass or configure the API token in client code.
- The demonstrated flow covers new-pool subscription, not every listed channel or advanced feature.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- ChipaDevTeam/GmGnAPI · Official homepage title · retained in its source language

