> For the complete documentation index, see [llms.txt](https://blogs.nhquydev.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blogs.nhquydev.net/cheat-sheets/haproxy/haproxy-lua-api.md).

# HAProxy Lua API

HAProxy and HAProxy Enterprise come with a Lua interpreter that allows you to write custom Lua scripts that extend the load balanacer’s functionality. This guide describes how to get started with it.
