Payload CMS’ Local API is an incredibly powerful tool when building server-side rendered applications.
In 2024, Payload 3.0 announced native Next.js support, in which case this article may reference outdated information. To ensure you're using the latest version of Payload, use npx create-payload-app@latest and consult our docs, GitHub, or Discord for support.