PHPackages                             magedin/module-enhanced-api-search - 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. magedin/module-enhanced-api-search

ActiveMagento2-module[API Development](/categories/api)

magedin/module-enhanced-api-search
==================================

Enhances to Magento 2 API Search

00PHP

Since Dec 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/magedin/magento2-module-enhanced-api-search)[ Packagist](https://packagist.org/packages/magedin/module-enhanced-api-search)[ RSS](/packages/magedin-module-enhanced-api-search/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Enhanced API Search for Magento 2
=================================

[](#enhanced-api-search-for-magento-2)

This module introduces a new way to search in Magento 2 API. Rather than using a querystring, use the body with the JSON format for creating your `searchCriteria` parameters.

[![Magento 2 Coding Standard](https://github.com/magedin/magento2-module-enhanced-api-search/workflows/Magento%202%20Coding%20Standard/badge.svg)](https://github.com/magedin/magento2-module-enhanced-api-search/workflows/Magento%202%20Coding%20Standard/badge.svg)

What this module was created for?
---------------------------------

[](#what-this-module-was-created-for)

A typical search in Magento 2 API is done by putting all the parameters in a querystring, like below:

```
curl -X GET https://my-magento2.com/rest/V1/orders/?searchCriteria[currentPage]=1&searchCriteria[filterGroups][0][filters][0][field]=increment_id&searchCriteria[filterGroups][0][filters][0][value]=610001259&searchCriteria[filterGroups][0][filters][0][conditionType]=eq
```

Building this querystring on Postman, is like below:

[![Postman Querystring Builder](./docs/images/postman_search_querystring_builder.png)](./docs/images/postman_search_querystring_builder.png);

Well, it can confuse a little and, actually, I always forget how to build these parameters.

This module allows you to use the most simplified URL:

```
https://my-magento2.com/rest/V1/orders/
```

With the following body parameters:

```
{
    "searchCriteria": {
        "pageSize": 20,
        "currentPage": 1,
        "filterGroups": [
            {
                "filters": [
                    {
                        "conditionType": "eq",
                        "field": "increment_id",
                        "value": "000000002"
                    }
                ]
            }
        ]
    }
}
```

Simple, right?

Wait!! Body params in a GET Request?
------------------------------------

[](#wait-body-params-in-a-get-request)

Yes, I understand this may be a kinda weird, bring some confusion to our heads or even issues with cache systems, for instance, but the module is really simple to not be done. If it fits your needs, feel free to use it without costs.

But if you are very strict with the rules, you don't need to use it.
Reference:

---

 Proudly developed and maintained by

 [![MagedIn Technology](https://github.com/magedin/assets/raw/master/images/logo/magedin.svg)](https://github.com/magedin/assets/blob/master/images/logo/magedin.svg)

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e44bd4b4b077a04791cb2298a5faa8f376db4b51977b3750d5348670a0b3457?d=identicon)[tiagosampaio](/maintainers/tiagosampaio)

---

Top Contributors

[![tiagosampaio](https://avatars.githubusercontent.com/u/1485260?v=4)](https://github.com/tiagosampaio "tiagosampaio (12 commits)")

### Embed Badge

![Health badge](/badges/magedin-module-enhanced-api-search/health.svg)

```
[![Health](https://phpackages.com/badges/magedin-module-enhanced-api-search/health.svg)](https://phpackages.com/packages/magedin-module-enhanced-api-search)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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