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 are set by your plan and match the plans on the pricing page:

PlanAPI access and rate limit
Pay-As-You-GoAll endpoints, 10 requests/min, billed per request
LightAll endpoints, 10 requests/min, 2,000/day
MediumAll endpoints, 100 requests/min, 20,000/day
HeavyAll endpoints, 500 requests/min, 100,000/day
EnterpriseCustom

Every plan, including Pay-As-You-Go, can call all 37 endpoints; plans set the daily and per-minute limits. Enterprise limits are custom — talk to sales.

LunarCrush