Kaalka-API
Kaalka API is a modern, time-based encryption and decryption RESTful service built using FastAPI, powered by the Kaalka encryption library. This API enables developers and businesses to secure messages using timestamps with simple HTTP requests.
Kaalka-API endpoints
| Method | Endpoint | Description |
|---|---|---|
| ping | ||
| GET |
ping /ping |
Health check endpoint to verify API is running |
| encrypt | ||
| POST |
encrypt /encrypt |
Encrypt text or file. For text, returns JSON cipher. For files, returns encrypted .kaalka file. |
| decrypt | ||
| POST |
decrypt /decrypt |
Decrypt text or file. For text, returns JSON message. For files, returns decrypted original file. |
| Other endpoints | ||
| GET |
ping_ping_get /ping |
|
| POST |
encryptMessage /encrypt |
Encrypts the provided message using an optional timestamp (HH:MM:SS). Uses system time if timestamp is omitted. |
| POST |
decryptMessage /decrypt |
Decrypts the provided encrypted message using the specified timestamp (HH:MM:SS). |
| GET |
ping /ping |
Health check endpoint – returns a simple message if the API is running. |
| POST |
decrypt_endpoint_decrypt_post /decrypt |
|
| POST |
encrypt_endpoint_encrypt_post /encrypt |
|
Kaalka-API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5 / month | — |
|
| ULTRA | $10 / month | — |
|
| MEGA | $15 / month | — |
|