Base URL: https://styxprivacy.app
Include your API key in the Authorization header:
Authorization: Bearer styx_your_api_key/api/v1/messagesSend an encrypted message to a recipient address
{
"recipient": "RECIPIENT_PUBKEY",
"message": "encrypted_payload_base64",
"ttl": 86400
}{
"id": "msg_abc123",
"signature": "5YNmS...",
"createdAt": "2024-01-01T00:00:00Z",
"expiresAt": "2024-01-02T00:00:00Z"
}/api/v1/keysCreate a new API key (requires wallet signature)
{
"wallet": "WALLET_PUBKEY",
"signature": "base58_signature",
"message": "Sign this message to create API key",
"name": "My App"
}{
"apiKey": "styx_abc123...",
"id": "key_xyz789",
"tier": "free",
"limits": { "perMinute": 10, "monthly": 1000 }
}/api/v1/explorer?address=PUBKEYGet STS transaction history for an address
{
"transactions": [
{
"signature": "5YNmS...",
"slot": 123456789,
"operation": "Transfer",
"timestamp": "2024-01-01T00:00:00Z"
}
],
"total": 42
}/api/v1/usageGet API usage statistics for your key
{
"requestsThisMonth": 150,
"monthlyLimit": 1000,
"tier": "free"
}