Client Query

Type-safe client for querying Payload from client-side React components over HTTP

Community 0 9/wk MIT v0.1.2

Installation

pnpm add payload-client-query

About

Payload Client Query lets frontend components read Payload data over HTTP with the same query shape the Local API uses. The Local API only runs on the server, so browser-side components have had to write raw fetch calls with no type checking. This package fills that gap with a typed client that sends queries to one endpoint on your site.

Collection names, where operators, and select and populate fields are typed from your generated Payload types, so a wrong field name shows up in the editor instead of at runtime. The endpoint respects your collection access rules by default, and server-side requests can forward cookies so the visitor's session carries through. Find queries are supported today, while single-document lookups and write operations are still planned.

Package info

Package name
payload-client-query
Latest version
0.1.2
Unpacked size
24 kB
License
MIT
Weekly downloads
9
Last publish
Apr 10, 2026

Type-safe client for the Payload REST API with CRUD, auth and file uploads

Framework-agnostic SDK for inline visual editing on Payload-powered sites

Angular query builder that sends list queries to Payload and other backends as signals

Registers custom drag-and-drop blocks for the Olgax page builder

Lets Puck components pull filtered Payload collection items into a resolved prop

Signed client for the VAP API, plus a Payload plugin for storefront sign-in and checkout