Developer-First API

One API for all your cloud costs

Forget about juggling different billing APIs. Cloud Cost Lens normalizes data from AWS, Google Cloud, Azure, and DigitalOcean into one unified, developer-friendly API.

api-example.js
// Get all costs across providers
const response = await fetch('https://api.cloudcostlens.com/v1/costs', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
// Returns normalized data from AWS, GCP, Azure, etc.
{
  "costs": [
    {
      "provider": "aws",
      "service": "EC2",
      "amount": 1234.56,
      "currency": "USD",
      "date": "2024-01-15"
    },
    {
      "provider": "gcp",
      "service": "Compute Engine",
      "amount": 567.89,
      "currency": "USD",
      "date": "2024-01-15"
    }
  ],
  "total": 1802.45
}

Built for developers

Lightning Fast

Average response time under 100ms. Cached and optimized for high-throughput workloads.

Normalized Schema

One consistent data format regardless of provider. No more parsing different billing formats.

Comprehensive Docs

Detailed documentation with examples in multiple languages. SDKs for popular frameworks.

Secure by Default

OAuth 2.0, API keys, and fine-grained permissions. Your data stays protected.

Key endpoints

A glimpse of what's available. Check our documentation for the complete API reference.

MethodEndpoint
GET/v1/costs
GET/v1/costs/:provider
GET/v1/costs/breakdown
GET/v1/costs/trends
GET/v1/accounts
POST/v1/accounts
GET/v1/budgets
POST/v1/alerts

Ready to simplify your cloud cost data?

Get started in minutes. No credit card required for the free trial.