Skip to main content

API wrapper for rapid-api/pumpfun-scraper-api

Project description

Pumpfun API Wrapper

Python wrapper for pumpfun-scraper-api

PyPI Downloads

Installation

pip install pypumpfun

API Key Required

⚠️ Important: This module requires an API key to perform requests. Get your API key from RapidAPI - Pumpfun Scraper API

Quick Start

from pypumpfun import Pumpfun

# Initialize with your API key
api = Pumpfun("YOUR_API_KEY")

# Search for tokens
results = api.search_tokens(term="your_search_term")
print(results)

# Get recommended tokens
tokens = api.tokens_for_you(limit=50, offset=0, include_nsfw=False)
print(tokens)

Available Methods

  • ping(): Check API health
  • search_tokens(term): Search tokens by term
  • tokens_for_you(limit=50, offset=0, include_nsfw=False): Get recommended tokens
  • similar_projects_by_mint(address, limit=50): Find similar projects
  • get_featured_coins(): Get featured coins
  • get_about_graduates(): Get graduates information
  • get_runner_tokens(): Get runner tokens
  • get_tokens_by_meta(meta, include_nsfw=False): Search by metadata
  • get_token_metadata_trades(address): Get token metadata and trades
  • get_pumpfun_replies(address, limit=1000, offset=0): Get replies
  • get_candlesticks(address, timeframe=5, limit=1000, offset=0): Get candlestick data
  • get_king_hell(include_nsfw=False): Get King Hell information
  • global_params(): Get global parameters
  • get_latest_token(): Get latest token information

Error Handling

The module includes built-in error handling and will return appropriate error messages if:

  • API key is invalid
  • API request fails
  • Response parsing fails

Rate Limits

Please be aware of the rate limits associated with your API key tier on RapidAPI.

Support

For API access and pricing, visit RapidAPI - Pumpfun Scraper API

For package issues, contact: contact@tomris.dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypumpfun-1.0.0.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypumpfun-1.0.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file pypumpfun-1.0.0.tar.gz.

File metadata

  • Download URL: pypumpfun-1.0.0.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for pypumpfun-1.0.0.tar.gz
Algorithm Hash digest
SHA256 206d010e714dd4bb42c65d66871276ac896ad63e749054aefea4a8603666e5b3
MD5 fca5e0b6ff3daaa659ee17f3b03bb564
BLAKE2b-256 ffa0e187a4a7296452fad517be4a4927e29ee1466c4dfcecbb99c36cc543a0c1

See more details on using hashes here.

File details

Details for the file pypumpfun-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pypumpfun-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for pypumpfun-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fec506beef6cfde0c6beaeb748c550761b1318289ec24b41c6f59a325e59e41
MD5 998004c20f5a634b58cd5d6f005bac43
BLAKE2b-256 1620bbc0fc9988259d465a280d35384b6a4357fbfc79126fb96da023679f6de3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page