jnk_ and work everywhere, the SDK, the CLI, MCP clients, and direct REST calls.
Use them for: agents, scripts, CI/CD, server-side apps, MCP clients without OAuth support.
Don’t use them for: end-user-facing OAuth flows in MCP clients that support DCR (Claude Desktop, ChatGPT, Cursor, Codex, Openclaw).
Get a key
Sign in to the dashboard
gojinko.com/dashboard/keysFirst time? You’ll be auto-onboarded via Jinko Auth, no waitlist.
Use a key
- SDK
- CLI
- MCP (any client)
- REST (curl / any HTTP client)
export JINKO_API_KEY=jnk_... and call createJinkoClient() with no args.Sandbox keys
Jinko runs two isolated environments — production and sandbox (test the full flow without touching prod data). They use separate keys: ajnk_ key is scoped to the environment it was created in and won’t authenticate against the other. Generate a sandbox key from the dashboard, then point your client at the matching base URL:
| Surface | Production | Sandbox |
|---|---|---|
| REST / SDK | https://api.gojinko.com | https://api.sandbox.gojinko.com |
| MCP | https://mcp.builders.gojinko.com/mcp | https://mcp.builders.sandbox.gojinko.com/mcp |
| CLI | default | --env sandbox |
Rotation
If a key leaks (committed to git, posted in chat, etc.):- Create a new key in the dashboard.
- Update your scripts / env / config to use the new key.
- Delete the old key in the dashboard. Anything still using it stops working immediately.
Quotas
Free tier: 1,000 requests / 30 days, per key. Quota counters are per key, splitting work across multiple keys doesn’t help. Need more? Email dev@gojinko.com with your use case and we’ll bump it.Common failures
| Symptom | Likely cause | Fix |
|---|---|---|
401 Unauthorized | Key missing, mistyped, or revoked | Verify the key in the dashboard; check for whitespace at start/end |
401 with unexpected iss claim | You’re sending a CLI OAuth token, not an API key | Use a jnk_* key instead, see OAuth for why |
429 Too Many Requests | Monthly quota exhausted | Email dev@gojinko.com or wait for the next billing window |
403 Forbidden on a specific endpoint | Endpoint requires a higher tier or a permission your account lacks | Check the dashboard for plan info; reach out if surprised |
4xx debugging, also check the response body, Jinko returns a structured error object with a code and message. See Errors & troubleshooting.