Skip to main content
Every request needs your API key as a Bearer token, except the public catalog endpoints (GET /v1/data/all and GET /v1/data/{group}/{slug}).
Get your key at console.mindcase.co. Keys start with mk_live_. Runs are charged to the wallet of the key’s owner, and all keys on an account share one wallet and one set of rate limits.
Keep your key secret. Don’t commit it to version control or ship it in client-side code. Read it from an environment variable such as MINDCASE_API_KEY.

Key errors

Handle all four 401 key codes, not just invalid_api_key. After 20 failed key attempts in a minute from one address, requests return 429 rate_limited until the minute passes.