Hello @regnard,
Key Recommendations for Cloud Pricing API Integration as below:
- API Selection
- Use the Cloud Billing Catalog API (cloudbilling.googleapis.com) for SKU-level pricing data.
- For real-time cost tracking, pair with the Cloud Billing Reports API (BigQuery exports recommended).
- Authentication & Quotas
- Design for least-privilege service accounts (roles: billing.viewer).
- Implement exponential backoff for quota limits (default: 60 queries/minute).
- Cost Optimization
- Cache pricing data (refresh every 24h; SKUs change infrequently).
- Use regional pricing tiers (e.g., us-central1 vs. europe-west4).
- Open-Source Considerations
- Avoid hardcoding API keys (use secret management like Secret Manager).
- Provide fallback datasets for users without billing access.
I hope above pointers helped! 🙂
Best regards,
Suwarna