magiceden-api-parser

MagicEden API Parser


License
GPL-2.0
Install
pip install magiceden-api-parser==0.2

Documentation

MagicEden API parser based on undetected-chromedriver.

pip install magiceden-api-parser

You can parse all data regardless of Cloudflare.

from magiceden_api import MagicParser

#  setup parser
mp = MagicParser(profile='example', driver_headless=True)

#  get most popular collection per 5 min.
collection = mp.get_popular_collections(limit=1, period='5m')[0]

# symbol - its like collection name
symbol = collection['collectionSymbol']
name = collection['name']

# get all holders our most popular "collection"
holders = mp.get_holders(collection_symbol=symbol)['topHolders']

Full example

Some Methods:

  • get_floor_price()
  • get_collection()
  • get_all_collections()
  • get_popular_collections()
  • get_launchpad_collections()
  • get_most_watched_collections()
  • get_drops()
  • get_auctions()
  • get_holders()
  • get_user_info()
  • get_user_listings()
  • get_user_activity()
  • get_nfts_by_owner()
  • get_twitter_followers()
  • get_magiceden_volumes()