Documentation
Ask on ChatGPT

Authentication

Authentication is required to access the CryptoHFTData API. You'll need an API key which you can generate from your dashboard.

Getting Your API Key

  1. Log in to your CryptoHFTData dashboard
  2. Click on "Generate API Key" in the API Access section
  3. Copy your API key and store it securely

Using Your API Key

python
1import cryptohftdata as chd
2import os
3
4# Method 1: Pass API key directly
5client = chd.CryptoHFTDataClient(api_key="your-api-key-here")
6
7# Method 2: Set environment variable
8os.environ['CRYPTOHFTDATA_API_KEY'] = 'your-api-key-here'
9client = chd.CryptoHFTDataClient()  # Will automatically use env variable

Security Note

Never hardcode your API key in production code. Use environment variables or a secure configuration management system.

Have questions?

Our support team is available to help you with integration.

Contact Support