Fastly website screenshot

Fastly

Fastly is an edge cloud platform that helps customers create great digital experiences quickly, securely, and reliably by processing, serving, and securing their applications closer to their users. The platform spans CDN, Edge Compute (WebAssembly), Object Storage, AI Accelerator (semantic caching for LLMs), AI Bot Management, Next-Gen WAF (Signal Sciences), DDoS Protection, Image Optimizer, Live & Video Streaming, Fanout real-time messaging, and an MCP Server for AI-driven control.

23 APIs 31 Features
CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging

APIs

Fastly Services API

The Fastly Services API allows developers to create, configure, and manage Fastly CDN services and their versions programmatically. Services are the primary organizational unit ...

Fastly Purging API

The Fastly Purging API enables developers to instantly remove cached content from Fastly's edge network so it can be refreshed from origin servers. It supports single URL purges...

Fastly Real-Time Logging API

The Fastly Real-Time Logging API allows developers to configure and manage logging endpoints that receive streamed log data from Fastly's edge network. Fastly supports logging t...

Fastly Metrics and Stats API

The Fastly Metrics and Stats API provides access to both real-time and historical analytics data for Fastly services. The real-time analytics endpoint, served on rt.fastly.com, ...

Fastly TLS API

The Fastly TLS API enables developers to manage TLS certificates, private keys, and domain configurations for securing traffic delivered through Fastly's edge network. It suppor...

Fastly VCL Services API

The Fastly VCL Services API provides programmatic access to configure Varnish Configuration Language (VCL) objects that power most Fastly services. Developers can upload custom ...

Fastly Account API

The Fastly Account API provides endpoints for managing customer accounts, users, and identity and access management (IAM) resources. Developers can programmatically manage user ...

Fastly Authentication Tokens API

The Fastly Authentication Tokens API enables developers to create and manage API tokens used to authenticate requests to the Fastly API. Tokens can be scoped to specific service...

Fastly Access Control Lists API

The Fastly Access Control Lists API allows developers to create and manage ACLs that can be used to control access to content at the edge. ACLs contain entries of IP addresses o...

Fastly Edge Dictionaries API

The Fastly Edge Dictionaries API provides endpoints for creating and managing key-value lookup tables that are accessible at the edge without requiring a service version change....

Fastly Compute API

The Fastly Compute platform enables developers to build and deploy serverless applications that run on Fastly's global edge network using WebAssembly. Compute services support c...

Fastly Next-Gen WAF API

The Fastly Next-Gen WAF (formerly Signal Sciences) API allows you to manage workspaces, requests, events, redactions, tags, and rules. Resources include Agent Keys, Agents, Cust...

Fastly Domain Management API

The Fastly Domain Management API allows developers to programmatically associate domain names with Fastly services. Domains serve as the entry point for traffic routed through F...

Fastly Products API

The Fastly Products API provides endpoints for enabling and managing Fastly product features on services, including Bot Management, AI Bot Management, DDoS Protection, Image Opt...

Fastly Observability API

The Fastly Observability APIs enable you to setup and manage Fastly's Observability features on your site, product or service across all our Network Services, Compute and Securi...

Fastly API Security API

The Fastly API Security product builds a continuously updated, searchable catalog of all your API endpoints. The API exposes Operations sub-resources for managing discovered API...

Fastly DDoS Protection Events API

The Fastly DDoS Protection Events API allows you to configure Fastly DDoS Protection and view attack insights including events, rules, and traffic statistics. Endpoints are expo...

Fastly Client-Side Protection API

Fastly Client-Side Protection (CSP) provides visibility and control over third-party scripts running on your web pages. The API monitors script behavior, manages authorization s...

Fastly Publishing (Fanout) API

The Fastly Publishing API sends messages to Fanout subscribers. Fanout is designed to be GRIP-compatible, such that https://api.fastly.com/service/{service_id} can be used as a ...

Fastly Load Balancing API

The Fastly Load Balancing API spreads traffic across multiple backends automatically. It exposes two primary mechanisms - Directors bound to VCL service versions for locked conf...

Fastly Utilities API

The Fastly Utilities API covers various utilities and extra functionality provided in addition to the configuration services. Endpoints include Content Status (which version of ...

Fastly AI Accelerator

Fastly AI Accelerator is a semantic caching solution that "boosts the performance of popular LLMs like OpenAI and Google Gemini by 9x" with minimal implementation effort. Semant...

Fastly Object Storage

Fastly Object Storage is an S3-compatible cloud storage solution designed as a drop-in replacement for traditional object storage services, featuring zero egress fees and 99.999...

Collections

Fastly TLS API

POSTMAN

Arazzo Workflows

Fastly Add Cache Settings

Clone the active version, create a cache settings rule, then activate the new version.

ARAZZO

Fastly Add Condition and Cache Settings

Clone a version, create a condition, attach a cache settings rule to it, then activate.

ARAZZO

Fastly Add a Domain to a Service

Clone the active version, add a new domain to the clone, then activate it.

ARAZZO

Fastly Add a Header Rule

Clone the active version, add a header manipulation rule, then activate the new version.

ARAZZO

Fastly Add a VCL Snippet

Clone the active version, insert a VCL snippet, then activate the new version.

ARAZZO

Fastly Bulk Purge Surrogate Keys

Confirm a service exists, then purge up to 256 surrogate keys in one request.

ARAZZO

Fastly Bulk Update ACL Entries

Resolve an ACL by name, then create, update, and delete its entries in one batch.

ARAZZO

Fastly Bulk Update Dictionary Items

Resolve a dictionary by name, then create, update, upsert, and delete items in one batch.

ARAZZO

Fastly Clone, Update Backend, and Activate

Clone the current version, change a backend on the clone, then activate the new version.

ARAZZO

Fastly Create ACL and Add Entry

Create an ACL on a version, activate the version, then add an IP entry to the ACL.

ARAZZO

Fastly Create Dictionary and Add Item

Create a dictionary on a version, activate it, then add a key-value item.

ARAZZO

Fastly Find Service and Clone Active Version

Search a service by name, read its versions, then clone the active one into a draft.

ARAZZO

Fastly Provision a Service

Create a service, add a draft version, attach a backend and a domain, then activate.

ARAZZO

Fastly Provision TLS Activation

Upload a key, upload a certificate, then activate TLS for a domain with that certificate.

ARAZZO

Fastly Purge by Surrogate Key

Confirm a service exists, then instantly purge all objects tagged with a surrogate key.

ARAZZO

Fastly Purge URL or Purge All

Branch on the requested scope to either purge a single URL or purge all service content.

ARAZZO

Fastly Upload Custom VCL

Clone the active version, upload a main custom VCL file, then activate the new version.

ARAZZO

Fastly Upload TLS Key and Certificate

Upload a TLS private key, then upload the matching custom TLS certificate.

ARAZZO

Fastly Verify Domain DNS

Read a domain, then check its DNS configuration and branch on the result.

ARAZZO

GraphQL

Fastly GraphQL Schema

This conceptual GraphQL schema represents the Fastly edge cloud platform API surface. Fastly does not currently expose a native GraphQL endpoint; this schema is a structured rep...

GRAPHQL

Pricing Plans

Fastly Plans Pricing

12 plans

PLANS

Rate Limits

Fastly Rate Limits

13 limits

RATE LIMITS

FinOps

Fastly Finops

FINOPS

Features

{"CDN free tier" => "100 GB bandwidth + 1M requests/month"}
CDN PAYG: $0.08-$0.28/GB and $0.01 per 10K requests (region-tiered)
Compute free tier: 10M requests + 100M vCPU ms / month
Compute PAYG: $0.20-$0.50 per 1M requests, $0.02-$0.05 per 1M vCPU ms
Object Storage free tier: 5 GB / month, zero egress fees
Object Storage PAYG: $0.017-$0.02/GB, $0.0025 / 1K Class A ops, $0.0004 / 1K Class B ops
Image Optimizer free tier: 100,000 requests / month
Image Optimizer PAYG: $0.50-$0.01 per 10K requests
AI Accelerator free tier: 20,000 requests / month
AI Accelerator PAYG: $0.40-$0.28 per 1,000 requests
Domain Research API free tier: 10,000 requests / month
Basic Package: $1,500/month (100M requests, 20 TLS domains)
Starter Package: $6,000/month (500M requests, 40 TLS domains)
Advantage & Ultimate Packages: Contact sales
REST API rate limit 1,000 req/hr per token
Purging rate limit: 100,000 / hour per customer (separate from main quota)
VCL (Varnish Configuration Language) for edge logic
WebAssembly Compute platform (Rust, Go, JavaScript, TypeScript, Python)
Real-time logging to syslog, S3, GCS, BigQuery, Datadog, Splunk, HTTPS
Image Optimizer for on-the-fly transformations
Next-Gen WAF (Signal Sciences) with workspaces, signals, virtual patches
DDoS Protection with events and rules API
API Security with auto-discovery catalog
Client-Side Protection (CSP) against Magecart and formjacking
AI Accelerator semantic caching for OpenAI and Google Gemini
AI Bot Management to block AI scrapers
MCP Server for AI-driven Fastly control
Fanout real-time messaging (GRIP-compatible)
Object Storage S3-compatible with 11 9s durability
TLS 1.3 with custom and platform certificates
287 public repos in github.com/fastly

Event Specifications

Fastly Streaming, Logging, and Event Surfaces

AsyncAPI 2.6 description of the asynchronous and streaming surfaces exposed by Fastly across three documented capabilities: 1. Real-Time Analytics (rt.fastly.com) - long-polling...

ASYNCAPI

Semantic Vocabularies

Fastly Context

0 classes · 23 properties

JSON-LD

API Governance Rules

Fastly API Rules

7 rules · 4 errors 2 warnings 1 info

SPECTRAL

JSON Structure

Fastly Structure

0 properties

JSON STRUCTURE

Example Payloads

Visuals

View API subway map

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Website
Website
🌐
DeveloperPortal
DeveloperPortal
🔗
APIReference
APIReference
🔗
Documentation
Documentation
💰
Pricing
Pricing
📰
Blog
Blog
🟢
StatusPage
StatusPage
💬
Support
Support
🔗
Login
Login
📝
Signup
Signup
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Twitter
Twitter
🔗
CLI
CLI
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
📦
SDKs
SDKs
🔧
Tools
Tools
🔧
Tools
Tools
🔧
Tools
Tools
🔧
Tools
Tools
🔧
Tools
Tools
🔧
Tools
Tools
🔗
JSONLD
JSONLD
🔗
Vocabulary
Vocabulary
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
SpectralRuleset
SpectralRuleset
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Fastly Next-Gen WAF API
  version: '1.0'
request:
  auth:
    type: apikey
    key: Fastly-Key
    value: '{{Fastly-Key}}'
    placement: header
items:
- info:
    name: WAF Firewalls
    type: folder
  items:
  - info:
      name: List WAF firewalls
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/firewalls
      params:
      - name: page[number]
        value: ''
        type: query
        description: The page number to retrieve.
      - name: page[size]
        value: ''
        type: query
        description: The number of items per page.
      - name: filter[service_id]
        value: ''
        type: query
        description: Filter firewalls by service ID.
      - name: include
        value: ''
        type: query
        description: Related resources to include in the response.
    docs: Retrieves a list of all WAF firewall instances associated with the account.
  - info:
      name: Create a WAF firewall
      type: http
    http:
      method: POST
      url: https://api.fastly.com/waf/firewalls
      body:
        type: json
        data: '{}'
    docs: Creates a new WAF firewall instance associated with a Fastly service.
  - info:
      name: Get a WAF firewall
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/firewalls/:firewall_id
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
    docs: Retrieves the details of a specific WAF firewall instance.
  - info:
      name: Update a WAF firewall
      type: http
    http:
      method: PATCH
      url: https://api.fastly.com/waf/firewalls/:firewall_id
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      body:
        type: json
        data: '{}'
    docs: Updates the configuration of a specific WAF firewall instance.
  - info:
      name: Delete a WAF firewall
      type: http
    http:
      method: DELETE
      url: https://api.fastly.com/waf/firewalls/:firewall_id
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      body:
        type: json
        data: '{}'
    docs: Deletes a specific WAF firewall instance.
- info:
    name: WAF Rules
    type: folder
  items:
  - info:
      name: List WAF rules
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/rules
      params:
      - name: page[number]
        value: ''
        type: query
        description: The page number to retrieve.
      - name: page[size]
        value: ''
        type: query
        description: The number of items per page.
      - name: filter[waf_tags][name]
        value: ''
        type: query
        description: Filter rules by tag name.
    docs: Retrieves a list of all available WAF rules.
  - info:
      name: Get a WAF rule
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/rules/:waf_rule_id
      params:
      - name: waf_rule_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF rule.
    docs: Retrieves the details of a specific WAF rule.
- info:
    name: WAF Active Rules
    type: folder
  items:
  - info:
      name: List active WAF rules
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/active-rules
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      - name: firewall_version_number
        value: ''
        type: path
        description: The version number of the WAF firewall.
      - name: page[number]
        value: ''
        type: query
        description: The page number to retrieve.
      - name: page[size]
        value: ''
        type: query
        description: The number of items per page.
    docs: Retrieves a list of all active WAF rules for a specific firewall version.
  - info:
      name: Add an active WAF rule
      type: http
    http:
      method: POST
      url: https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/active-rules
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      - name: firewall_version_number
        value: ''
        type: path
        description: The version number of the WAF firewall.
      body:
        type: json
        data: '{}'
    docs: Adds a WAF rule to the active rule set for a specific firewall version.
- info:
    name: WAF Exclusions
    type: folder
  items:
  - info:
      name: List WAF exclusions
      type: http
    http:
      method: GET
      url: https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/exclusions
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      - name: firewall_version_number
        value: ''
        type: path
        description: The version number of the WAF firewall.
      - name: page[number]
        value: ''
        type: query
        description: The page number to retrieve.
      - name: page[size]
        value: ''
        type: query
        description: The number of items per page.
    docs: Retrieves a list of all WAF exclusions for a specific firewall version. Exclusions prevent requests matching a particular
      pattern from being flagged by the firewall.
  - info:
      name: Create a WAF exclusion
      type: http
    http:
      method: POST
      url: https://api.fastly.com/waf/firewalls/:firewall_id/versions/:firewall_version_number/exclusions
      params:
      - name: firewall_id
        value: ''
        type: path
        description: The alphanumeric string identifying the WAF firewall.
      - name: firewall_version_number
        value: ''
        type: path
        description: The version number of the WAF firewall.
      body:
        type: json
        data: '{}'
    docs: Creates a new WAF exclusion for a specific firewall version.
bundled: true