Quick answer
LunarCrush aggregates social posts from X, Reddit, YouTube, TikTok and news into metrics such as social volume, sentiment, Galaxy Score and AltRank for coins and stocks. API v4 uses a bearer key and is included with paid subscriptions.
LunarCrush API at a glance
- Pricing
- API on paid subscriptions
- Availability
- Worldwide
- Paper trading
- Not applicable (data only)
- Integration type
- REST + API key
- In AlgoGP
- Design and backtest in AlgoGP, connect the exported code
- Auth
- Bearer API key
- Metrics
- Galaxy Score, AltRank, social volume, sentiment
Build a LunarCrush strategy with AlgoGP
AlgoGP does not connect to LunarCrush natively yet. LunarCrush uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.
- 1
Design and backtest in AlgoGP
Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.
- 2
Export the Python project
Every project exports
strategy.py,market_data.py,brokers.pyandlive.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format. - 3
Plug in LunarCrush
Implement the four adapter methods (
account,positions,submit_market_orderand a candle fetcher) with LunarCrush’s SDK, or keep a built-in platform for paper trading and add LunarCrush when you go live.
Built-in data sources for the same markets: Alpaca, Binance, Coinbase Exchange, Yahoo Finance.
LunarCrush API: frequently asked questions
Does LunarCrush cover stocks?
Yes, social metrics are available for stocks as well as crypto.
Design and backtest your LunarCrush strategy first
AlgoGP turns an idea into Python and tests it on years of history before you connect it to LunarCrush. The exported code keeps the broker behind four small adapter methods.
- AI copilot writes and revises the rules
- Backtests with realistic costs
- Exported Python ready to wire to LunarCrush
Free plan, no card required.
LunarCrush alternatives
- Santiment API GuideCrypto social, on-chain and development-activity metrics through the SanAPI GraphQL endpoint and the sanpy Python client.
- X (Twitter) API GuideRecent posts from X for social sentiment; read with an app-only bearer token.
- Reddit API GuideRead posts and comments from r/wallstreetbets and other subreddits with Reddit’s OAuth Data API, free within rate limits.
- NewsAPI API GuideSearch headlines from tens of thousands of news sources; adds breadth to the live news sentiment feed.
Independent guide. AlgoGP is not affiliated with LunarCrush. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.