SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
Modernize Infrastructure and Applications with Google Cloud

APIs and Apigee: The Business Value of APIs (Cloud Digital Leader)

16 min readCDL · Modernize Infrastructure and Applications with Google CloudUpdated

An application programming interface (API) is a defined contract that lets one program request data or actions from another without knowing how that program works inside. This lesson covers task 4.3 of the Google Cloud Digital Leader exam guide. It explains what an API is and why APIs matter for reuse, modernization and real-time integration, how organizations create new business by exposing and monetizing public-facing APIs, and the business value of Apigee API Management: proxies with shared policies, security and traffic control, analytics, the developer portal, monetization with rate plans, Advanced API Security and Apigee hybrid. It also shows when the lighter API Gateway or Cloud Endpoints is enough instead.

What you’ll learn
  • Define an application programming interface (API) and explain why a stable API contract lets providers change their systems without breaking callers
  • Explain how APIs let organizations reuse one capability across channels, decouple applications from old backends and replace batch file exchange with on-demand access
  • Describe how exposing public-facing APIs creates new business opportunities with partners and developers
  • Compare API monetization models (consumption, recurring and setup fees, revenue sharing, free tiers) and prepaid versus postpaid billing in Apigee
  • Describe the business value of Apigee API Management: proxies with shared policies, security, traffic control, analytics, a developer portal and monetization
  • Choose between Apigee, API Gateway and Cloud Endpoints, and recognise when Apigee hybrid fits

What an application programming interface (API) is

An application programming interface (API) is a defined contract that lets one program request data or actions from another program: the caller sends a request in an agreed format and gets a response in an agreed format, without seeing or touching the code, servers or database behind it. People use applications through a user interface; programs use each other through APIs.

A familiar example is a fitness app that shows a user's sleep data from a wearable maker's platform. The app's developers never see the wearable company's systems. They send a request such as "sleep summary for this user, last night" to an interface the wearable company publishes, and its platform answers. How that platform stores or calculates the data stays hidden.

Because callers depend only on the contract, the provider can change everything behind it, rewriting the service in another language, moving it to new servers or changing its database, and callers keep working as long as the requests and responses stay the same. That stability is what makes APIs the building blocks of modern, connected applications.

Four properties together define an API, and each one separates it from another way of sharing a system:

Property of an APIWhy it mattersWhat lacks it
Built for programsSoftware can call it reliably, with no person in the loopScreens and web pages are built for people; software that reads them breaks when the page layout changes
Internals hidden behind a contractThe provider can change its systems without breaking callersSharing a database exposes its table layout, so every schema change breaks someone
Answers on demand with current dataEach request gets today's answer, not yesterday'sScheduled file exports are stale between runs and cannot answer a single question
Defines what can be asked and how answers lookCallers know exactly how to use it, and access can be controlled per callerA network connection only carries traffic; it says nothing about requests or responses

How APIs create value inside an organization

Inside an organization, APIs create value by letting one capability be built once and reused everywhere, by decoupling applications from the systems behind them, and by replacing slow batch exchanges with on-demand access.

  • Reuse across channels. An energy utility that offers its outage-status system through one API can feed its customer app, its text-message alerts and its call-centre screens the same live information, instead of building and maintaining a separate integration for each. A new channel later is just one more caller.
  • Decoupling during modernization. A stable API layer between applications and an old backend lets the organization replace that backend in stages while the teams building on top keep working against an interface that does not change. A hospital group, for example, can swap out its patient-records system module by module while its patient portal keeps releasing features. Without that layer, every backend change ripples into every application. This ties APIs to the modernization approaches covered in the lesson on transitioning to the cloud (task 4.1).
  • Real-time instead of batch. Batch transfers deliver data as it was at the last run. An API answers each request with current data within seconds, which is what quoting, tracking and booking experiences need.
  • Faster delivery. Teams build new products by combining existing APIs rather than integrating with each system from scratch.

The principle behind all four: integration value comes from the interface, not from the infrastructure. Where a system runs, and what it runs on, does not change how easily other software can use it; a well-defined API does.

Public-facing APIs and new business opportunities

Exposing public-facing APIs creates new business opportunities by letting partners and outside developers build their own products on an organization's data or services, which brings the organization new channels, new customers and often new revenue at a scale it could not reach alone.

Examples of the pattern:

  • A payment processor offers checkout APIs, so thousands of online stores embed its payments in their own sites and the processor earns a fee on each transaction.
  • A city transit agency publishes real-time departure APIs, so map and journey-planning apps show its services to riders who never open the agency's own app.
  • A car maker offers vehicle-data APIs that insurers and fleet managers use, with each driver's consent, to build usage-based products.
  • A translation company that used to sign individual enterprise contracts adds self-service APIs, so developers anywhere can sign up, start calling and pay for what they use. Self-service is what lets an API reach a long tail of small customers that a direct sales model could never serve profitably.

The common thread is that other organizations' software uses the provider's live data or functions inside their own products. That is what separates an API business from simply publishing information for people to look at.

Opening an API is a controlled offer, not a handover. Every caller is still identified with credentials such as API keys or OAuth tokens, so the provider decides who may call; the provider still runs, secures and pays for the systems behind the API; and partner channels add to the organization's own channels rather than replacing them.

Monetizing APIs: pricing models

API monetization means earning revenue from API access, and the main models are consumption (pay per call or per unit used), recurring fees, one-time setup fees, revenue sharing, and free tiers that lead into paid plans. The right model depends on what the provider wants developers to do.

ModelHow money flowsFits when the provider wants…
Consumption (pay per use)Developer pays for the calls or units its apps actually usePrice to track usage, so light users pay little and heavy users pay more
Recurring fee (subscription)Developer pays a fixed amount each period for accessPredictable income, whatever the call volume
Setup feeDeveloper pays once when it starts using the API productTo cover onboarding costs or qualify serious users
Revenue sharingProvider pays the developer a share of the sales the developer's app generatesPartners to promote its products, earning more as they sell more
Free tierNo charge up to a set allowanceDevelopers to try the API before moving to a paid plan

Notice the direction of revenue sharing. In the other models the developer pays the provider; in revenue sharing the provider pays the developer. It makes sense when each sale a partner brings in is worth more to the provider than any fee it could charge for the calls, as when a hotel group pays comparison sites a share of the bookings they generate.

Monetization in Apigee

Apigee supports these models with rate plans attached to API products (a bundle of APIs offered to developers). A rate plan is where the fees are defined: it can combine setup, recurring and consumption fees and revenue sharing. Developers are billed in one of two ways:

Billing typeHow it worksBusiness effect
PrepaidThe developer tops up a wallet in advance and charges are deducted from it as calls are made. With a monetization limits check on the API proxy, calls can be blocked when the balance runs out.Money arrives before use, which limits the provider's credit risk when it serves many developers it has no billing relationship with
PostpaidUsage is recorded and the developer is invoiced and pays after useLower friction for established partners, but the provider extends credit and collects later

Keep the roles apart: a rate plan decides what a developer owes, and the billing type decides when it is paid. Limits on call volume and tools that track the provider's own cloud costs do neither.

What Apigee API Management is and the value it adds

Apigee API Management is Google Cloud's platform for managing APIs through their whole lifecycle, from design and security through traffic control, analytics, monetization and a developer portal, so an organization can run its APIs as products. It is the Google Cloud answer when APIs need to be secured, measured, published to partners and sold.

Apigee works by placing an API proxy in front of each existing API or backend. Callers talk to the proxy; the proxy applies policies (checking keys, enforcing limits, caching, transforming messages, logging) and then forwards the request to the backend. The backends stay where they are and keep their own code; Apigee adds a managed layer in front of them and nothing more.

This brings three kinds of business value:

  • Consistency. Without a shared layer, every API in a portfolio tends to implement authentication, limits and logging in its own way, and every partner has to learn each one. Policies defined once in Apigee apply the same way to every proxy.
  • Control and protection. Security and traffic rules are enforced centrally, before requests reach backend systems.
  • Insight and growth. Analytics show who uses which API, while the developer portal and monetization turn APIs into products outside developers can find and pay for.

Modern APIs in front of legacy systems

Because proxies sit in front of whatever backend exists, Apigee can give partners modern, secured APIs over an old on-premises system right away, without rewriting or migrating that system first. Only the interface layer changes, so the business gets the partner-facing benefit without the cost and risk of a migration. The proxy layer then becomes the stable interface behind which the old system can be replaced later, at the organization's own pace.

Securing APIs and controlling traffic with Apigee

Apigee secures APIs by verifying every caller's credentials at the proxy and protects backends by limiting how much traffic each caller can send, so unwanted or excessive requests are stopped before they reach any backend system.

  • Identifying callers. Each developer app gets an API key, or obtains OAuth tokens. The proxy checks the key or token on every request and turns away callers that have not been approved. Access control is about who may make a call, which is a different question from how data is protected once a call is allowed.
  • Quotas. A quota limits how many calls an app can make in a period (for example per minute or per month), typically set per API key or per product plan.
  • Spike arrest. Smooths sudden bursts of requests, so a burst from any single caller cannot flood the backend and slow the API for everyone.
  • Response caching. Stores frequent responses at the proxy, so callers get faster answers and backends do less work.

The principle: only an enforced limit refuses calls. Reports, documentation and prices can describe, explain or discourage traffic, but none of them stops a request from reaching the backend.

Advanced API Security

Apigee Advanced API Security is an add-on that goes beyond keys and quotas, in two ways. It assesses API proxy configurations against security best practices and scores them, so the security team can find APIs that are missing important protections. And it detects API abuse from traffic patterns, catching misuse that looks legitimate request by request and that fixed limits therefore miss. Because it runs inside Apigee, it uses the same proxies and traffic data. Filtering at the network edge, in front of Apigee, blocks malicious traffic but has no view of how each API proxy is configured.

Apigee analytics, the developer portal and how the features differ

Apigee analytics tells the business how its APIs are used, and the developer portal lets outside developers adopt them on their own; together with policies and monetization, each feature does a distinct job.

API analytics records traffic, response times and errors per API, per API product and per developer app over time. Product managers use it to see which APIs and partners drive usage, where errors cluster, how adoption changes after a launch or a price change, and where to invest. It measures the behaviour of callers. That makes it different from tools that measure the provider's own side, such as its cloud costs or whether its backend servers are up.

A developer portal is a website where outside developers discover the available APIs, read documentation, register their apps and get API keys without contacting the provider's staff. Its business value is scale: adoption can grow to thousands of developers without a support person for each one. Apigee offers an integrated portal and a customizable Drupal-based portal, both of which can be branded.

Apigee capabilityBusiness question it answers
Proxy security policies (API keys, OAuth)Who is allowed to call, and how do we turn others away?
Quotas and spike arrestHow do we stop any one caller overloading the backend?
Response cachingHow do we answer faster and reduce backend load?
AnalyticsWho uses which API, how often, and with what errors?
Developer portalHow do outside developers find, learn and start using our APIs by themselves?
Monetization (rate plans)How do we charge for API access, or share revenue with partners?
Advanced API SecurityWhich APIs are misconfigured, and who is abusing them?

Apigee compared with API Gateway and Cloud Endpoints

Google Cloud has three ways to put a managed front door on APIs: Apigee for full API management, and the lighter API Gateway and Cloud Endpoints for securing and monitoring APIs. Choose Apigee when APIs are a product, with monetization, a developer portal, and many partners to manage.

Apigee API ManagementAPI GatewayCloud Endpoints
What it isFull-lifecycle API management platformFully managed gateway designed for serverless backends such as Cloud Run and Cloud Run functions (it also supports App Engine, Compute Engine and GKE)API management through a proxy deployed alongside the API, typically on Compute Engine or GKE
Security and monitoringYes, plus shared policies across all APIs and Advanced API SecurityYes (API keys, service accounts, tokens; monitoring and logging)Yes (API keys and authentication; monitoring)
Monetization (paid plans, revenue sharing)YesNoNo
Developer portalYes, brandableNoNo (its former portal was shut down in 2023)
Customer-run runtime with Google-hosted management (hybrid)Yes, with Apigee hybridNoNo; its proxy can run on other Kubernetes clusters, but there is no hybrid management offering
Typical fitAPIs offered to partners and developers as a businessSimple, secure front door for serverless APIsSecuring and monitoring APIs on Google Cloud compute

The backend type is not what decides between them; the business need is. A recipe platform that serves its own mobile app through API Gateway has what it needs for keys and monitoring. If it later wants to sell access to food-delivery partners on paid tiers, with self-service sign-up, those product needs point to Apigee. Cloud Load Balancing is not an API management product at all: it distributes traffic across backends but does not authenticate developers, meter calls or publish APIs.

Older study material sometimes describes a Cloud Endpoints developer portal. Cloud Endpoints Portal was deprecated in 2022 and shut down in 2023, so today a developer portal on Google Cloud means Apigee.

Where Apigee runs: Google-hosted or hybrid

Apigee can run fully hosted by Google in Google Cloud, or as Apigee hybrid, where the runtime plane that processes API requests runs on Kubernetes clusters the customer manages in its own data centers or other environments, while Google hosts the management plane (the console, configuration and analytics).

Apigee hybrid fits organizations, such as healthcare providers or government agencies, that must keep API request processing in their own facilities for regulatory, data-residency or latency reasons but still want Google to run the management side. The comparison:

OptionWhere API requests are processedWho runs management (console, analytics)
Apigee hosted by GoogleGoogle CloudGoogle
Apigee hybridCustomer-managed Kubernetes clusters (on premises or another cloud)Google
API GatewayGoogle CloudGoogle

A rule about where processing happens is a rule about where the runtime runs. Proximity does not satisfy it: a Google Cloud region near a data center is still Google Cloud. Running a gateway entirely on the organization's own servers also keeps processing in-house, but then the organization runs the management side too, which is exactly what hybrid avoids.

Tip. Questions on this topic are short business scenarios. Some ask what an API is or why exposing one creates value, with full-sentence options to read for what each actually claims. Others ask which pricing approach, Apigee capability or Google Cloud product fits a stated need, with options drawn from the same family: Apigee features (analytics, developer portal, quotas, monetization, security policies), or Apigee against API Gateway, Cloud Endpoints and Cloud Load Balancing. The deciding detail is usually a stated business constraint in the scenario, so read it before the options. Harder items combine two needs. Expect an occasional Select TWO item.

Key takeaways
  • An API is a contract between programs: agreed requests and responses, with the provider's internals hidden. Keep the contract stable and the provider can change everything behind it.
  • One API can serve every channel with the same live data, and a stable API layer lets an old backend be replaced piece by piece while apps keep shipping.
  • Public-facing APIs let partners and developers build on an organization's capabilities, opening new channels and customers; callers still authenticate, and the provider still runs the backend.
  • Consumption pricing scales with use, recurring and setup fees are fixed, and revenue sharing pays the developer a share of the sales it generates.
  • In Apigee, rate plans on API products set the fees; prepaid wallets collect charges up front (and can block calls at zero balance with a monetization limits check), while postpaid invoices after use.
  • Apigee puts proxies with shared policies in front of existing APIs, including legacy systems, without moving or rewriting the backends.
  • Only enforced controls stop bad traffic: keys or OAuth tokens turn away unapproved callers, and quotas and spike arrest stop floods. Analytics only reports afterwards.
  • Analytics answers who uses what; the developer portal lets developers onboard themselves; Advanced API Security finds misconfigured APIs and abuse.
  • API Gateway and Cloud Endpoints secure and monitor APIs; Apigee is the choice when APIs are a product needing monetization and a developer portal, whatever the backend runs on.
  • Apigee hybrid keeps request processing on customer-managed Kubernetes while Google hosts the management plane.

Frequently asked questions

What is an API in simple terms?

An application programming interface (API) is a defined set of rules that lets one program ask another program for data or actions. The caller sends a request in an agreed format and gets a response in an agreed format, without seeing the other program's code, servers or database. People use applications through screens; programs use each other through APIs.

How do companies make money from APIs?

Companies make money from APIs by letting partners and developers build products on their data or services and charging for that access. Common models are pay-per-call consumption pricing, recurring subscription fees, one-time setup fees and free tiers that lead into paid plans. Some providers instead share revenue with developers whose apps generate sales, such as comparison sites earning a share of the hotel bookings they send.

What is Apigee used for?

Apigee API Management is Google Cloud's platform for managing APIs through their whole lifecycle. It places proxies in front of existing APIs and backends to apply shared security and traffic policies, records analytics on who uses each API, offers a developer portal where outside developers sign up and get keys, and supports monetization with rate plans. Organizations use it to run their APIs as products.

What is the difference between Apigee and API Gateway?

API Gateway is a fully managed gateway that secures and monitors APIs. It is designed for serverless backends such as Cloud Run and Cloud Run functions, and also supports App Engine, Compute Engine and GKE. Apigee is a full API management platform that adds shared policies across many APIs, detailed analytics, a brandable developer portal, monetization with paid plans and revenue sharing, Advanced API Security and the option to run its runtime on premises with Apigee hybrid.

Does Apigee replace or move my backend systems?

No. Apigee places API proxies in front of existing backends, which stay where they are and keep their code. The proxies apply security, traffic and logging policies and forward requests to the backends. This lets an organization offer modern, secured APIs over legacy or on-premises systems without rewriting them first.

What is Apigee hybrid?

Apigee hybrid is a deployment option in which the Apigee runtime plane, the part that processes API requests, runs on Kubernetes clusters the customer manages in its own data centers or another environment, while Google hosts the management plane with the console, configuration and analytics. It suits organizations that must keep API traffic processing on their own premises but want Google to run API management.

What is the difference between prepaid and postpaid billing in Apigee monetization?

With prepaid billing, a developer tops up a wallet in advance and Apigee deducts charges from it as calls are made. When the API proxy has a monetization limits check, calls can be blocked once the balance runs out, so charges are collected up front. With postpaid billing, usage is recorded and the developer is invoiced after use, which suits established partners but means the provider collects later. The fees themselves come from a rate plan on the API product.

How does Apigee protect a backend from too many requests?

Apigee protects backends with enforced traffic policies at the proxy. Quotas limit how many calls each app or API key can make in a period, and spike arrest smooths sudden bursts so no single caller can flood the backend. Response caching also reduces backend load. Reports and documentation can describe traffic, but only these enforced limits refuse excess calls.

Source

This lesson covers the "Modernize Infrastructure and Applications with Google Cloud" domain of the official CDL exam guide. Vendors revise their guides — check the source for the current version.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?