Stay organized with collectionsSave and categorize content based on your preferences.
Listing Services
This document describes how to list the APIs and services that are enabled or
available in a Google Cloud project. The list of available or enabled
APIs and services can contain both publicGoogle Cloud servicessuch asPub/Sub, and any APIs and services shared privately with you,
such as services created usingCloud Endpoints. For more
information on the differences between public and private APIs and services,
seePublic and Private Services.
To list services in a project, we recommend that you use the
Google Cloud console or the Google Cloud CLI. This document describes how
to use both interfaces.
To program against the Service Usage API, use one of our providedclient libraries.
To experiment with the API, we recommend that you use thecurlcommand.
You don't need to set up a full application environment; however, there is
some required setup.
Before you begin
To list the enabled and available APIs and services you need:
If you want to use thecurlexamples in this guide, make sure you follow the
instructions to complete the initial setup inGetting Started. These steps include
defininggcurl, which is an authenticated alias for the standardcurlcommand, and defining the environment variablePROJECT_NUMBER.
List enabled services in an organization
To list which services are enabled across an organization useCloud Asset Inventory, which allows exporting
the state of all projects under the control of an organization in a single RPC
call. Cloud Asset Inventory can also be used tomonitor for state changes.
To export all enabled services for a particular organization, follow the Cloud Asset Inventory docs forListing Assets.
To list the enabled APIs for an organization, run the following command after
you set your organization and billing project IDs:
NOW=$(TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ")
gcloud asset list \
--organization='ORGANIZATION_ID' \
--billing-project='BILLING_PROJECT_ID' \
--asset-types='serviceusage.googleapis.com/Service' \
--snapshot-time=$NOW \
--content-type='resource'
Executing the previous command lets a sufficiently privileged user list the set
of enabled services for all projects in an organization.
To experiment with Cloud Asset Inventory commands, apply these commands to a
specific project. For example, the following command
lists all enabled services for a particular project:
NOW=$(TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ")
gcloud asset list \
--project='PROJECT_ID' \
--billing-project='BILLING_PROJECT_ID' \
--asset-types='serviceusage.googleapis.com/Service' \
--snapshot-time=$NOW \
--content-type='resource'
List enabled services in a project
Listing enabled services uses quota from theserviceusage.googleapis.com/list_enabled_requestsquota metric. The default
available quota is 10 queries per second (QPS).
console
To list the enabled APIs and services in a project:
Select your Google Cloud project by performing one of the following:
Click on a Google Cloud project underSelect a recent project.
Use the Google Cloud project browser by performing the following
steps:
ClickSelect projectto open the Google Cloud project browser.
Find your project and then click on the Google Cloud project name.
ClickOpento open the project.
TheAPIs & Servicespage appears. You can find the list of APIs
enabled in your Google Cloud project in the table on this page.
gcloud
To list the enabled APIs and services in your current project, run the
following command:
gcloud services list
The command produces output similar to the following:
NAME TITLE
pubsub.googleapis.com Google Cloud Pub/Sub API
bigquery.googleapis.com BigQuery API
cloudtrace.googleapis.com Stackdriver Trace API
servicemanagement.googleapis.com Google Service Management API
monitoring.googleapis.com Stackdriver Monitoring API
storage-api.googleapis.com Google Cloud Storage JSON API
logging.googleapis.com Stackdriver Logging API
clouddebugger.googleapis.com Stackdriver Debugger API
...
curl
To list enabled services, call theservices.listmethod with thestate:ENABLEDfilter.
To list the enabled APIs and services in your project, run the following
command:
Listing all available services uses quota from theserviceusage.googleapis.com/list_available_requestsquota. The default
available quota is 1 QPS. The set of available services rarely changes and
can be cached for extended periods of time.
console
To list the APIs and services available to you in a project:
Select your Google Cloud project by performing one of the following:
Click on a Google Cloud project underSelect a recent project.
Use the Google Cloud project browser by performing the following
steps:
ClickSelect projectto open the Google Cloud project browser.
Find your project and then click on the Google Cloud project name.
ClickOpento open the project.
TheAPI Libraryscreen appears. You can search for or scroll through
available APIs from this screen.
gcloud
To list the APIs and services available to you in
your current project, run the following command:
gcloud services list --available
The results include any services that have already been enabled, as
well as services that are available to be enabled for the current project.
The command produces output similar to the following:
NAME TITLE
places-backend.googleapis.com Google Places API Web Service
clouderrorreporting.googleapis.com Stackdriver Error Reporting API
analyticsreporting.googleapis.com Google Analytics Reporting API
youtube.googleapis.com YouTube Data API v3
adsense.googleapis.com AdSense Management API
sqladmin.googleapis.com Google Cloud SQL API
genomics.googleapis.com Genomics API
adexchangebuyer.googleapis.com Ad Exchange Buyer API II
...
curl
To list available services, call theservices.listmethod.
To list the available APIs and services in your project, run the following command:
The result includes all public services, all services for which the calling
user has theservicemanagement.services.bindpermission, and all services
that have already been enabled on the project.
It is possible to exclude the services that are currently active on the
project by passingfilter=state:DISABLEDto the previous call.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Listing Services\n================\n\nThis document describes how to list the APIs and services that are enabled or\navailable in a Google Cloud project. The list of available or enabled\nAPIs and services can contain both public\n[Google Cloud services](/terms/services) such as\n[Pub/Sub](/pubsub), and any APIs and services shared privately with you,\nsuch as services created using [Cloud Endpoints](/endpoints). For more\ninformation on the differences between public and private APIs and services,\nsee\n[Public and Private Services](/service-usage/docs/public-vs-private).\n\n- To get or monitor the enabled services for an organization, see [List enabled services in an organization](#org-list-enabled).\n- To list services in a project, we recommend that you use the Google Cloud console or the Google Cloud CLI. This document describes how to use both interfaces.\n- To program against the Service Usage API, use one of our provided [client libraries](/service-usage/docs/libraries).\n- To experiment with the API, we recommend that you use the `curl` command. You don't need to set up a full application environment; however, there is some required setup.\n\nBefore you begin\n----------------\n\nTo list the enabled and available APIs and services you need:\n\n- A Google Cloud project. To learn how to create a Google Cloud project, see [Creating and Managing Projects](/resource-manager/docs/creating-managing-projects).\n- The correct [Identity and Access Management](/iam) permissions. To learn about the IAM requirements for Service Usage, see [Access Control](/service-usage/docs/access-control).\n- To install the [Google Cloud CLI](/sdk/docs/install).\n- If you want to use the `curl` examples in this guide, make sure you follow the instructions to complete the initial setup in [Getting Started](/service-usage/docs/set-up-development-environment). These steps include defining `gcurl`, which is an authenticated alias for the standard `curl` command, and defining the environment variable `PROJECT_NUMBER`.\n\nList enabled services in an organization\n----------------------------------------\n\nTo list which services are enabled across an organization use\n[Cloud Asset Inventory](/asset-inventory/docs/overview), which allows exporting\nthe state of all projects under the control of an organization in a single RPC\ncall. Cloud Asset Inventory can also be used to\n[monitor for state changes](/asset-inventory/docs/monitoring-asset-changes).\nTo export all enabled services for a particular organization, follow the Cloud Asset Inventory docs for [Listing Assets](/asset-inventory/docs/listing-assets).\n\nTo list the enabled APIs for an organization, run the following command after\nyou set your organization and billing project IDs: \n\n```\nNOW=$(TZ=GMT date +\"%Y-%m-%dT%H:%M:%SZ\")\ngcloud asset list \\\n--organization='ORGANIZATION_ID' \\\n--billing-project='BILLING_PROJECT_ID' \\\n--asset-types='serviceusage.googleapis.com/Service' \\\n--snapshot-time=$NOW \\\n--content-type='resource'\n```\n\nExecuting the previous command lets a sufficiently privileged user list the set\nof enabled services for all projects in an organization.\n\nTo experiment with Cloud Asset Inventory commands, apply these commands to a\nspecific project. For example, the following command\nlists all enabled services for a particular project: \n\n```\nNOW=$(TZ=GMT date +\"%Y-%m-%dT%H:%M:%SZ\")\ngcloud asset list \\\n--project='PROJECT_ID' \\\n--billing-project='BILLING_PROJECT_ID' \\\n--asset-types='serviceusage.googleapis.com/Service' \\\n--snapshot-time=$NOW \\\n--content-type='resource'\n```\n\nList enabled services in a project\n----------------------------------\n\nListing enabled services uses quota from the\n`serviceusage.googleapis.com/list_enabled_requests` quota metric. The default\navailable quota is 10 queries per second (QPS). \n\n### console\n\nTo list the enabled APIs and services in a project:\n\n1. Go to the Google Cloud console [API Dashboard](https://console.cloud.google.com/project/_/apis/dashboard) page. \n [go to the API Dashboard page](https://console.cloud.google.com/project/_/apis/dashboard)\n2. Select your Google Cloud project by performing one of the following:\n\n - Click on a Google Cloud project under **Select a recent project**.\n\n - Use the Google Cloud project browser by performing the following\n steps:\n\n 1. Click **Select project** to open the Google Cloud project browser.\n 2. Find your project and then click on the Google Cloud project name.\n 3. Click **Open** to open the project.\n\n The **APIs \\& Services** page appears. You can find the list of APIs\n enabled in your Google Cloud project in the table on this page.\n\n### gcloud\n\nTo list the enabled APIs and services in your current project, run the\nfollowing command: \n\n```\ngcloud services list\n```\n\nThe command produces output similar to the following: \n\n```\nNAME TITLE\npubsub.googleapis.com Google Cloud Pub/Sub API\nbigquery.googleapis.com BigQuery API\ncloudtrace.googleapis.com Stackdriver Trace API\nservicemanagement.googleapis.com Google Service Management API\nmonitoring.googleapis.com Stackdriver Monitoring API\nstorage-api.googleapis.com Google Cloud Storage JSON API\nlogging.googleapis.com Stackdriver Logging API\nclouddebugger.googleapis.com Stackdriver Debugger API\n...\n```\n\n### curl\n\nTo list enabled services, call the\n[`services.list`](/service-usage/docs/reference/rest/v1/services/list)\nmethod with the `state:ENABLED` filter.\n\nTo list the enabled APIs and services in your project, run the following\ncommand: \n\n gcurl \"https://serviceusage.googleapis.com/v1/projects/${PROJECT_NUMBER}/services?filter=state:ENABLED\"\n\nList available services in a project\n------------------------------------\n\n| **Caution:** The list of available services is substantially larger than the list of enabled services. If you only need the set of enabled services, then use the instructions in the previous section, List enabled services in a project. Listing all services might take as long as 30 seconds due to the amount of data returned. We recommend that you save the list of all available services, as changes to this list are infrequent.\n\nListing all available services uses quota from the\n`serviceusage.googleapis.com/list_available_requests` quota. The default\navailable quota is 1 QPS. The set of available services rarely changes and\ncan be cached for extended periods of time. \n\n### console\n\nTo list the APIs and services available to you in a project:\n\n1. Go to the Google Cloud console [API Library](https://console.cloud.google.com/project/_/apis/library) page. \n [Go to the API Library page](https://console.cloud.google.com/project/_/apis/library)\n2. Select your Google Cloud project by performing one of the following:\n\n - Click on a Google Cloud project under **Select a recent project**.\n\n - Use the Google Cloud project browser by performing the following\n steps:\n\n 1. Click **Select project** to open the Google Cloud project browser.\n 2. Find your project and then click on the Google Cloud project name.\n 3. Click **Open** to open the project.\n\n The **API Library** screen appears. You can search for or scroll through\n available APIs from this screen.\n\n### gcloud\n\nTo list the APIs and services available to you in\nyour current project, run the following command: \n\n```\ngcloud services list --available\n```\n\nThe results include any services that have already been enabled, as\nwell as services that are available to be enabled for the current project.\nThe command produces output similar to the following: \n\n```\nNAME TITLE\nplaces-backend.googleapis.com Google Places API Web Service\nclouderrorreporting.googleapis.com Stackdriver Error Reporting API\nanalyticsreporting.googleapis.com Google Analytics Reporting API\nyoutube.googleapis.com YouTube Data API v3\nadsense.googleapis.com AdSense Management API\nsqladmin.googleapis.com Google Cloud SQL API\ngenomics.googleapis.com Genomics API\nadexchangebuyer.googleapis.com Ad Exchange Buyer API II\n...\n```\n\n### curl\n\nTo list available services, call the\n[`services.list`](/service-usage/docs/reference/rest/v1/services/list)\nmethod.\n\nTo list the available APIs and services in your project, run the following command: \n\n gcurl \"https://serviceusage.googleapis.com/v1/projects/${PROJECT_NUMBER}/services\"\n\nThe result includes all public services, all services for which the calling\nuser has the `servicemanagement.services.bind` permission, and all services\nthat have already been enabled on the project.\n\nIt is possible to exclude the services that are currently active on the\nproject by passing `filter=state:DISABLED` to the previous call.\n\nNext steps\n----------\n\nFor information about how to enable or disable services in your\nGoogle Cloud project, see\n[Enabling and Disabling Services](/service-usage/docs/enable-disable)."]]