Web3Connected Documentation
Welcome to the Web3Connected API documentation. Learn how to integrate our quantum-resistant security platform into your applications.
Platform Overview
Web3Connected is a unified SaaS platform providing access to CodexHash, CodexTime, CodexSecure, and CodexIdentity services through a single API gateway.
Single API Key
Access all services with one authentication key
Enterprise Security
Quantum-resistant encryption and security by default
Temporal Sync
Built-in TIU synchronization across all operations
Global Scale
Distributed infrastructure for low-latency access
Quick Start
Get started with Web3Connected in three simple steps.
Create an Account
Sign up for a Web3Connected developer account to get your API credentials.
Create AccountGet Your API Key
Once logged in, navigate to your dashboard to generate an API key.
API_KEY=wc_live_1234567890abcdefMake Your First Request
Start making API calls to Web3Connected services.
curl -X POST https://api.web3connected.com/v1/hash \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": "Hello World"}'Authentication
All API requests require authentication using your API key.
API Key Authentication
Include your API key in the Authorization header of every request:
Authorization: Bearer YOUR_API_KEYSecurity Best Practices
- • Never expose your API key in client-side code
- • Store keys in environment variables
- • Rotate keys regularly
- • Use different keys for development and production
API Endpoints
Base URL: https://api.web3connected.com/v1
/hashGenerate quantum-resistant hash using CodexHash
View Example
// Request
{
"data": "Hello World",
"algorithm": "harmonic-256"
}
// Response
{
"hash": "0x1a2b3c...",
"algorithm": "harmonic-256",
"timestamp": 1706540000
}/time/tiuGet current Temporal Interval Unit (TIU) from CodexTime
View Example
// Response
{
"tiu": 1234567890,
"timestamp": 1706540000,
"synchronized": true
}/identity/verifyVerify decentralized identity using CodexIdentity
View Example
// Request
{
"did": "did:codex:123...",
"credential": "..."
}
// Response
{
"verified": true,
"level": "enhanced",
"timestamp": 1706540000
}Making Requests
Using cURL
curl -X POST https://api.web3connected.com/v1/hash \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": "Hello World", "algorithm": "harmonic-256"}'Using JavaScript
const response = await fetch('https://api.web3connected.com/v1/hash', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
data: 'Hello World',
algorithm: 'harmonic-256'
})
});
const result = await response.json();
console.log(result);Using Python
import requests
response = requests.post(
'https://api.web3connected.com/v1/hash',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={
'data': 'Hello World',
'algorithm': 'harmonic-256'
}
)
result = response.json()
print(result)Response Format
All API responses follow a consistent JSON format.
Success Response
{
"success": true,
"data": {
// Response data
},
"timestamp": 1706540000
}Error Response
{
"success": false,
"error": {
"code": "INVALID_API_KEY",
"message": "The provided API key is invalid",
"details": {}
},
"timestamp": 1706540000
}Status Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
429 | Rate Limit Exceeded |
500 | Internal Server Error |
JavaScript/TypeScript SDK
For detailed SDK documentation and language-specific guides, visit our SDK pages:
Need Help?
Our support team is here to help you integrate Web3Connected into your applications.