Skip to main content
The Cloud Capital Public API gives you programmatic access to your cost insights data. You can query costs, apply filters, compare time periods, and manage saved filter configurations. Successful responses are JSON objects with "success": true and a "data" property containing the endpoint-specific payload. For most error status codes, the body is { "success": false, "error": { "message": "..." } }. HTTP 401 is an exception: missing or invalid credentials return { "message": "Unauthorized" } from the API gateway.

Base URL

All API requests are made to:

Authentication

The API uses API key authentication. Include your key in the Authorization header as a Bearer token with every request.

Creating an API key

1

Open settings

Navigate to Settings > API keys in your Cloud Capital dashboard.
2

Generate a key

Click Create API key, give it a descriptive name, and select the appropriate permissions.
3

Copy the key

Copy the generated key immediately. For security, the full key is only shown once.
Keep your API keys secure. Do not expose them in client-side code, public repositories, or logs.

Rate limits

API requests are rate-limited to protect service availability. When you exceed the limit, the API returns a 429 status code.

Error handling

The API returns standard HTTP status codes. Application errors (for example validation failures) use the envelope below.
401 Unauthorized uses a different shape:

Next steps

Browse the Cost insights endpoints in the sidebar to start querying your data. Each endpoint page includes an interactive playground where you can send requests directly from the docs.