NEF

Network Exposure Function

Core Network
Introduced in Rel-5
The Network Exposure Function (NEF) is a 5G core network function that securely exposes network capabilities and events to authorized third-party applications and service providers. It acts as a controlled gateway, enabling new service creation, innovation, and network monetization by translating between external API requests and internal 3GPP protocols.

Description

The Network Exposure Function (NEF) is a central component within the 5G Service-Based Architecture (SBA) of the 5G Core (5GC). It serves as the standardized, secure, and policy-controlled entry point for external Application Functions (AFs) to interact with the 3GPP network. Architecturally, the NEF is a network function (NF) that communicates with other core NFs (like the Policy Control Function (PCF), Unified Data Management (UDM), and Network Repository Function (NRF)) via standardized service-based interfaces (e.g., Nnef). Its primary role is to mediate between external, non-3GPP application layer protocols (typically RESTful APIs based on HTTP/JSON) and the internal 3GPP-specific service-based interfaces (e.g., using JSON over HTTP/2). This involves API translation, protocol conversion, and ensuring that external requests are properly authorized, authenticated, and compliant with network policies.

Functionally, the NEF provides two main capabilities: exposure and storage. For exposure, it offers a northbound API (often defined in 3GPP TS 29.522) that allows AFs to request network services, such as influencing traffic routing (e.g., via the Network Slice Selection Assistance Information (NSSAI)), subscribing to network events (like UE location changes, connectivity status, or communication failure), and accessing network analytics. The NEF validates these requests against subscriber profiles and network policies enforced by the PCF. For storage, the NEF can securely store structured data received from an AF as "application data" in the Unified Data Repository (UDR) for later use by other network functions, acting as a structured data gateway.

Internally, the NEF works by receiving an API request from an AF, authenticating and authorizing the AF (often in conjunction with the Network Repository Function (NRF) and Security Edge Protection Proxy (SEPP)), and then translating that request into the appropriate service-based interface operation towards the relevant internal NF. For example, an AF request to monitor a UE's reachability status would be translated by the NEF into a subscription request to the Access and Mobility Management Function (AMF). The NEF then acts as a proxy, forwarding relevant notifications from the AMF back to the AF. This abstraction shields the internal 3GPP network from direct external access, providing a layer of security, stability, and control while enabling rich service capabilities.

Purpose & Motivation

The NEF was created to address the fundamental challenge of "walled garden" networks in previous generations (2G/3G/4G), where network capabilities were largely inaccessible to external entities, stifling innovation and service differentiation. In 4G EPC, limited exposure was provided via the Service Capability Exposure Function (SCEF), but it was often complex and not fully standardized for all capabilities. The 5G vision of enabling vertical industries (e.g., automotive, IoT, manufacturing) and new business models required a more robust, scalable, and programmable exposure framework.

Its primary purpose is to solve the problem of secure and controlled network openness. It allows Mobile Network Operators (MNOs) to monetize their network assets by offering capabilities like QoS control, location services, and network status information to enterprise partners and third-party developers through well-defined APIs. This enables the creation of tailored services such as enhanced mobile broadband with guaranteed bitrates for video providers, low-latency communication for cloud gaming, or reliable connectivity slices for industrial IoT. Furthermore, the NEF addresses security and privacy concerns by centralizing all external interactions, ensuring that exposure is governed by operator-defined policies, user consent (where applicable), and regulatory requirements, preventing unauthorized access to sensitive network data and control functions.

Key Features

  • Secure northbound API (e.g., N33) for third-party Application Functions (AFs)
  • Protocol translation between external RESTful APIs and internal 3GPP service-based interfaces
  • Policy enforcement and authorization for external API requests via interaction with PCF
  • Subscription and notification management for network events (e.g., UE location, connectivity status)
  • Structured data storage capability, acting as a frontend to the Unified Data Repository (UDR)
  • Network capability exposure including traffic influence, QoS control, and network analytics

Evolution Across Releases

Defining Specifications

SpecificationTitle
TS 21.905 3GPP TS 21.905
TS 23.222 3GPP TS 23.222
TS 23.434 3GPP TS 23.434
TS 23.435 3GPP TS 23.435
TS 23.482 3GPP TS 23.482
TS 23.501 3GPP TS 23.501
TS 23.527 3GPP TS 23.527
TS 23.558 3GPP TS 23.558
TS 23.700 3GPP TS 23.700
TS 23.745 3GPP TS 23.745
TS 23.758 3GPP TS 23.758
TS 23.764 3GPP TS 23.764
TS 24.229 3GPP TS 24.229
TS 24.542 3GPP TS 24.542
TS 26.501 3GPP TS 26.501
TS 26.502 3GPP TS 26.502
TS 26.510 3GPP TS 26.510
TS 26.512 3GPP TS 26.512
TS 26.517 3GPP TS 26.517
TS 26.531 3GPP TS 26.531
TS 26.532 3GPP TS 26.532
TS 26.567 3GPP TS 26.567
TS 26.802 3GPP TS 26.802
TS 26.803 3GPP TS 26.803
TS 26.804 3GPP TS 26.804
TS 26.806 3GPP TS 26.806
TS 26.891 3GPP TS 26.891
TS 26.919 3GPP TS 26.919
TS 26.928 3GPP TS 26.928
TS 26.942 3GPP TS 26.942
TS 28.802 3GPP TS 28.802
TS 28.816 3GPP TS 28.816
TS 28.833 3GPP TS 28.833
TS 28.843 3GPP TS 28.843
TS 28.849 3GPP TS 28.849
TS 28.851 3GPP TS 28.851
TS 28.879 3GPP TS 28.879
TS 29.122 3GPP TS 29.122
TS 29.175 3GPP TS 29.175
TS 29.255 3GPP TS 29.255
TS 29.503 3GPP TS 29.503
TS 29.504 3GPP TS 29.504
TS 29.508 3GPP TS 29.508
TS 29.512 3GPP TS 29.512
TS 29.513 3GPP TS 29.513
TS 29.514 3GPP TS 29.514
TS 29.515 3GPP TS 29.515
TS 29.517 3GPP TS 29.517
TS 29.518 3GPP TS 29.518
TS 29.519 3GPP TS 29.519
TS 29.520 3GPP TS 29.520
TS 29.521 3GPP TS 29.521
TS 29.522 3GPP TS 29.522
TS 29.523 3GPP TS 29.523
TS 29.530 3GPP TS 29.530
TS 29.532 3GPP TS 29.532
TS 29.534 3GPP TS 29.534
TS 29.535 3GPP TS 29.535
TS 29.536 3GPP TS 29.536
TS 29.541 3GPP TS 29.541
TS 29.542 3GPP TS 29.542
TS 29.543 3GPP TS 29.543
TS 29.551 3GPP TS 29.551
TS 29.552 3GPP TS 29.552
TS 29.554 3GPP TS 29.554
TS 29.558 3GPP TS 29.558
TS 29.562 3GPP TS 29.562
TS 29.564 3GPP TS 29.564
TS 29.574 3GPP TS 29.574
TS 29.575 3GPP TS 29.575
TS 29.576 3GPP TS 29.576
TS 29.581 3GPP TS 29.581
TS 29.591 3GPP TS 29.591
TS 29.675 3GPP TS 29.675
TS 29.889 3GPP TS 29.889
TS 29.890 3GPP TS 29.890
TS 32.254 3GPP TR 32.254
TS 32.255 3GPP TR 32.255
TS 32.819 3GPP TR 32.819
TS 32.899 3GPP TR 32.899
TS 33.127 3GPP TR 33.127
TS 33.519 3GPP TR 33.519
TS 33.535 3GPP TR 33.535
TS 33.739 3GPP TR 33.739
TS 33.749 3GPP TR 33.749
TS 33.835 3GPP TR 33.835
TS 33.882 3GPP TR 33.882