Vk.Tech API

The Vk.Tech API enables secure access to a private vault system, allowing you to store, manage, and retrieve files, execute commands remotely, and utilize shortcut keys to quickly download tools.

Quick Start

  1. Obtain an API key from vaidik.co. Our API is open-core, some being public and some being private. You can gain access by contacting us by visiting vaidik.co.
  2. Make sure you have curl or an API client like Postman installed.
  3. Use the Authorization header in your requests:
Authorization: Bearer YOUR_API_KEY

Example ping request:

curl https://api.vaidik.co/ping

Authenticated ping:

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.vaidik.co/vault/ping

Authentication

Include the following header in all authenticated requests:

Authorization: Bearer YOUR_API_KEY

Replace YOUR_API_KEY with your actual key.

Ping

GET /ping

Basic unauthenticated endpoint to check if the API is up.

GET /vault/ping

Authenticated version that returns your IP and vault status.

Vault Name

GET /vault/<name>

Greets the user using the provided name.

Example

GET /vault/Vaidik

List Vault Files

GET /vault/list

Returns a list of all files in the vault, including nested directories.

Response

{
  "files": [
    "Windows/Windows Activation Keys.pdf",
    "hrax/chrome-passwords.exe"
  ]
}

Download File

GET /vault/obtain/<folder>/<filename>

Downloads a specific file.

GET /vault/obtain

Downloads a default sample file.

Hrax Shortcuts

GET /vault/obtain/hrax/<key>

Download tools using short keys. Valid keys:

System Command (VK Laptop)

GET /vault/system/vk.laptop/!<command>

Run a shell command remotely. Use ! prefix. Use with caution.

Example

curl --ssl-no-revoke -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.vaidik.co/vault/system/vk.laptop/!ipconfig"

Common Errors