PHPackages                             samuelreichor/craft-query-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. samuelreichor/craft-query-api

ActiveCraft-plugin[API Development](/categories/api)

samuelreichor/craft-query-api
=============================

Speeds up development in headless mode with an API that allows querying data using URL parameters.

3.7.0(5mo ago)13234[3 issues](https://github.com/samuelreichor/craft-query-api/issues)proprietaryPHPPHP &gt;=8.2CI passing

Since Oct 30Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/samuelreichor/craft-query-api)[ Packagist](https://packagist.org/packages/samuelreichor/craft-query-api)[ RSS](/packages/samuelreichor-craft-query-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (28)Used By (0)

 [ ![Craft Query API](https://camo.githubusercontent.com/457da50576f07992096c4da15d8878990f4516ea43b178c3ee6edcc8464dec3c/68747470733a2f2f6f6e6c696e652d696d616765732d73722e6e65746c6966792e6170702f6173736574732f63726166742d71756572792d6170692e706e67) ](https://packagist.org/packages/samuelreichor/craft-query-api)
The Query API for Craft CMS
===========================

[](#the-query-api-for-craft-cms)

 Craft Query API is a Craft CMS plugin that brings the query builder in your favorite js-framework.

 [ ![](https://camo.githubusercontent.com/ab421fe20beea630d6578a4fe2eb485d84528b74e940a3e3c5377ffce1b9e1d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616d75656c72656963686f722f63726166742d71756572792d6170693f6c6162656c3d76657273696f6e26636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-query-api) [ ![](https://camo.githubusercontent.com/9f32145252acd636101666ef85819876cd2d997a58c585a14ca29d2202e1a23b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616d75656c72656963686f722f63726166742d71756572792d6170693f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-query-api) [ ![](https://camo.githubusercontent.com/62e06dcbc954d1d6adf0c95ab3e1598886f476ab73849cfa1e3da059fa0b7c94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73616d75656c72656963686f722f63726166742d71756572792d6170693f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-query-api) [ ![](https://camo.githubusercontent.com/addc24401ef9679d72838ba4f02631b94b5cfde82bb8b7fb8a14026ea17507c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73616d75656c72656963686f722f63726166742d71756572792d6170693f636f6c6f723d626c7565) ](https://packagist.org/packages/samuelreichor/craft-query-api)

Features
--------

[](#features)

- API to query addresses, assets, entries and users based on url parameters.
- API for fetching all urls of every active page with template for prerendering.
- Automatic detection of ImagerX transforms.
- Automatic detection of native and custom fields on all elementTypes.
- Events to add your own JSON Transformers and Element Types.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.

Documentation
-------------

[](#documentation)

Visit the Craft [Query API Plugin page](https://samuelreichor.at/libraries/craft-query-api) for all documentation, guides, pricing and developer resources.

Supported Platforms
-------------------

[](#supported-platforms)

- [`@query-api/js`](https://samuelreichor.at/libraries/js-craftcms-api): Core SDK for all JavaScript Frameworks.
- [`@query-api/vue`](https://samuelreichor.at/libraries/vue-craftcms): SDK for Vue.
- [`@query-api/nuxt`](https://samuelreichor.at/libraries/nuxt-craftcms): SDK for Nuxt.
- [`@query-api/react`](https://samuelreichor.at/libraries/query-api-react): SDK for React.
- [`@query-api/next`](https://samuelreichor.at/libraries/query-api-next): SDK for Next.

Support
-------

[](#support)

If you encounter bugs or have feature requests, [please submit an issue](/../../issues/new). Your feedback helps improve the library!

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance67

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~16 days

Total

26

Last Release

162d ago

Major Versions

1.1.4 → 2.0.02025-02-25

2.0.2 → 3.0.02025-04-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/b36141c4230d3511414d6ffbce3e0ae3f80a5579b0c6d513c082be76dda8baaf?d=identicon)[samuelreichor](/maintainers/samuelreichor)

---

Top Contributors

[![samuelreichor](https://avatars.githubusercontent.com/u/98765339?v=4)](https://github.com/samuelreichor "samuelreichor (117 commits)")

### Embed Badge

![Health badge](/badges/samuelreichor-craft-query-api/health.svg)

```
[![Health](https://phpackages.com/badges/samuelreichor-craft-query-api/health.svg)](https://phpackages.com/packages/samuelreichor-craft-query-api)
```

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[craftcms/apple-news

Publish Craft CMS entries to Apple News

4223.5k](/packages/craftcms-apple-news)[craftpulse/craft-typesense

Craft Plugin that synchronises with Typesense

122.7k](/packages/craftpulse-craft-typesense)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
