API Terms and Conditions
Effective Date: November 15, 2024
These API Terms and Conditions ("API Terms") govern your use of the AI Datacenter Finance Platform API services ("API"). By accessing or using our API, you agree to be bound by these API Terms and our main Terms of Service.
1. API Access and Authentication
API Keys
Access to our API requires a valid API key issued by AI Datacenter Finance. API keys are:
- Unique to each user account
- Non-transferable and confidential
- Subject to your subscription tier limits
- Revocable at our discretion
Authentication Requirements
All API requests must include your API key in the X-API-Key header. Failure to provide valid authentication will result in access denial.
curl -X GET "https://api.aidatacenter.com/v1/indices/glri" \
-H "X-API-Key: your-api-key-here"2. Rate Limits and Usage Quotas
Tier-Based Limits
API rate limits vary by subscription tier:
| Tier | Requests/Hour | Requests/Day | Concurrent Connections |
|---|---|---|---|
| Free | 100 | 1,000 | 2 |
| Professional | 1,000 | 10,000 | 5 |
| Enterprise | Custom | Custom | Custom |
Rate Limit Headers
API responses include rate limit information in HTTP headers:
X-RateLimit-Limit:Your rate limitX-RateLimit-Remaining:Requests remainingX-RateLimit-Reset:When limit resets (Unix timestamp)
Exceeding Limits
When rate limits are exceeded, the API returns HTTP 429 status with details about when you can make additional requests.
3. Data Usage and Restrictions
Permitted Uses
You may use API data for:
- Internal business analysis and research
- Integration with your internal applications
- Customer-facing applications with appropriate attribution
- Academic research and educational purposes
Prohibited Uses
You may not:
- Redistribute or resell API data without permission
- Use API data to create competing services
- Exceed your authorized usage limits
- Share API keys with third parties
- Use the API for unlawful purposes
- Attempt to reverse engineer our methodologies
- Cache or store data beyond what is necessary for your application
4. Data Quality and Availability
Service Availability
We strive to maintain high API availability but cannot guarantee 100% uptime. Our target availability is 99.9% excluding scheduled maintenance.
Data Accuracy
While we work to ensure data accuracy, we cannot guarantee the completeness or correctness of all API data. See our main disclaimer for more information.
Data Updates
Data is updated according to different schedules depending on the data type:
- Real-time: Power availability and grid status
- Daily: Market indices and pricing data
- Weekly: Queue positions and regulatory updates
- Monthly: Economic indicators and long-term trends
5. API Changes and Versioning
Version Control
Our API uses semantic versioning (v1, v2, etc.). Major version changes may include breaking changes, while minor versions are backward compatible.
Deprecation Policy
When we deprecate API versions or endpoints:
- We provide at least 90 days notice before deprecation
- Deprecated endpoints continue to work during the notice period
- We provide migration guides and support for transitioning
- Version changes are announced through API documentation and email
Breaking Changes
Breaking changes may include:
- Modifying request or response formats
- Removing or renaming endpoints
- Changing authentication methods
- Altering rate limits or quotas
6. Security Requirements
API Key Protection
You must protect your API keys and implement appropriate security measures:
- Store API keys securely (environment variables, secret management)
- Never include API keys in client-side code
- Rotate API keys periodically
- Monitor for unauthorized usage
- Report compromised keys immediately
Secure Connections
All API requests must use HTTPS. Unencrypted HTTP connections are not supported and will be redirected or rejected.
7. Monitoring and Compliance
Usage Monitoring
We monitor API usage to ensure compliance with these terms and maintain service quality. This includes tracking request patterns, data access, and system performance.
Audit Requirements
You may be required to provide information about your API usage to verify compliance with these terms, especially for enterprise customers with high usage volumes.
8. Integration Best Practices
Error Handling
Implement proper error handling in your API integrations:
- Handle HTTP status codes appropriately
- Implement exponential backoff for retries
- Log errors for debugging and monitoring
- Provide user-friendly error messages
Caching Strategy
Implement intelligent caching to improve performance and respect rate limits:
- Cache data based on update frequency
- Use conditional requests with ETags
- Respect cache-control headers
- Don't cache real-time data beyond specified limits
Request Optimization
- Use appropriate HTTP methods (GET, POST, etc.)
- Request only the data you need
- Use pagination for large datasets
- Minimize payload sizes where possible
9. Support and Documentation
Technical Support
Support levels vary by subscription tier:
- Free: Community documentation and forums
- Professional: Email support during business hours
- Enterprise: Dedicated support team and SLA
Documentation Updates
API documentation is regularly updated with:
- New endpoints and features
- Code examples and integration guides
- Best practices and optimization tips
- Change notifications and deprecation notices
10. Compliance and Legal
Export Controls
API access may be subject to export control laws and regulations. Users are responsible for compliance with applicable laws in their jurisdiction.
Data Residency
Data processing and storage locations may vary. Enterprise customers can request specific data residency requirements where available.
11. Termination
Suspension
We may suspend or terminate API access for:
- Violation of these API terms
- Exceeding usage limits repeatedly
- Security violations or compromised API keys
- Non-payment of subscription fees
- Abuse or misuse of API services
Effect of Termination
Upon termination, your API access will be disabled immediately, and you must cease all use of the API and delete any stored API data.
12. Contact Information
For API-related questions and support:
- Technical Support: api-support@aidatacenter.com
- Business Inquiries: api-sales@aidatacenter.com
- Security Issues: security@aidatacenter.com
13. Acceptance of Terms
By using our API, you acknowledge that you have read, understood, and agree to be bound by these API Terms and our main Terms of Service.
Last Updated: November 15, 2024