# Cloud Billing API API

> Cloud Billing API API on Apizie: 26 endpoints (Lists the billing accounts that the current authenticated user has permission to…, This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).…, Get a push notification config for a task., Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-cloudbilling`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/billing/docs/apis
- Page: https://zieapi.vercel.app/api/analytics/googleapis-cloudbilling
- OpenAPI: https://zieapi.vercel.app/api/analytics/googleapis-cloudbilling/openapi.json

Allows developers to manage billing for their Google Cloud Platform projects programmatically.

## Endpoints

### Lists the billing accounts that the current authenticated user has permission to…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Options for how to filter the returned billing accounts. This only supports filtering for… |
| pageSize | integer | no | Requested page size. The maximum page size is 100; this is also the default. |
| pageToken | string | no | A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts`… |
| parent | string | no | Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example,… |

### This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | no | Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example,… |
| body | object | yes | JSON request body |

### Get a push notification config for a task.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-push-notification-configs-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |

### Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the billing account resource to be updated. |
| updateMask | string | no | The update mask applied to the resource. Only "display_name" is currently supported. |
| body | object | yes | JSON request body |

### Delete a push notification config for a task.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-push-notification-configs-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} |
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |

### Gets the access control policy for a billing account. The caller must have the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| options.requestedPolicyVersion | integer | no | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid… |
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |

### Changes which parent organization a billing account belongs to.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-move` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified… |
| body | object | yes | JSON request body |

### Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Tests the access control policy for a billing account. This method takes the resource and a set of…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-test-iam-permissions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See [Resource… |
| body | object | yes | JSON request body |

### Lists the projects associated with a billing account. The current authenticated user must have the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-projects-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the billing account associated with the projects that you want to list. For example,… |
| pageSize | integer | no | Requested page size. The maximum page size is 100; this is also the default. |
| pageToken | string | no | A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous… |

### Lists the billing accounts that the current authenticated user has permission to…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-sub-accounts-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Options for how to filter the returned billing accounts. This only supports filtering for… |
| pageSize | integer | no | Requested page size. The maximum page size is 100; this is also the default. |
| pageToken | string | no | A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts`… |
| parent | string | yes | Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example,… |

### This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-sub-accounts-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example,… |
| body | object | yes | JSON request body |

### Send a message to the agent. This is a blocking call that will return the task once it is completed, or a…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-message-send` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-message-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Lists the billing accounts that the current authenticated user has permission to…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-organizations-billing-accounts-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Options for how to filter the returned billing accounts. This only supports filtering for… |
| pageSize | integer | no | Requested page size. The maximum page size is 100; this is also the default. |
| pageToken | string | no | A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts`… |
| parent | string | yes | Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example,… |

### This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts).…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-organizations-billing-accounts-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example,… |
| body | object | yes | JSON request body |

### Changes which parent organization a billing account belongs to.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-organizations-billing-accounts-move` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| destinationParent | string | yes | Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`. |
| name | string | yes | Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified… |

### Gets the billing information for a project. The current authenticated user must have the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-projects-get-billing-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`. |

### Sets or updates the billing account associated with a project. You specify the new billing account by…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-projects-update-billing-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the project associated with the billing information that you want to update. For example,… |
| body | object | yes | JSON request body |

### Lists all public cloud services.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-services-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Requested page size. Defaults to 5000. |
| pageToken | string | no | A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If… |

### Lists all publicly available SKUs for a given cloud service.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-services-skus-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| currencyCode | string | no | The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not… |
| endTime | string | no | Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.… |
| pageSize | integer | no | Requested page size. Defaults to 5000. |
| pageToken | string | no | A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListSkus` call. If… |
| parent | string | yes | Required. The name of the service. Example: "services/6F81-5844-456A" |
| startTime | string | no | Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.… |

### Cancel a task from the agent. If supported one should expect no more task updates for the task.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The resource name of the task to cancel. Format: tasks/{task_id} |
| body | object | yes | JSON request body |

### TaskSubscription is a streaming call that will return a stream of task update events. This attaches the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-subscribe` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The resource name of the task to subscribe to. Format: tasks/{task_id} |
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |

### Set a push notification config for a task.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-push-notification-configs-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| configId | string | no | Required. The ID for the new config. |
| parent | string | yes | Required. The parent task resource for this config. Format: tasks/{task_id} |
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
| body | object | yes | JSON request body |

### Get a list of push notifications configured for a task.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-tasks-push-notification-configs-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs… |
| pageToken | string | no | A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When… |
| parent | string | yes | The parent task resource. Format: tasks/{task_id} |
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |

### GetAgentCard returns the agent card for the agent.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-get-card` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| tenant | string | no | Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |

## Example
```
curl "https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-list" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Cloud Billing API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudbilling/cloudbilling-billing-accounts-list with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Cloud Billing API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Cloud Billing API itself also needs your own key from googleapis.com.

### Can AI agents use the Cloud Billing API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-cloudbilling.

### What is the status of the Cloud Billing API API?
Needs your own provider key (bring your own key)
