CAPIF

Common API Framework

Interface
Introduced in Rel-15
CAPIF is a standardized framework for exposing 3GPP network capabilities via northbound APIs. It provides a common, secure, and discoverable interface for third-party applications and service providers to consume network functions. This enables innovation, simplifies integration, and fosters an ecosystem of value-added services on top of 5G and beyond.

Description

The Common API Framework (CAPIF) is a cornerstone of 3GPP's service-based architecture, designed to provide a unified, standardized, and secure method for exposing network capabilities to external entities. It functions as an API management layer that sits between the 3GPP core network functions (NFs) and external Application Functions (AFs) or third-party service providers. CAPIF's primary role is to abstract the complexity of the underlying network, offering a consistent, well-defined, and discoverable set of northbound APIs. This allows developers to create applications that leverage network capabilities—such as quality of service (QoS) control, location information, network status, and user authentication—without needing deep knowledge of the proprietary interfaces or internal protocols of the network. The framework is built on RESTful principles, typically using HTTP/2 and JSON, aligning with modern web development practices for ease of adoption.

Architecturally, CAPIF is centered around several key logical functions. The CAPIF Core Function (CCF) is the central entity that provides API publishing, discovery, and registration services. It maintains a repository of available APIs from various API exposing functions. The API Invoker is the client entity (e.g., an external AF) that discovers and invokes APIs after proper authentication and authorization. The API Exposing Function (AEF) is the entity that hosts and exposes the actual network capability APIs, such as a Network Exposure Function (NEF) or a Charging Function. The CAPIF Provider Domain represents the administrative domain that operates the CAPIF framework, typically the mobile network operator (MNO). Security is paramount, managed by the CAPIF Security Function, which handles authentication, authorization, and certificate management for all entities interacting within the framework.

The operation of CAPIF follows a defined lifecycle. First, an API Provider (like an NEF) publishes its API interface details (the API definition, endpoints, and supported operations) to the CCF. An external API Invoker (an application server) then discovers available APIs by querying the CCF. Before invocation, the API Invoker must register with the CAPIF framework and obtain the necessary credentials and access tokens. The CCF and Security Function perform authentication and policy-based authorization to ensure the invoker is permitted to access the specific API. Once authorized, the API Invoker can directly invoke the API on the respective AEF. CAPIF also supports API lifecycle management, including versioning and deprecation, as well as logging and charging for API usage. This managed, secure gateway model prevents unauthorized access to sensitive network functions while enabling controlled and monetizable exposure.

CAPIF's role extends beyond simple API exposure; it is an enabler for network programmability and open innovation. By providing a single, standardized framework, it eliminates the need for bilateral, custom integrations between application providers and each MNO. This reduces development time and cost for third parties and allows MNOs to consistently manage and monetize their network assets. In the context of 5G and network slicing, CAPIF is crucial for allowing vertical industries (e.g., automotive, manufacturing) to request and manage slices or specific network behaviors for their applications through standardized APIs. It thus acts as the bridge that transforms the telecom network from a closed, monolithic system into an open platform for service creation.

Purpose & Motivation

CAPIF was created to address the historical challenge of 'walled gardens' in telecommunications networks. Before its introduction, network capabilities were largely inaccessible or exposed through proprietary, operator-specific interfaces. This made it difficult and expensive for third-party application developers and enterprises to innovate and create services that leveraged real-time network intelligence, such as user location, bandwidth management, or connectivity status. The lack of a common framework resulted in fragmented ecosystems, duplicated development efforts, and slowed the pace of service innovation in the mobile domain.

The primary problem CAPIF solves is providing a standardized, secure, and scalable method for Network Exposure. As 3GPP evolved towards a cloud-native, service-based architecture (SBA) with 5G, the need for a formalized exposure layer became critical. CAPIF provides this layer, defining the common rules, security procedures, discovery mechanisms, and lifecycle management for all northbound APIs. This solves the integration complexity problem, allowing an application written for one operator's network to more easily work with another's, fostering a healthier application ecosystem.

Furthermore, CAPIF enables new business models for Mobile Network Operators (MNOs). By offering a controlled and billable gateway to network capabilities, MNOs can monetize their network assets beyond basic connectivity. It empowers vertical industries participating in the 5G economy—like IoT, automotive, and media—to directly interact with the network to fulfill their specific requirements for low latency, high reliability, or massive device connectivity. In essence, CAPIF is the technological foundation that allows the 3GPP network to become a true platform-as-a-service (PaaS), driving innovation and creating new revenue streams in the 5G era.

Key Features

  • Standardized API Publishing & Discovery
  • Unified Authentication & Authorization Framework
  • API Lifecycle Management (Versioning, Deprecation)
  • Provider Domain Isolation & Multi-Domain Support
  • Comprehensive Logging and Charging Support
  • RESTful Architecture with HTTP/2 and JSON

Evolution Across Releases

Rel-15 Initial

Introduced the foundational CAPIF architecture, defining the core logical functions (CCF, AEF, API Invoker), the security framework, and the basic procedures for API publishing, discovery, and invocation. It established the RESTful interface principles and the initial set of service APIs for common capabilities like API discovery and provider domain management.

Defining Specifications

SpecificationTitle
TS 22.832 3GPP TS 22.832
TS 23.222 3GPP TS 23.222
TS 23.255 3GPP TS 23.255
TS 23.286 3GPP TS 23.286
TS 23.433 3GPP TS 23.433
TS 23.434 3GPP TS 23.434
TS 23.438 3GPP TS 23.438
TS 23.501 3GPP TS 23.501
TS 23.554 3GPP TS 23.554
TS 23.558 3GPP TS 23.558
TS 23.700 3GPP TS 23.700
TS 23.722 3GPP TS 23.722
TS 23.745 3GPP TS 23.745
TS 23.758 3GPP TS 23.758
TS 23.764 3GPP TS 23.764
TS 23.958 3GPP TS 23.958
TS 24.538 3GPP TS 24.538
TS 24.560 3GPP TS 24.560
TS 26.501 3GPP TS 26.501
TS 26.531 3GPP TS 26.531
TS 26.891 3GPP TS 26.891
TS 28.849 3GPP TS 28.849
TS 28.879 3GPP TS 28.879
TS 29.116 3GPP TS 29.116
TS 29.122 3GPP TS 29.122
TS 29.222 3GPP TS 29.222
TS 29.486 3GPP TS 29.486
TS 29.522 3GPP TS 29.522
TS 29.538 3GPP TS 29.538
TS 29.558 3GPP TS 29.558
TS 32.254 3GPP TR 32.254
TS 32.291 3GPP TR 32.291
TS 32.298 3GPP TR 32.298
TS 33.122 3GPP TR 33.122
TS 33.519 3GPP TR 33.519
TS 33.884 3GPP TR 33.884