Installation
Install the SDK using pip:Get Your API Key
- Sign up or log in at app.boltz.bio
- Navigate to Settings → API Keys
- Click Generate New Key
- Copy your key (format:
sk-...)
Choose Your Interface
- CLI (Easiest)
- Python API
Perfect for quick predictions and testing.Full details on input formats are in the Input Formats section.That’s it! The CLI will:
1. Configure Your Key
2. Create a Job File
Save this asaffinity.yaml.3. Run Your Prediction
- Submit your job
- Wait for completion (unless you use
--no-wait) - Download results (by default into the current directory)
Example Input YAML Formats
Protein-Ligand Affinity
RNA-Protein Complex
Next Steps
Sandbox YAML Format
Input YAML format for Boltz Lab API prediction inputs
CLI Tool
Command-line interface for quick predictions
Python SDK
Python client for integration into your workflows
Boltz Lab User Guide
Learn to use the Boltz Lab web interface
Troubleshooting
ImportError: No module named 'boltz_api'
ImportError: No module named 'boltz_api'
Solution: Make sure the SDK is installed:
Authentication Error
Authentication Error
Solution: Check your API key is set correctly:
Connection Timeout
Connection Timeout
Solution: Check your network connection and API endpoint:
Invalid YAML Format
Invalid YAML Format
Solution: Validate your YAML syntax: