Practical overview
When it fits
Use it when a Python script or application needs to collect GeckoTerminal market or pool data without building the data-access calls directly into that application.
Who it is for
- Python developers building data collectors for GeckoTerminal markets.
- Analysts integrating DEX market information into Python applications.
Documented uses
- Retrieve token prices, volume and historical chart data.
- Find pools that trade a token and discover trending or newly created pools.
- Fetch trade records for a specified pool.
- Use synchronous or asynchronous calls in a Python data workflow.
Requirements & limits
The README documents installation from PyPI with `pip install geckoterminal-api` and indicates Python 3.12 or later.
- The README identifies the API as beta and subject to change.
- The package exposes both synchronous and asynchronous client interfaces.
- The repository lists an MIT license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the package and make a network-list request
Set up the library and follow the documented synchronous quickstart to request supported networks and their IDs.
Before you start
- Python 3.12 or later, as indicated by the project README.
- A Python environment with the package installed.
Steps
Install the package with the command below.
pip install geckoterminal-apiImport
GeckoTerminalAPIfromgeckoterminal_api.Create an instance with
gt = GeckoTerminalAPI().Call
gt.networks()to request supported networks and their IDs.
Expected outcome
The documented quickstart makes a synchronous request for the supported networks and their IDs.
Guide limitations
- The project describes the API as beta and subject to change.
- The README links to GeckoTerminal API documentation for further details.
Retrieve trades for a specified pool
Use the synchronous client to request and print trade timestamps, buy-or-sell kinds and USD volumes for a specified Solana pool.
Before you start
- The package installed in a Python environment.
- A network name and pool address; the README example uses
solanaand a specific pool address.
Steps
Create a synchronous client with
gt = GeckoTerminalAPI().Call
gt.network_pool_trades(network="solana", pool="69grLw4PcSypZnn3xpsozCJFT8vs8WA5817VUVnzNGTh").Iterate through the response's
dataentries and read each entry'sattributes.Print the
block_timestamp,kindandvolume_in_usdfields as shown in the README example.
Expected outcome
The example processes trade records for the specified pool, including timestamps, trade direction and USD volume.
Guide limitations
- The project labels the API beta and subject to change.
- The example concerns one specified Solana pool; it does not document the result for other pool addresses.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- dineshpinto/geckoterminal-api · Official homepage title · retained in its source language

