Package: lunarcrush
LunarCrushAPIUnofficial LunarCrush APIv2andv3Wrapper for Python. No API key needed for LCv2!💽 InstallationLunarCrushAPI is supported onPython 3.6+. You can install this package via pip:pip install lunarcrush🔍 Quickstart for LunarCrush API v21.Create an instance of LunarCrushfromlunarcrushimportLunarCrushlc=LunarCrush()2.Start requesting information!eth_1_year_data=lc.get_assets(symbol=['ETH'],data_points=365,interval='day')🔍 Quickstart for LunarCrush API v31.Create an instance of LunarCrushV3fromlunarcrushimportLunarCrushV3lcv3=LunarCrushV3('<YOUR API KEY>')2.Start requesting information!eth_insights=lcv3.get_coin_insights(coin='ETH',metrics='social_volume')📜 API v2 EndpointsHere is a short description for the LunarCrush API v2 Endpoints.MethodDescriptionNot authorized parametersget_assets(symbol, time_series_indicators, change, data_points)Details, overall metrics, and time series metrics for one or multiple assets.(start,end)get_market(limit, page, sort)Summary information for all supported assets (Markets page) including 5 recent time series values for some metrics.get_market_pairs(symbol, limit, page)Provides the exchange information for assets, and the other assets they are being traded for.get_global(interval, change, data_points)Overall aggregated metrics for all supported assets (top of Markets page).get_meta(type)Meta information for all supported assetsget_exchange(exchange)Meta information and market pairs for a single exchange that we trackget_exchanges(limit, order_by)Meta information for all exchanges that we trackget_coin_of_the_day()The current coin of the dayget_coin_of_the_day_info()Provides the history of the coin of the day on LunarCRUSH when it was last changed, and when each coin was last coin of the dayget_feeds(sources, page, type, limit)Social posts, news, and shared links for one or multiple coins.(start,end)get_influencer(id, screen_name, days, page)Individual influencer details including actual posts.(limit)get_influencers(symbol, days, num_days, order_by)List of social accounts that have the most influence on different assets based on number of followers, engagements and volume of posts.(limit)⚠️ Warning!Some parameters mightNOTwork properly for LunarCrush API v2, making the server to response with a5XX error.📰 API v3 EndpointsMethodEndpointget_coin_of_the_day()/coinofthedayget_coin_of_the_day_info()/coinoftheday/infoget_coins(sort, limit, desc)/coinsget_coin(coin)/coins/{coin}get_coin_change(coin, interval)/coins/{coin}/changeget_coin_historical(coin)/coins/{coin}/historicalget_coin_influencers(coin, interval, order)/coins/{coin}/influencersget_coin_insights(coin, metrics, limit)/coins/{coin}/insightsget_coin_meta(coin)/coins/{coin}/metaget_coin_time_series(coin, interval, start)/coins/{coin}/time-seriesget_coins_global()/coins/globalget_coins_global_change(interval)/coins/global/changeget_coins_global_historical()/coins/global/historicalget_coins_global_insights(metrics, limit)/coins/global/insightsget_coins_global_time_series(interval, start)/coins/global/time-seriesget_coins_influencers(interval, order)/coins/influencersget_coins_insights(metrics, limit)/coins/insightsget_coins_list()/coins/listget_exchanges(order, limit)/exchangesget_exchange(exchange)/exchanges/{exchange}get_feeds(limit, since, hours, days, sources)/feedsget_feed(feed)/feeds/{feed}get_influencer(influencer, fast, interval, sort)/influencers/{influencer}get_insight(insight, type)/insights/{insight}get_market_pairs(coin, limit, page, sort)/market-pairs/{coin}get_nft_of_the_day()/nftofthedayget_nft_of_the_day_info()/nftoftheday/infoget_nfts(sort, limit, desc)/nftsget_nft(nft)/nft/{nft}get_nft_change(nft, interval)/nfts/{nft}/changeget_nft_historical(nft)/nfts/{nft}/historicalget_nft_influencers(nft, interval, order)/nfts/{nft}/influencersget_nft_insights(nft, metrics, limit)/nfts/{nft}/insightsget_nft_time_series(nft, interval, start)/nfts/{nft}/time-seriesget_nft_tokens(nft, sort)/nfts/{nft}/tokensget_nfts_global()/nfts/globalget_nfts_global_change(interval)/nfts/global/changeget_nfts_global_historical()/nfts/global/historicalget_nfts_global_insights(metrics, limit)/nfts/global/insightsget_nfts_global_time_series(interval, start)/nfts/global/time-seriesget_nfts_influencers(interval, order)/nfts/influencersget_nfts_insights(metrics, limit)/nfts/insightsget_nfts_list()/nfts/listget_opinions(context, sort)/opinionsget_opinions_summary()/opinions/summaryget_spark(spark_id)/sparks/{spark_id}get_stats_lunrfi()/stats/lunrfiget_top_mentions(interval, type, market)/top-mentionsYou can visitLunarCrush API v3 documentationfor a more detailed description of all the endpoints and parameters.📈 Metrics descriptionMetricDescriptionGALAXY SCOREThe Galaxy Score™ indicates how healthy a coin is by looking at combined performance indicators across markets and social engagement. Display the real-time Galaxy Score™ of any coin.ALT RANKAltRank™ measures a coin's performance VS. all other coins that we actively support. In general, it is a unique measurement that combines ALT coin price performance relative to Bitcoin and other social activity indicators across the entire crypto market. A coin can have a high AltRank of 1 even in a bear market situation.INFLUENCERSView Twitter influencer activity and their impact across all coins and tokens. All influencers are measured by the same metrics, which includes followers, replies, favorites, and retweets. Metrics are evaluated across all collected posts during the timeframe selected. Actual influence will vary over time and will depend on user activity.CANDLESTICKThe incredibly powerful Candlestick widget takes any data point and compares it to price over a specified timeframe.WORD CLOUDUncover keywords used throughout collected social content for any coin. The Word Cloud is generated from all recent and available social posts from Twitter and Reddit. It looks at frequency of mentions. All data is segmented by either all coins or specific, individual coins.SOCIAL FEEDDisplay social feeds from multiple sources including Twitter, Reddit, news channels and more all at once. Gain unique insights into what's being talked about in real time. All social feeds have been cleaned with spam removed and can be organized by coin.