Google Cloud Storage (GCS) Integration

Integrate Similarweb's Batch API with your Google Cloud Storage (GCS) environment. This integration allows clients to store and access exported data directly in their own GCS buckets.

post/batch/v4/gcs-connector/setup

Request

  • Base URL
    https://api.similarweb.com/v1/website
  • URL
    https://api.similarweb.com/v1/website/batch/v4/gcs-connector/setup
  • Auth
    none required

Response

200

expiration_datestring
gcs_bucketstring
gcs_prefixstring
integration_namestring

Example response

{
  "expiration_date": "2025-09-21",
  "gcs_bucket": "sw-daas-production",
  "gcs_prefix": "account_id/gcp_defult/",
  "integration_name": "my_integration",
  "secret": {
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "client_email": "GCP_CLIENT_EMAIL",
    "client_id": "GCP_CLIENT_ID",
    "client_x509_cert_url": "GCP_CLIENT_X509_CERT_URL",
    "private_key": "GCP_PRIVATE_KEY",
    "private_key_id": "GCP_KEY_ID",
    "project_id": "GCP_PROJECT_ID",
    "token_uri": "https://oauth2.googleapis.com/token",
    "type": "service_account",
    "universe_domain": "googleapis.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.