Baue mit LunarCrush: API, MCP und SDKs

The LunarCrush CLI queries the same API from your terminal or scripts. It installs on macOS (Apple Silicon and Intel) and Linux x64 with a single command, with a manual binary download for Windows. CLI access is included on every paid plan, within your API limits.

Install and run

# Install (macOS and Linux):
curl -fsSL https://lunarcrush.ai/install.sh | bash

# Authenticate (opens a browser), or pass a key directly:
lunarcrush login
lunarcrush login --api-key <API_KEY>

# Query the API from your terminal:
lunarcrush topic bitcoin
lunarcrush categories
lunarcrush creators bitcoin --limit 10 --format json

Commands cover discovery (categories, category, search), topics, keywords, creators, and posts, plus a raw lunarcrush /<any/path> passthrough. Flags include --format, --interval, --sort, --limit, and --metrics.

Authentication

All requests use HTTPS and return JSON. Authenticate every call with an Authorization: Bearer <API_KEY> header. The base URL is https://lunarcrush.com/api4. The same key powers the webapp, the CLI, and the MCP server. You can hold up to five active keys at once; generate, label, rotate, and revoke them on the API Keys page. Keep keys secret — if one leaks, delete it and generate a new one.

Rate limits and plan gating

Every request counts against your plan's per-minute and daily quota. Limits and endpoint access are set by your subscription tier and match the plans on the pricing page:

PlanAPI access and rate limit
HobbyMarket data endpoints, 4 requests/min, 100 per day
IndividualLimited endpoints, 10 requests/min, 2,000/day
BuilderAll endpoints, 100 requests/min, 20,000/day
ScaleAll endpoints, 500 requests/min, 100,000/day
EnterpriseCustom

The free Hobby tier is limited to market-data endpoints; social, creator, and AI endpoints unlock on paid plans. Enterprise limits are custom — talk to sales.