API Services

Powerful APIs for encryption, data processing, and enterprise integration. Pay-per-call pricing with enterprise-grade security.

Available APIs

Encryption API

Active

Classical and post-quantum encryption services with advanced cryptographic algorithms.

  • AES-256-GCM encryption
  • Post-quantum ChaCha20-Poly1305
  • Hybrid encryption layers
  • Key management
  • Secure decryption
$0.001 per call
POST /api/encrypt/classical
POST /api/encrypt/quantum
POST /api/encrypt/hybrid
POST /api/encrypt/decrypt

Data Processing API

Active

Secure data processing and transformation services with payload-based billing.

  • JSON data validation
  • Data transformation
  • Secure file processing
  • Batch operations
  • Real-time processing
$0.01 per MB
POST /api/data/process
POST /api/data/transform
POST /api/data/validate

Authentication API

Active

JWT token management, user authentication, and session handling services.

  • JWT token generation
  • User registration/login
  • Session management
  • 2FA integration
  • Rate limiting
$0.005 per request
POST /api/auth/login
POST /api/auth/register
POST /api/auth/refresh

Analytics API

Beta

Usage analytics, billing information, and performance metrics for your applications.

  • Usage statistics
  • Billing calculations
  • Performance metrics
  • Endpoint analytics
  • Custom reports
Free for registered users
GET /api/usage/stats
GET /api/usage/billing
GET /api/usage/endpoints

Getting Started

1. Get Your API Key

Register for an account and generate your API key from the dashboard.

curl -X POST https://api.fated.llc/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "your@email.com", "password": "secure_password"}'

2. Authentication

Include your API key in the Authorization header for all requests.

curl -X POST https://api.fated.llc/encrypt/classical \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"data": "Hello World", "algorithm": "AES-256-GCM"}'

3. Rate Limits

API calls are rate limited to ensure fair usage and system stability.

Standard: 1,000 requests/hour
Burst: 10 requests/minute

4. Error Handling

All API responses include proper HTTP status codes and error messages.

{
  "error": "Invalid API key",
  "code": 401,
  "timestamp": "2025-01-15T10:30:00Z",
  "request_id": "req_123456789"
}

SDKs & Libraries

JavaScript SDK

Complete SDK for Node.js and browser environments.

npm install @fated/api-sdk

Python SDK

Python library with async support and type hints.

pip install fated-api

PHP SDK

PHP library compatible with modern frameworks.

composer require fated/api-sdk