# Pricing API

Use the Cloud Billing Pricing API to get pricing information about all Google Cloud Services. If you have a custom pricing contract with Google Cloud, you can also use the API to get information about your contract prices.

- [REST Resource: v2beta.billingAccounts.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.billingAccounts.skus.price)
- [REST Resource: v2beta.billingAccounts.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.billingAccounts.skus.prices)
- [REST Resource: v2beta.services](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.services)
- [REST Resource: v2beta.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.skus)
- [REST Resource: v2beta.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.skus.price)
- [REST Resource: v2beta.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v2beta.skus.prices)
- [REST Resource: v1beta.billingAccounts.services](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.services)
- [REST Resource: v1beta.billingAccounts.skuGroups](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.skuGroups)
- [REST Resource: v1beta.billingAccounts.skuGroups.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.skuGroups.skus)
- [REST Resource: v1beta.billingAccounts.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.skus)
- [REST Resource: v1beta.billingAccounts.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.skus.price)
- [REST Resource: v1beta.billingAccounts.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.billingAccounts.skus.prices)
- [REST Resource: v1beta.skuGroups](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.skuGroups)
- [REST Resource: v1beta.skuGroups.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.skuGroups.skus)
- [REST Resource: v1beta.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.skus.price)
- [REST Resource: v1beta.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest#v1beta.skus.prices)

## Service: cloudbilling.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://cloudbilling.googleapis.com/$discovery/rest?version=v2beta>
- <https://cloudbilling.googleapis.com/$discovery/rest?version=v1beta>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://cloudbilling.googleapis.com`

## REST Resource: [v2beta.billingAccounts.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/billingAccounts.skus.price)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/billingAccounts.skus.price/get` | `GET /v2beta/{name=billingAccounts/*/skus/*/price}` Gets the latest price for `SKUs available to your Cloud Billing account`. |

## REST Resource: [v2beta.billingAccounts.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/billingAccounts.skus.prices)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/billingAccounts.skus.prices/list` | `GET /v2beta/{parent=billingAccounts/*/skus/*}/prices` Lists the latest prices for `SKUs available to your Cloud Billing account`. |

## REST Resource: [v2beta.services](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services/get` | `GET /v2beta/{name=services/*}` Gets a publicly listed Google Cloud `service`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/services/list` | `GET /v2beta/services` Lists all publicly listed Google Cloud `services`. |

## REST Resource: [v2beta.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus/get` | `GET /v2beta/{name=skus/*}` Gets a publicly listed `SKU`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus/list` | `GET /v2beta/skus` Lists all publicly listed `SKUs`. |

## REST Resource: [v2beta.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus.price)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus.price/get` | `GET /v2beta/{name=skus/*/price}` Gets the latest consumption model price for the given `SKU`. |

## REST Resource: [v2beta.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus.prices)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v2beta/skus.prices/list` | `GET /v2beta/{parent=skus/*}/prices` Lists the latest consumption model prices for all `SKUs`. |

## REST Resource: [v1beta.billingAccounts.services](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.services)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.services/get` | `GET /v1beta/{name=billingAccounts/*/services/*}` Gets a Google Cloud service visible to a `billing account`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.services/list` | `GET /v1beta/{parent=billingAccounts/*}/services` Lists services visible to a `billing account`. |

## REST Resource: [v1beta.billingAccounts.skuGroups](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups/get` | `GET /v1beta/{name=billingAccounts/*/skuGroups/*}` Gets a SKU group visible to a `billing account`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups/list` | `GET /v1beta/{parent=billingAccounts/*}/skuGroups` Lists SKU groups visible to a `billing account`. |

## REST Resource: [v1beta.billingAccounts.skuGroups.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups.skus)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups.skus/get` | `GET /v1beta/{name=billingAccounts/*/skuGroups/*/skus/*}` Gets a SKU that is part of a `billing account SKU group`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skuGroups.skus/list` | `GET /v1beta/{parent=billingAccounts/*/skuGroups/*}/skus` Lists SKUs that is part of `billing account SKU groups`. |

## REST Resource: [v1beta.billingAccounts.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus/get` | `GET /v1beta/{name=billingAccounts/*/skus/*}` Gets a SKU visible to a `billing account`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus/list` | `GET /v1beta/{parent=billingAccounts/*}/skus` Lists SKUs visible to a `billing account`. |

## REST Resource: [v1beta.billingAccounts.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus.price)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus.price/get` | `GET /v1beta/{name=billingAccounts/*/skus/*/price}` Gets the latest price for `SKUs available to your Cloud Billing account`. |

## REST Resource: [v1beta.billingAccounts.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus.prices)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/billingAccounts.skus.prices/list` | `GET /v1beta/{parent=billingAccounts/*/skus/*}/prices` Lists the latest prices for `SKUs available to your Cloud Billing account`. |

## REST Resource: [v1beta.skuGroups](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups/get` | `GET /v1beta/{name=skuGroups/*}` Gets a publicly listed `SKU group`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups/list` | `GET /v1beta/skuGroups` Lists all publicly listed `SKU groups`. |

## REST Resource: [v1beta.skuGroups.skus](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups.skus)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups.skus/get` | `GET /v1beta/{name=skuGroups/*/skus/*}` Gets a publicly listed SKU that is part of a publicly listed `SKU group`. |
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skuGroups.skus/list` | `GET /v1beta/{parent=skuGroups/*}/skus` Lists all publicly listed SKUs contained by a publicly listed `SKU group`. |

## REST Resource: [v1beta.skus.price](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skus.price)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skus.price/get` | `GET /v1beta/{name=skus/*/price}` Gets the latest price for the given `SKU`. |

## REST Resource: [v1beta.skus.prices](https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skus.prices)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/billing/docs/reference/pricing-api/rest/v1beta/skus.prices/list` | `GET /v1beta/{parent=skus/*}/prices` Lists the latest prices for all `SKUs`. |