PHPackages                             feedex/kucoin - 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. feedex/kucoin

ActiveLibrary

feedex/kucoin
=============

KuCoin adapter package for the Feedex ecosystem.

v1.0.0(1mo ago)03↑2900%MITPHPPHP ^8.4CI passing

Since Mar 28Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (7)Used By (0)

feedex/kucoin
=============

[](#feedexkucoin)

KuCoin adapter package for the Feedex ecosystem.

This package currently provides a focused incremental slice:

- Common module
- Account module
- Asset spot balance capability
- Spot market (core)
- Spot order (core)
- Spot deal
- Futures market (core)

Installation
------------

[](#installation)

```
composer require feedex/feedex feedex/kucoin
```

Compatibility
-------------

[](#compatibility)

- `feedex/kucoin ^1.0` requires `feedex/feedex ^1.0`

Usage (via Feedex registry)
---------------------------

[](#usage-via-feedex-registry)

```
use Feedex\Feedex;
use Feedex\Kucoin\v1\KucoinFactory;

$feedex = (new Feedex())
    ->register(new KucoinFactory());

$kucoin = $feedex->exchange('kucoin', [
    'api_key' => getenv('KUCOIN_API_KEY'),
    'api_secret' => getenv('KUCOIN_API_SECRET'),
    'api_passphrase' => getenv('KUCOIN_API_PASSPHRASE'),
    // optional:
    // 'base_url' => 'https://api.kucoin.com',
    // 'futures_base_url' => 'https://api-futures.kucoin.com',
]);

$time = $kucoin->common()->time();
$markets = $kucoin->spotMarket()->listMarkets();
$futures = $kucoin->futuresMarket()->listMarkets();
$balances = $kucoin->asset()->getSpotBalance();
```

Examples
--------

[](#examples)

See runnable scripts in [`examples/`](examples):

- [`examples/balances.php`](examples/balances.php)
- [`examples/spot_order.php`](examples/spot_order.php)
- [`examples/spot_deals.php`](examples/spot_deals.php)

Implemented capabilities
------------------------

[](#implemented-capabilities)

- `HasCommonModuleInterface`
- `HasAccountModuleInterface`
- `HasAssetSpotBalanceModuleInterface`
- `HasSpotMarketCoreModuleInterface`
- `HasSpotOrderCoreModuleInterface`
- `HasSpotDealModuleInterface`
- `HasFuturesMarketCoreModuleInterface`

Implemented module methods
--------------------------

[](#implemented-module-methods)

### Common (public)

[](#common-public)

- `ping()`
- `time()`
- `maintainInfo()`

### Account (private)

[](#account-private)

- `getAccountInfo()`
- `getTradeFeeRate()`

### Asset Spot Balance (private)

[](#asset-spot-balance-private)

- `getSpotBalance()`

### Spot Market Core (public)

[](#spot-market-core-public)

- `listMarkets()`
- `listMarketTicker()`
- `listMarketDepth()`
- `listMarketDeals()`
- `listMarketKline()`

### Spot Order Core (private)

[](#spot-order-core-private)

- `putOrder()`
- `cancelOrder()`
- `cancelAllOrder()`
- `getOrderStatus()`
- `listPendingOrder()`
- `listFinishedOrder()`

### Spot Deal (private)

[](#spot-deal-private)

- `listUserDeals()`
- `listUserOrderDeals()`

### Futures Market Core (public)

[](#futures-market-core-public)

- `listMarkets()`
- `listMarketTicker()`
- `listMarketDepth()`
- `listMarketDeals()`
- `listMarketKline()`
- `listMarketIndex()`

Notes
-----

[](#notes)

This adapter intentionally expands in small, safe slices. Spot and futures APIs use different base hosts, so this adapter supports separate configuration via `base_url` and `futures_base_url`. Spot market index capability is not added yet because KuCoin spot APIs do not expose a direct index endpoint equivalent in this slice. Advanced spot/futures/account modules can be added incrementally in future releases.

v1.0.0 scope freeze (kucoin)
----------------------------

[](#v100-scope-freeze-kucoin)

For the first stable adapter release, v1 scope is frozen to:

- current spot core modules (`SpotMarketCore`, `SpotOrderCore`, `SpotDeal`)
- current account and asset-spot-balance modules
- current futures market core module
- dual-host configuration model (`base_url`, `futures_base_url`)

Out of scope for kucoin v1.0.0:

- futures order/deal/position modules
- websocket feeds
- breaking renames of public module methods

Changelog
---------

[](#changelog)

See [`CHANGELOG.md`](CHANGELOG.md) for release history.

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~0 days

Total

6

Last Release

46d ago

Major Versions

v0.1.4 → v1.0.02026-03-28

### Community

Maintainers

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

---

Top Contributors

[![mehrna](https://avatars.githubusercontent.com/u/6211768?v=4)](https://github.com/mehrna "mehrna (7 commits)")

---

Tags

cryptokucoinfeedex

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/feedex-kucoin/health.svg)

```
[![Health](https://phpackages.com/badges/feedex-kucoin/health.svg)](https://phpackages.com/packages/feedex-kucoin)
```

###  Alternatives

[kucoin/kucoin-php-sdk

PHP SDK for KuCoin API

7955.8k](/packages/kucoin-kucoin-php-sdk)[linwj/binance

Binance API Like the official document interface, Support for arbitrary extension.

11617.7k1](/packages/linwj-binance)[linwj/okex

Okex API Like the official document interface, Support for arbitrary extension.

5612.4k1](/packages/linwj-okex)[linwj/bybit

Bybit API Like the official document interface, Support for arbitrary extension.

3010.5k1](/packages/linwj-bybit)[linwj/mxc

Mexc API Like the official document interface, Support for arbitrary extension.

207.3k1](/packages/linwj-mxc)[prevailexcel/laravel-nowpayments

A Laravel Package for NOWPayments

1414.2k](/packages/prevailexcel-laravel-nowpayments)

PHPackages © 2026

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