APF

API Publishing Function

Services
Introduced in Rel-15
The API Publishing Function (APF) is a 3GPP network function that securely exposes standardized northbound APIs to authorized third-party Application Functions (AFs). It acts as a controlled gateway, enabling service exposure and network capability consumption for vertical industries and enterprise applications within 5G and beyond.

Description

The API Publishing Function (APF) is a critical component within the 3GPP Service-Based Architecture (SBA), specifically defined under the Common API Framework (CAPIF) for 5G systems. It operates as a central entity responsible for managing and publishing the availability of standardized network Application Programming Interfaces (APIs) to external consumers, known as Application Functions (AFs). The APF maintains a comprehensive catalogue of available APIs, detailing their functionalities, versions, and the service endpoints (represented by API Invokers) where they can be accessed. It acts as the primary discovery point for AFs seeking to utilize 3GPP network capabilities, such as Quality of Service (QoS) control, location information, network status monitoring, or charging interactions.

Architecturally, the APF is a logical function that can be deployed as part of a CAPIF core function or within a specific domain. It interfaces with other CAPIF core functions, notably the API Publishing Function (itself for management), the API Invoker Management Function (AIMF) which manages the entities that host the API endpoints, and relies on the CAPIF security functions for authentication and authorization. The APF does not directly handle API invocation traffic; instead, it publishes the information necessary for an AF to discover and subsequently invoke an API at the correct endpoint (the API Invoker). This publication includes technical details like the API name, version, protocol, data formats, and the network address of the serving API Invoker.

The operation of the APF is governed by policies and involves several key procedures. When a new API is deployed or an existing one is updated, the API provider (e.g., a Network Function like the NEF or PCF) registers its API with the APF through the API publishing interface. The APF validates this registration against policies and updates its catalogue. An AF seeking to discover available APIs queries the APF, typically after mutual authentication. The APF responds with a filtered list of APIs that the AF is authorized to see and use, based on the AF's credentials and subscription. This discovery process is foundational for enabling a dynamic, scalable ecosystem where network capabilities can be offered as a service.

Its role in the network is that of an enabler for secure and manageable service exposure. By centralizing API publication, the APF provides a single point of truth for API availability, simplifies discovery for application developers, and allows network operators to maintain control over which capabilities are exposed and to whom. It is a key enabler for vertical market segmentation, network slicing service exposure, and the integration of 5G networks with enterprise IT systems and third-party cloud applications, forming the backbone of the programmable network paradigm.

Purpose & Motivation

The APF was created to address the critical need for standardized, secure, and manageable exposure of 3GPP network capabilities to external applications. Prior to its specification in 3GPP Release 15, service exposure mechanisms were often proprietary, fragmented, and lacked a unified security framework. This made it difficult and risky for mobile network operators to open their networks to third-party developers and vertical industries (e.g., automotive, healthcare, manufacturing), stifling innovation and the creation of new revenue streams beyond basic connectivity.

The introduction of the APF, as part of the broader CAPIF, was motivated by the 5G vision of supporting diverse use cases and industry verticals. These verticals require programmable access to specific network functions—like guaranteed latency, reliable bandwidth, or device location—to build specialized applications. The APF solves the problem of how these external entities can dynamically discover what network services are available, understand how to access them, and be authenticated to do so. It provides the necessary governance layer, ensuring that exposure is not an ad-hoc process but a managed service with proper authentication, authorization, auditing, and lifecycle management of the published APIs.

By establishing a common framework for API publication and discovery, the APF reduces integration complexity for both network operators and application providers. It addresses the limitations of previous non-standardized approaches by providing a scalable, policy-driven model that supports commercial agreements, API versioning, and centralized logging. This enables a thriving ecosystem where network capabilities can be consumed as a service, which is fundamental for realizing the full economic and technological potential of 5G and future generations of mobile networks.

Key Features

  • Centralized API catalogue management for all published 3GPP northbound APIs
  • Standardized API discovery mechanism for authorized Application Functions (AFs)
  • Policy-based control over API visibility and accessibility
  • Support for API versioning and lifecycle management (e.g., publication, deprecation)
  • Integration with CAPIF security framework for secure authentication and authorization
  • Enables exposure of network capabilities for verticals and network slicing services

Evolution Across Releases

Rel-15 Initial

Introduced as a core component of the initial Common API Framework (CAPIF). Defined the foundational architecture where the APF serves as the central repository for publishing API details, enabling basic API discovery by AFs. It established the key interfaces for API provider registration and AF querying, forming the basis for standardized service exposure in 5G.

Defining Specifications

SpecificationTitle
TS 23.222 3GPP TS 23.222
TS 23.700 3GPP TS 23.700
TS 23.958 3GPP TS 23.958
TS 28.879 3GPP TS 28.879
TS 29.222 3GPP TS 29.222