Fetch subscriptions, orders, and license keys via the Lemon Squeezy API
domain: lemonsqueezy.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Create an API key in Lemon Squeezy Settings > API — a key is account-level and grants access to every store on the account, not scoped to a single store
Send Accept: application/vnd.api+json and Content-Type: application/vnd.api+json on all requests (JSON:API format)
Call GET /v1/subscriptions, /v1/orders, or /v1/customers, using ?filter[store_id]=... to narrow results to one store and ?include= for related resources
For license keys, call GET/PATCH /v1/license-keys, or use the separate License API (POST /v1/licenses/validate, /activate, /deactivate) which uses form-encoded params and no Bearer key
Paginate with page[number] and page[size] (max 100), reading links.next and meta.page for more results
Known gotchas
The main REST API (300 req/min) and the License API (60 req/min) are rate-limited separately — don't assume one limit covers both
API keys are account-wide, not per-store — store scoping happens via a filter param on each request rather than key permissions, so a leaked key exposes every store on the account
license-key status is an enum of inactive/active/expired/disabled — map all four states, not just active/inactive
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?