Skip to main content

pump.fun API Wrapper for Python

Pump Fun API Wrapper is a Python package designed to facilitate interaction with the pump.fun frontend API. It provides a comprehensive set of functions for retrieving transaction data, managing user and coin information.

Features

  • Retrieve the latest trades and transaction history.
  • Query information about available coins.
  • User management and information retrieval.

TO DO: Get to work the post, put, delete methods

Installation

You can install this package via pip using:

pip install pumpfun

Usage

Importing the Package

import pumpfun

Example Usage

from pumpfun import get_all_trades, get_sol_price

# Retrieve the latest trades for a given mint
trades = get_all_trades(mint="7vJY...pump", limit=10)
print(trades)

# Get the current SOL price
sol_price = get_sol_price()
print(f"Current SOL Price: {sol_price}")

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Contact: gianlopez.cv@gmail.com

Metadata

Release files for pumpfun 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pumpfun 0.3
File Size Uploaded
pumpfun-0.3.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pumpfun 0.3
File Interpreter ABI Platform
pumpfun-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / pumpfun-0.3.tar.gz

Download URL pumpfun-0.3.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
89b9f44df34e3b92b11cfb1b3d385504b83a8fafc935670947320c6a9846dd7b
BLAKE2b-256 checksum
How to use checksums
b3e32545a26b391d8a5dc022af0faf5046058583edce28ced20e8dd524c13384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / pumpfun-0.3-py3-none-any.whl

Download URL pumpfun-0.3-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c20f954c6e6de53019767f6339974036bf245b05c658c5a776d6001404408c7e
BLAKE2b-256 checksum
How to use checksums
cc910cac673ff018958286d244d33d0551b1b9329a5416adc4a6207f81bfc779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page