🤔 Introducing APISIX AI Gateway – Built for LLMs and AI workloads. Learn More

Apache APISIX Plugin Hub

强大的插件,开放的集成。

探索 100+ Apache APISIX 插件,覆盖认证、安全、流量控制、可观测、Serverless 和 AI。

120
插件
9
类别
100%
开源

01

流量管理

17 个插件

limit-req

The plugin limits request rate using the leaky bucket method

阅读文档

limit-conn

The plugin limits request concurrency

阅读文档

limit-count

The plugin Limits request rate by a fixed number of requests in a given time window

阅读文档

proxy-cache

The proxy-cache Plugin can be used to cache the response from the Upstream

阅读文档

request-validation

The request-validation Plugin can be used to validate the requests before forwarding them to an Upstream service

阅读文档

proxy-mirror

The proxy-mirror Plugin can be used to mirror client requests

阅读文档

api-breaker

The api-breaker Plugin implements circuit breaker functionality to protect Upstream services

阅读文档

traffic-split

The traffic split plugin allows users to incrementally direct percentages of traffic between various upstreams

阅读文档

request-id

The request-id Plugin adds a unique ID to each request proxied through APISIX

阅读文档

proxy-control

The proxy-control Plugin dynamically controls the behavior of the NGINX proxy

阅读文档

client-control

The client-control Plugin can be used to dynamically control the behavior of NGINX to handle a client request, by setting the max size of the request body

阅读文档

traffic-label

The traffic-label Plugin evaluates labels on requests for traffic governance and routing

阅读文档

graphql-limit-count

The graphql-limit-count Plugin limits GraphQL requests based on query complexity

阅读文档

graphql-proxy-cache

The graphql-proxy-cache Plugin caches GraphQL query responses in memory or on disk

阅读文档

oas-validator

The oas-validator Plugin validates requests against an OpenAPI specification

阅读文档

proxy-buffering

The proxy-buffering Plugin disables NGINX proxy buffering per Route for streaming responses

阅读文档

workflow

The workflow plugin is used to introduce lua-resty-expr to provide complex traffic control features

阅读文档

02

请求与响应转换

12 个插件

response-rewrite

The response-rewrite Plugin rewrites the content returned by the Upstream and APISIX

阅读文档

proxy-rewrite

The proxy-rewrite Plugin rewrites Upstream proxy information such as scheme, uri and host

阅读文档

grpc-transcode

The grpc-transcode Plugin converts between HTTP and gRPC requests

阅读文档

grpc-web

The grpc-web Plugin is a proxy Plugin that can process gRPC Web requests from JavaScript clients to a gRPC service

阅读文档

body-transformer

The body-transformer Plugin transforms request and response bodies between structured formats

阅读文档

degraphql

The degraphql Plugin translates GraphQL queries into upstream REST requests

阅读文档

exit-transformer

The exit-transformer Plugin transforms response bodies before APISIX sends them to the client

阅读文档

fault-injection

The fault-injection Plugin can be used to test the resiliency of your application. This Plugin will be executed before the other configured Plugins

阅读文档

mocking

The mocking Plugin is used for mocking an API. When executed, it returns random mock data in the format specified and the request is not forwarded to the Upstream

阅读文档

error-page

The error-page Plugin customizes response bodies for HTTP errors generated by APISIX

阅读文档

request-decompress

The request-decompress Plugin decompresses gzip or deflate request bodies before other Plugins process them

阅读文档

attach-consumer-label

The attach-consumer-label Plugin injects labels from the authenticated consumer into the request context

阅读文档

03

认证

19 个插件

key-auth

An authentication plugin that needs to work with a Consumer to add key authentication to your Services

阅读文档

jwt-auth

An authentication plugin that needs to work with a Consumer to securely authenticate a valid user requesting access

阅读文档

basic-auth

An authentication plugin that needs to work with a Consumer to add Basic Authentication to a Service or a Route

阅读文档

authz-keycloak

An authorization plugin that can be used to add authentication with Keycloak Identity Server

阅读文档

authz-casdoor

An authorization plugin that can be used to add centralized authentication with Casdoor

阅读文档

wolf-rbac

An authorization plugin providing a role-based access control system with wolf to a Route or a Service

阅读文档

openid-connect

An authentication plugin that provides authentication and introspection capability to APISIX

阅读文档

cas-auth

An authorization plugin can be used to access CAS (Central Authentication Service 2.0) IdP (Identity Provider) to do authentication, from the SP (service provider) perspective

阅读文档

hmac-auth

An authentication plugin that needs to work with a Consumer to establish the integrity of incoming requests

阅读文档

authz-casbin

An authorization plugin based on Lua Casbin supporting various access control models

阅读文档

ldap-auth

An authorization plugin can be used to add LDAP authentication to a Route or a Service

阅读文档

jwe-decrypt

The jwe-decrypt Plugin decrypts JWE tokens in incoming requests

阅读文档

multi-auth

The multi-auth Plugin supports multiple authentication methods on the same Route or Service

阅读文档

opa

An authorization plugin can be used to integrate with Open Policy Agent

阅读文档

forward-auth

The forward-auth Plugin implements a classic external authentication model

阅读文档

dingtalk-auth

The dingtalk-auth Plugin authenticates requests through the DingTalk OAuth 2.0 flow

阅读文档

feishu-auth

The feishu-auth Plugin authenticates requests through the Feishu OAuth 2.0 flow

阅读文档

ldap-auth-advanced

The ldap-auth-advanced Plugin authenticates users against LDAP using search-then-bind

阅读文档

saml-auth

The saml-auth Plugin enables SAML 2.0 authentication for API Routes

阅读文档

04

安全

12 个插件

05

AI

13 个插件

ai-proxy

The ai-proxy Plugin simplifies proxying requests to LLM providers compatible with the OpenAI API format

阅读文档

ai-proxy-multi

The ai-proxy-multi Plugin extends ai-proxy with load balancing, retries, fallbacks, and health checks for LLM providers

阅读文档

ai-request-rewrite

The ai-request-rewrite Plugin rewrites client requests with LLM-generated content before proxying upstream

阅读文档

ai-rate-limiting

The ai-rate-limiting Plugin limits LLM usage by tracking and throttling token consumption

阅读文档

ai-prompt-decorator

The ai-prompt-decorator Plugin prepends and appends predefined prompts to user input

阅读文档

ai-prompt-template

The ai-prompt-template Plugin applies predefined prompt templates and accepts values for declared variables

阅读文档

ai-prompt-guard

The ai-prompt-guard Plugin validates prompts against allow and deny patterns before forwarding them to LLM services

阅读文档

ai-aws-content-moderation

The ai-aws-content-moderation Plugin uses AWS Comprehend to detect and block toxic request content

阅读文档

ai-aliyun-content-moderation

The ai-aliyun-content-moderation Plugin uses Alibaba Cloud content moderation to inspect and block unsafe requests

阅读文档

ai-rag

The ai-rag Plugin adds retrieval-augmented generation by fetching relevant context from external data sources

阅读文档

openapi-to-mcp

The openapi-to-mcp Plugin exposes operations from an OpenAPI document as MCP tools served by APISIX

阅读文档

ai-cache

The ai-cache Plugin caches LLM responses in Redis to reduce repeated upstream token cost and latency

阅读文档

ai-lakera-guard

The ai-lakera-guard Plugin scans LLM traffic with Lakera Guard and blocks or alerts on unsafe content

阅读文档

06

可观测性

25 个插件

zipkin

Zipkin is an OpenTracing plugin

阅读文档

skywalking

Skywalking uses its native Nginx LUA tracer to provide tracing, topology analysis, and metrics from service and URI perspective

阅读文档

opentelemetry

The opentelemetry Plugin can be used to report tracing data according to the OpenTelemetry specification

阅读文档

prometheus

The plugin exposes metrics in Prometheus Exposition format

阅读文档

node-status

The node-status Plugin can be used to get the status of requests to APISIX by exposing an API endpoint

阅读文档

datadog

Datadog is a monitoring plugin built into Apache APISIX to push metrics of different services into DatadogHQ via a locally run Datadog agent.

阅读文档

http-logger

The http-logger Plugin pushes log data to HTTP and HTTPS servers

阅读文档

skywalking-logger

The skywalking-logger Plugin can be used to push access log data to SkyWalking OAP server of HTTP

阅读文档

tcp-logger

Tcp-logger pushes Log data requests to TCP servers

阅读文档

kafka-logger

Kafka-logger is a plugin which works as a Kafka client driver for the ngx_lua nginx module

阅读文档

rocketmq-logger

The rocketmq-logger Plugin provides the ability to push logs as JSON objects to your RocketMQ clusters

阅读文档

udp-logger

Udp-logger pushes Log data requests to UDP servers

阅读文档

clickhouse-logger

The clickhouse-logger Plugin is used to push logs to ClickHouse database

阅读文档

syslog

The syslog Plugin pushes log data to Syslog

阅读文档

log-rotate

The log-rotate Plugin is used to keep rotating access and error log files in the log directory at regular intervals

阅读文档

error-log-logger

Error-log-logger is a plugin which pushes the log data of APISIX's error.log to TCP servers

阅读文档

sls-logger

The sls-logger Plugin pushes log data to Alibaba Cloud Log Service with RFC 5424

阅读文档

google-cloud-logging

google-cloud-logging plugin is used to send the access log of Apache APISIX to the Google Cloud Logging Service

阅读文档

splunk-hec-logging

The splunk-hec-logging Plugin is used to forward logs to Splunk HTTP Event Collector (HEC) for analysis and storage

阅读文档

file-logger

The file-logger Plugin is used to push log streams to a specific location

阅读文档

loggly

The loggly Plugin is used to forward logs to SolarWinds Loggly for analysis and storage

阅读文档

loki-logger

The loki-logger Plugin pushes access logs to Grafana Loki

阅读文档

elasticsearch-logger

The elasticsearch-logger Plugin is used to forward logs to Elasticsearch for analysis and storage

阅读文档

tencent-cloud-cls

The tencent-cloud-cls Plugin uses TencentCloud CLSAPI to forward APISIX logs to your topic

阅读文档

lago

The lago Plugin reports usage and billing events to Lago

阅读文档

07

Serverless

5 个插件

08

其他协议

5 个插件

09

通用

12 个插件

batch-requests

The batch-requests plugin accepts multiple requests, sends them from APISIX via HTTP pipelining, and returns an aggregated response to the client

阅读文档

redirect

The redirect Plugin can be used to configure redirects

阅读文档

echo

The echo Plugin is to help users understand how they can develop an APISIX Plugin

阅读文档

gzip

The gzip Plugin dynamically sets the behavior of gzip in Nginx

阅读文档

brotli

The brotli Plugin dynamically configures Brotli compression in NGINX

阅读文档

real-ip

The real-ip Plugin is used to dynamically change the client's IP address and port as seen by APISIX

阅读文档

server-info

The server-info Plugin periodically reports basic server information to etcd

阅读文档

inspect

The inspect Plugin exposes runtime inspection information for APISIX

阅读文档

ext-plugin-pre-req

The ext-plugin-pre-req Plugin is for running specific external Plugins in the Plugin Runner before executing the built-in Lua Plugins

阅读文档

ext-plugin-post-req

ext-plugin-post-req differs from the ext-plugin-pre-req Plugin in that it runs after executing the built-in Lua Plugins and before proxying to the Upstream

阅读文档

ext-plugin-post-resp

The ext-plugin-post-resp Plugin is for running specific external Plugins in the Plugin Runner before executing the built-in Lua Plugins

阅读文档

ocsp-stapling

The ocsp-stapling Plugin enables dynamic OCSP stapling for TLS certificates

阅读文档