Documentation Index
Fetch the complete documentation index at: https://docs.xentfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Headers
| Header | Required | Format | Description |
|---|---|---|---|
apiKey | Yes | xf_ prefixed string | Your unique API key |
appId | Yes | UUID format | Your application identifier |
Getting Your API Credentials
Log into Dashboard
Navigate to dashboard.xentfi.com and log in.
Making Authenticated Requests
Include both headers in every API request:Authentication Response
Success (200)
When authentication succeeds, you receive the requested data.Failure (401)
When authentication fails:API Key Types
| Type | Environment | Use Case |
|---|---|---|
| Sandbox | Testnet | Development and testing |
| Production | Mainnet | Live transactions |
Sandbox Keys
- Use for development and testing
- Testnet networks only
- Higher rate limits
- No real funds required
Production Keys
- Use for live transactions
- Mainnet networks only
- Standard rate limits
- Real funds transfer
API Key Scopes
| Scope | Permissions | Use Case |
|---|---|---|
read | GET endpoints only | Monitoring, analytics |
write | POST, PUT, DELETE | Full API access |
admin | All operations + admin | Account management |
Security Best Practices
| Practice | Importance | Description |
|---|---|---|
| Environment variables | Critical | Never hardcode keys in code |
| Regular rotation | High | Rotate keys every 90 days |
| Environment separation | High | Different keys for dev/prod |
| Least privilege | High | Grant minimum required scopes |
| Immediate revocation | Critical | Revoke compromised keys immediately |
| Audit logging | Medium | Monitor key usage |
Key Rotation
When to Rotate
- Every 90 days (recommended)
- Team member departure
- Suspected compromise
- Security audit requirement
Rotation Process
Rotating via API
Key Revocation
If a key is compromised, revoke it immediately:Environment Setup
Development Environment (.env)
Production Environment
Troubleshooting
401 Unauthorized - Invalid API key
401 Unauthorized - Invalid API key
401 Unauthorized - Missing headers
401 Unauthorized - Missing headers
403 Forbidden - Insufficient scope
403 Forbidden - Insufficient scope
Solution: Your API key doesn’t have permission for this operation. Generate a key with required scopes.
Rate Limits by Key Type
| Key Type | Requests/Second | Requests/Minute | Requests/Day |
|---|---|---|---|
| Sandbox (Starter) | 5 | 60 | 10,000 |
| Sandbox (Pro) | 20 | 300 | 100,000 |
| Production (Starter) | 5 | 60 | 10,000 |
| Production (Pro) | 20 | 300 | 100,000 |
| Production (Business) | 50 | 1,000 | 1,000,000 |
Related Resources
- Rate Limits Guide - Detailed rate limit information
- Error Handling - Common authentication errors
- Security Overview - Security best practices

