Payload 3.0

This BETA is rapidly evolving, you can report any bugs against the repo or in the dedicated channel in Discord. Payload is running at /admin. An example of a custom route running the Local API can be found at /my-route.

You can use the Local API in your server components like this:

import { getPayload } from 'payload'
import configPromise from "@payload-config";
const payload = await getPayload({ config: configPromise })

const data = await payload.find({
  collection: 'posts',

return <Posts data={data} />