Environments
JustKalm provides separate test and live environments. Build and test with confidence before going to production.
Test Environment
Use the test environment for development and integration testing. Test API keys start with jk_test_.
No charges for test API calls
Consistent, predictable responses for testing
1000 req/min for rapid testing
Test webhook payloads without production data
Test Mode Features
Use these URLs for predictable test responses:
- • test://success → 200 with valuation
- • test://not-found → 404 error
- • test://rate-limit → 429 error
- • test://timeout → Simulated timeout
Set a custom timestamp header to test time-dependent features like deprecation warnings and expiring caches.
X-JustKalm-Test-Clock: 2024-12-31T23:59:59ZEnvironment Variables
# Development / Test Environment JUSTKALM_API_KEY=jk_test_abc123xyz... JUSTKALM_WEBHOOK_SECRET=whsec_test_xyz... JUSTKALM_API_URL=https://api.justkalm.com JUSTKALM_ENVIRONMENT=test
# Production / Live Environment JUSTKALM_API_KEY=jk_live_abc123xyz... JUSTKALM_WEBHOOK_SECRET=whsec_live_xyz... JUSTKALM_API_URL=https://api.justkalm.com JUSTKALM_ENVIRONMENT=live
Environment Comparison
| Feature | Test | Live |
|---|---|---|
| API Key Prefix | jk_test_ | jk_live_ |
| Rate Limit | 1000/min | Per plan |
| Data | Mock/Sandbox | Real-time |
| Billing | Free | Metered |
| Webhooks | Sandbox | Production |
| SLA | Best effort | 99.9% |
| Audit Logs | 7 days | 90 days |
| IP Restrictions | No | Enterprise |
Switching Environments
Using SDKs
Our SDKs automatically detect the environment from your API key prefix. Just swap the key value.
Environment Variables
Store keys in environment-specific files (.env.local, .env.production) for automatic switching.
CI/CD Pipelines
Configure secrets in your CI/CD platform (GitHub Actions, Vercel, etc.) for each deployment environment.
Start Building Today
Test mode is free with unlimited requests. Get your test API key and start building.