All Products
Search
Document Center

Edge Security Acceleration:API reference

Last Updated:Jun 22, 2026

The APIs for Edge Function and Pages process requests on points of presence (POPs) closest to your users, reducing latency and delivering faster responses.

API

Description

Runtime API

Lists the Web APIs, Node APIs, and ESA-specific APIs available in Edge Function.

Fetch API

Fetch data from edge POPs over HTTP or HTTPS. The Fetch API works like the browser Fetch API and supports dynamic content loading, backend interaction, and A/B testing.

Stream API

The Streams API processes streaming data at the edge. It supports chunked transfer for media streams like audio and video, improving transfer efficiency.

HTMLStream API

You can use the HTMLStream API to process HTML streaming data on points of presence (POPs), such as real-time stock data or chat records. Moreover, with the HTMLStream API, you can transmit HTML streaming data in chunks to accelerate data transmission.

Cache API

Cache API is a method to cache data. By using Cache API, you can cache data on edge nodes to quickly return data on subsequent requests. Cache API allows you to configure the cache duration and cache size for better control over caching policies.

Other APIs

Other standard web APIs available in Edge Function, such as URL, URLSearchParams, TextDecoder, TextEncoder, atob, btoa, and setTimeout/clearTimeout/setInterval/clearInterval.

Edge KV API

Built-in APIs for Edge KV, such as Constructor, get, and delete.