Architecture & BFF

API Composition

Direct Definition

API composition is a pattern where a composer layer calls multiple upstream services, then combines and transforms their results into a single response. It lets clients retrieve data owned by different systems, such as a CRM and a billing provider, through one request.

Technical Architecture & Deep-Dive

In distributed systems, data is spread across services and SaaS tools. API composition implements cross-service queries in memory: the composer fetches each source, joins records by shared keys, and maps the merged result into the shape the client needs.

Running the composer at the edge keeps latency low because upstream calls execute in parallel from a well-connected network location. Declarative composition tools let teams define steps and output mappings without writing and hosting custom glue servers.

Key Architectural Benefits

Joins data from systems that cannot query each other directly.
Hides upstream complexity behind one stable client contract.
Supports low-code and no-code frontends that can only call a single URL.
REALCOMPOSER EDGE WORKSPACE

Compose APIs Visually

Define upstream steps and output mappings, then deploy a composed endpoint globally.

LAUNCH TOOL

Frequently Asked Questions

Q:How is API composition different from API aggregation?

The terms overlap. Aggregation emphasizes bundling multiple calls into one request, while composition emphasizes joining and reshaping the combined data into a new unified model.

Related Architecture Concepts

Ready-to-Use Edge Recipes