Unified Production Environment
The ROOTKey API operates through a single production endpoint that supports both live and sandbox (test) operations. This approach allows users to test and validate integrations without switching URLs or risking unintended costs.- Base URL:
https://api.rootkey.ai - Network: Polygon (Mainnet or Testnet, depending on mode)
- Configuration: Controlled directly from the ROOTKey platform
- The mode selected in the platform (Test Mode or Live Mode)
- The API key associated with that mode
Sandbox (Test Mode)
Sandbox mode allows users to safely test their integrations using the same API endpoint, without generating real costs or affecting live data.How it works
- Enable Test Mode in the ROOTKey platform
- Generate a sandbox API key
- All requests made with this key are automatically routed to the sandbox environment
- Network: Polygon Testnet (Amoy)
- Data: Test-only, non-persistent
- Costs: None
Key Characteristics
- Identical API behaviour to production
- No financial impact during testing
- Ideal for development, QA, and pre-production validation
- No URL changes required
Live Mode (Production Usage)
Once testing is complete, moving to live usage is straightforward and requires no code changes.Steps to go live
- Disable Test Mode in the platform
- Generate a new live API key
- Start sending requests using the same base URL
- Network: Polygon Mainnet
- Data: Real, persistent
- Costs: Applied according to the active pricing plan
Key Characteristics
- High availability and reliability
- Optimised for real-world workloads
- Suitable for end-users and production integrations
Sandbox vs Live Mode Overview
| Feature | Sandbox (Test Mode) | Live Mode (Production) |
|---|---|---|
| Base URL | https://api.rootkey.ai | https://api.rootkey.ai |
| API Key | Sandbox key | Live key |
| Network | Polygon Testnet (Amoy) | Polygon Mainnet |
| Data | Test data | Real data |
| Costs | None | Applied |
| Purpose | Testing and validation | Live operation |

