Skip to main content

Authentication

The ZenOTC SDK uses API key authentication.

Obtaining API Credentials

  1. Log in to app.zenotc.com
  2. Navigate to Settings > API Keys
  3. Click Create API Key
  4. Store your API key and secret securely

Authentication Methods

Direct Configuration

from zenotc import ZenOTCClient

client = ZenOTCClient(
api_key="your_api_key",
api_secret="your_api_secret"
)

Environment Variables

export ZENOTC_API_KEY="your_api_key"
export ZENOTC_API_SECRET="your_api_secret"
export ZENOTC_ENVIRONMENT="production"
from zenotc import ZenOTCClient
client = ZenOTCClient() # Reads from env

Environments

EnvironmentBase URLUse Case
productionhttps://api.zenotc.comLive trading
staginghttps://api-staging.zenotc.comTesting

Next Steps