Google Cloud

Apigee / API Gateway Complete Guide: API Management, OAuth, Developer Portal

2026-05-24
NicheeLab Editorial Team

GCP offers three API management solutions — API Gateway (simple and cheap), Cloud Endpoints (based on ESPv2), and Apigee (full enterprise features). This article walks through their differences, when to pick each one, pricing, and how they compare to other clouds.

Comparing the Three Services

ItemAPI GatewayCloud EndpointsApigee X
PositioningLightweight API gateBased on ESPv2Enterprise API management
Pricing$3 per 1M callsCloud Run pricingFrom $500/month
OAuth 2.0YesYesExcellent
Rate LimitYes (Quota)Yes (Quota)Excellent
Developer PortalExcellent
MonetizationExcellent
Transform / AggregateLimitedLimitedExcellent (XSLT / JS / Java)
gRPCExcellentYes

API Gateway in Detail

Key Features

  • Define APIs with the OpenAPI 2.0 spec
  • API Key auth, OAuth 2.0, and JWT
  • Backends: Cloud Run, Cloud Functions, GKE, Compute, and external HTTPS
  • Rate limiting (Quota)
  • Cloud Monitoring / Logging integration
  • Multi-region HA

Example API Definition (OpenAPI)

swagger: "2.0"
info:
  title: "My API"
  version: "1.0"
host: "my-api.endpoints.PROJECT.cloud.goog"
schemes: ["https"]
paths:
  /users:
    get:
      summary: "List users"
      operationId: "listUsers"
      x-google-backend:
        address: "https://my-cloud-run-service.run.app"
      security:
        - api_key: []
      responses:
        '200': {description: "OK"}
securityDefinitions:
  api_key:
    type: "apiKey"
    name: "key"
    in: "query"

Apigee X in Detail

Key Features

  • API Proxy: Wrapper for backend APIs (Apigee Edge compatible)
  • Policies: 50+ policy types covering auth, transformation, rate limiting, caching, logging, and more
  • Developer Portal: Public-facing portal for API consumers
  • Monetization: API usage billing (metered or subscription)
  • Analytics: Traffic, latency, top apps, and other analytics
  • Apigee Sense: Fraud detection (bots and API abuse)
  • Hybrid: Run the runtime on on-prem GKE

Example Policy (Quota)

<Quota name="QuotaPolicy">
  <Allow count="1000"/>
  <Interval>1</Interval>
  <TimeUnit>hour</TimeUnit>
  <Identifier ref="developer.app.id"/>
</Quota>

When-to-Use Matrix

RequirementRecommendation
Front door for Cloud Run / Functions (simple)API Gateway
Publish a gRPC APICloud Endpoints
Publish partner / external APIs with a portalApigee X
API monetizationApigee X
Legacy SOAP → REST transformationApigee X
Regulatory compliance with on-prem runtimeApigee Hybrid

Comparison with Other Clouds

ItemAPI Gateway / ApigeeAWS API GatewayAzure APIM
Simple pricing$3/M call$3.50/M call
EnterpriseApigee XAPIM Standard from $200/month
Developer PortalExcellent (Apigee)Excellent
Mutual TLSYesYesYes

Typical Use Cases

  • Unified entry point for microservices (API Gateway)
  • Publish APIs to partners with a portal (Apigee X)
  • Modernize legacy APIs (SOAP → REST, Apigee X)
  • API monetization (Apigee X)
  • Polyglot gRPC microservices (Cloud Endpoints)

Apigee or API Gateway — which should I choose?

API Gateway is simple and cheap (~$3 per 1M calls), great as a front door for serverless APIs. Apigee is enterprise API management (Developer Portal, Monetization, advanced policies) and starts at several thousand dollars per month.

What is the difference between Apigee X and Apigee Hybrid?

Apigee X is fully SaaS (managed on GCP). Hybrid runs the runtime on GKE in your own data center or another cloud, while the management plane stays on GCP. Pick Hybrid when regulatory requirements demand it.

Is Cloud Endpoints still usable?

Yes, but for new projects API Gateway is recommended. Endpoints is based on ESPv2 and excels in specific use cases such as gRPC.

How does it relate to Cloud Armor?

Cloud Armor handles L7 WAF and DDoS, while Apigee/API Gateway handle API-layer management (auth, rate limiting, transformation). Using both together is common.

What is the pricing model?

API Gateway: $3 per 1M calls plus Cloud Run charges. Apigee X: Standard from $500/month, Enterprise from $5,000/month. A pay-as-you-go trial tier is also available.

What authentication methods are supported?

API Key, OAuth 2.0, OpenID Connect, JWT, SAML, Mutual TLS, and custom auth via JavaScript or Java Callout.

What is the Developer Portal?

A portal for API consumers that combines documentation, a Try-It-Now console, and API Key issuance. It is one of Apigee's flagship features and supports monetization.

How does it compare with AWS API Gateway and Azure API Management?

AWS shines at Lambda integration, Azure APIM is feature-rich but pricier, and Apigee leads as the veteran with strong OAuth, GraphQL, and Monetization support.

Related Articles: API Management

GCP Professional Cloud Developer (PCD) 完全ガイド|Cloud Run・GKE・CI/CD・APM

Google Cloud Professional Cloud Developer の試験範囲、Cloud Run / GKE / Cloud Build / Cloud Trace、AWS DVA / Azure AZ-204 比較、学習ロードマップを徹底解説。

GCP Professional Cloud Network Engineer (PCNE) 完全ガイド|VPC・Interconnect・Load Balancing

Google Cloud Professional Cloud Network Engineer の試験範囲、VPC / Cloud Interconnect / Cloud Load Balancing / Cloud Armor、AWS ANS・Azure AZ-700 比較を詳解。

GCP Professional Cloud DevOps Engineer (PCDOE) 完全ガイド|SRE・GKE・CI/CD・SLO

Google Cloud Professional Cloud DevOps Engineer の試験範囲、SRE / SLI / SLO / Error Budget、GKE / Cloud Build / Cloud Deploy、AWS DOP・Azure AZ-400 比較を徹底解説。

GCP Professional Cloud Database Engineer (PCDBE) 完全ガイド|Spanner・AlloyDB・Cloud SQL

Google Cloud Professional Cloud Database Engineer の試験範囲、Spanner / AlloyDB / Cloud SQL / Bigtable / Firestore、AWS DBS・Azure DP-300 比較を詳解。

Note: Google Cloud and Apigee are trademarks of Google LLC. For the latest information, see the official Apigee docs and the official API Gateway docs.

Check what you learned with practice questions

Practice with certification-focused question sets

View GCP exam prep page
Author

NicheeLab Editorial Team

NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.


Related articles
Google Cloud

Google Cloud Certification Roadmap (2026)

Choose your GCP certification path — Foundational, Associate...

Google Cloud

CDL Cloud Digital Leader: Complete Exam Guide (2026)

Pass the Cloud Digital Leader exam — cloud business value, G...

Google Cloud

GAIL Generative AI Leader: Complete Exam Guide (2026)

Pass the Generative AI Leader exam — Gemini, Vertex AI, Work...

Google Cloud

Vertex AI Fundamentals for GCP Certs (2026)

Vertex AI basics every cert candidate needs — Workbench, Pip...

Google Cloud

Associate Cloud Engineer (ACE): Complete Guide (2026)

Pass the Associate Cloud Engineer exam — Console, gcloud, pr...

Browse all Google Cloud articles (103)
© 2026 NicheeLab All rights reserved.