Developer Tools & Integration

Integratecryptand.run with
your favorite tools

Automate secure sharing with desktop applications, command-line tools, and custom workflows.

Choose Your Platform

Native integration for Windows, macOS, and Linux with pre-configured setups for instant productivity.

ShareX
Professional screenshot and file sharing tool with powerful automation
Screen capture
File upload
URL shortening
Text sharing
Standard Share
Perfect for everyday sharing with balanced security
TTL:1 hour
Max reads:5 reads
Download Config
Quick Share
Fast temporary sharing for immediate use
TTL:30 minutes
Max reads:3 reads
Download Config
Secure Share
Extended protection for sensitive content
TTL:7 days
Max reads:25 reads
Download Config

VS Code Extension

Upload code directly from Visual Studio Code with our official extension. Quick access to Cryptand.run sharing features right from your editor.

Cryptand.run Extension
Seamlessly integrate Cryptand.run into your VS Code workflow
Upload selected code or entire files
Configurable expiration and read limits
Automatic syntax highlighting detection
Quick access via command palette
End-to-end encryption
Installation Guide
Quick setup in just a few steps
1

Download the extension

Click the download button to get the .vsix file

2

Install in VS Code

Use Command Palette → "Extensions: Install from VSIX"

3

Configure API key

Set your API key in the extension settings

4

Start sharing

Use Ctrl+Shift+P → "Cryptand: Upload Code"

Extension Commands
Quick reference for available commands
Cmd

Cryptand: Upload Selection

Upload currently selected text

Cmd

Cryptand: Upload File

Upload entire active file

Cmd

Cryptand: Configure Settings

Open extension settings

Cmd

Cryptand: View History

See recent uploads

Custom Scripts

Ready-to-use scripts for automation and integration with your existing workflows.

API Key Request

Get access to the cryptand.run API for ShareX integration and custom applications.

Request API Access
Contact us to get your personal API key for integration

Free for Personal Use

Perfect for ShareX integration and personal projects

Rate Limits

Reasonable limits to ensure service stability

Quick Approval

Most requests approved within 24 hours

Request API Key
What You Get
Full access to cryptand.run API features
Secure file uploads with TTL control
Automatic language detection
Read count tracking
Custom expiration times
Fast CDN-powered delivery

API Limits (Free Tier):

Requests:1000/day
File size:100KB max
TTL:30 days max
Support:Community

API Documentation

Complete API reference for building custom integrations with cryptand.run.

Authentication
Get your API key from the admin panel

Header:

X-API-Key: your_api_key_here

Or in request body:

{ "apiKey": "your_api_key_here" }
Quick Start
Upload your first text in seconds
bash
1curl -X POST https://cryptand.run/api/v1/sharex \
2  -H "Content-Type: application/json" \
3  -d '{
4    "content": "Hello, secure world!",
5    "apiKey": "your_api_key",
6    "ttl": 3600,
7    "maxReads": 5
8  }'
API Endpoint
Base URL and available endpoints

Base URL:

https://cryptand.run/api/v1/

Available Endpoints:

POST
/sharex- Upload text content
Request Parameters
Complete parameter reference for API requests
ParameterTypeRequiredDescription
contentstring
Required
Text content to encrypt and share (max 100KB)
apiKeystring
Required
Your personal API key
ttlnumber
Optional
Time to live in seconds (default: 3600, max: 30 days)
maxReadsnumber
Optional
Maximum reads (default: 5, max: 100)
languagestring
Optional
Programming language for syntax highlighting (default: "auto")
Response Format
API response structure and examples

Success Response (200 OK):

json
1{
2  "url": "https://cryptand.run/s/abc123def456",
3  "id": "abc123def456",
4  "expiresAt": "2025-06-05T12:00:00.000Z",
5  "maxReads": 5,
6  "language": "javascript"
7}

Error Response (400/401/500):

json
1{
2  "error": "API key is required for ShareX uploads",
3  "code": "MISSING_API_KEY"
4}
Language Detection
Automatic programming language detection

When you set language to "auto", cryptand.run automatically detects the programming language based on code patterns:

Supported Languages:
javascript
typescript
python
java
cpp
csharp
php
ruby
go
rust
sql
html
css
json
xml
yaml
bash
Detection Features:
  • • Keywords and syntax patterns
  • • File extensions and shebangs
  • • Code structure analysis
  • • Fallback to plaintext
Code Examples
Implementation examples in different programming languages
bash
1# Basic upload
2curl -X POST https://cryptand.run/api/v1/sharex \
3  -H "Content-Type: application/json" \
4  -d '{
5    "content": "console.log(\"Hello World\");",
6    "apiKey": "your_api_key_here",
7    "language": "javascript"
8  }'
9
10# With custom settings
11curl -X POST https://cryptand.run/api/v1/sharex \
12  -H "Content-Type: application/json" \
13  -d '{
14    "content": "def hello():\n    print(\"Hello World\")",
15    "apiKey": "your_api_key_here",
16    "ttl": 7200,
17    "maxReads": 10,
18    "language": "python"
19  }'
Error Codes
Common error codes and their meanings
CodeStatusDescription
MISSING_API_KEY
400
API key is required but not provided
INVALID_API_KEY
401
The provided API key is invalid or expired
CONTENT_TOO_LARGE
400
Content exceeds the 100KB limit
EMPTY_CONTENT
400
Content field is empty or missing
INVALID_TTL
400
TTL value is invalid (max 30 days)
RATE_LIMITED
429
Too many requests, please slow down
Need Help or Have Questions?
Join our community for support, discussions, and updates

Connect with the Community

Get help with API integration, report issues, or discuss features

Contact & Support