PHPackages                             techtailor/laravel-coindcx-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. techtailor/laravel-coindcx-api

ActiveLibrary[API Development](/categories/api)

techtailor/laravel-coindcx-api
==============================

A Laravel Wrapper for the CoinDCX API.

0.1.1(4y ago)211MITPHPPHP ^7.4|^8.0

Since Nov 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TechTailor/Laravel-Coindcx-Api)[ Packagist](https://packagist.org/packages/techtailor/laravel-coindcx-api)[ Docs](https://github.com/TechTailor/Laravel-CoinDCX-Api)[ RSS](/packages/techtailor-laravel-coindcx-api/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

[![](https://camo.githubusercontent.com/461094860b50b36ebd5149fb2607ccd997f4814e5fe522f69de36038a67ebc04/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2d436f696e4443582d4150492e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d746563687461696c6f722532466c61726176656c2d636f696e6463782d617069267061747465726e3d617263686974656374267374796c653d7374796c655f32266465736372697074696f6e3d412b6c61726176656c2b777261707065722b666f722b7468652b436f696e4443582b4150492e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d736572766572)](https://camo.githubusercontent.com/461094860b50b36ebd5149fb2607ccd997f4814e5fe522f69de36038a67ebc04/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2d436f696e4443582d4150492e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d746563687461696c6f722532466c61726176656c2d636f696e6463782d617069267061747465726e3d617263686974656374267374796c653d7374796c655f32266465736372697074696f6e3d412b6c61726176656c2b777261707065722b666f722b7468652b436f696e4443582b4150492e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d736572766572)

[![GitHub release](https://camo.githubusercontent.com/f76d377201680cb6219f34c3bb47eac72b9963f458d25ab22eb8303febe817ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f746563687461696c6f722f6c61726176656c2d636f696e6463782d6170692e7376673f696e636c7564655f70726572656c6561736573267374796c653d666f722d7468652d62616467652626636f6c6f72423d374535374332)](https://packagist.org/packages/techtailor/laravel-coindcx-api)[![GitHub issues](https://camo.githubusercontent.com/a948840e9319ad89a18c63028f9ffe7e3e92bd33c5a80a043c0ee6e99e3a9d28/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f546563685461696c6f722f4c61726176656c2d436f696e4443582d4170692e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/TechTailor/Laravel-CoinDCX-Api/issues)[![Software License](https://camo.githubusercontent.com/c003d4d48be8c870b7f5dfef6e898cc00ece72e12064c1eb199611b0e290ce92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666f722d7468652d62616467652626636f6c6f72423d463237453430)](license.md)[![Total Downloads](https://camo.githubusercontent.com/2d2b60872b9db11956a50262b9d9db3ada84e7c95b30714bd60166470dd42be7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746563687461696c6f722f6c61726176656c2d636f696e6463782d6170692e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/techtailor/laravel-coindcx-api)

This package provides a Laravel Wrapper for the [CoinDCX API](https://docs.coindcx.com/) and allows you to easily communicate with it.

---

#### Important Note

[](#important-note)

This package is in early development stage. It is not advisable to use it in a production app until **`v1.0`** is released. Feel free to open a PR to contribute to this project and help me reach a production ready build.

---

### Installation

[](#installation)

You can install the package via composer:

```
composer require techtailor/laravel-coindcx-api
```

You can publish the config file with:

```
php artisan vendor:publish --tag="coindcx-api-config"
```

Open your `.env` file and add the following (replace `YOUR_API_KEY` and `YOUR_SECRET` with the API Key &amp; Secret you received from [CoinDCX](https://coindcx.com/api-dashboard)) -

```
COINDCX_KEY=YOUR_API_KEY
COINDCX_SECRET=YOUR_SECRET
```

Or

Open the published config file available at `config/coindcx-api.php` and add your API and Secret Keys:

```
return [
    'auth' => [
        'key'        => env('COINDCX_KEY', 'YOUR_API_KEY'),
        'secret'     => env('COINDCX_SECRET', 'YOUR_SECRET')
    ],
];
```

### Usage

[](#usage)

Using this package is very simple. Just initialize the Api and call one of the available methods:

```
use TechTailor\CoinDCXApi\CoinDCXApi;

$cdx = new CoinDCXApi();

$ticker = $cdx->getTicker();
```

You can also set an API &amp; Secret for a user by passing it after initalization (useful when you need to isolate api keys for individual users):

```
$cdx = new CoinDCXApi();

$cdx->setApi($apiKey, $secretKey);

$accountInfo = $cdx->getAccountInfo();
```

### Available Methods

[](#available-methods)

Available Public Methods (Security Type : `NONE`) **\[API Keys Not Required\]**

```
- getTicker()               // returns the exchange ticker
- getMarkets()              // returns the exchange markets list
- getMarketsDetails()       // returns the exchange markets details
- getMarketTrades()         // returns the exchange markets trade history

```

Available Private Methods (Security Type : `AUTHENTICATED`) **\[API Keys Required\]**

```
- getAccountInfo()          // returns user account info (coindcx_id, email, etc)
- getBalances()             // returns user account balances
- getTradeHistory()         // returns user's complete spot trade history
- getActiveOrders()         // returns user's active orders list

```

### TODO

[](#todo)

List of features or additional functionality we are working on (in no particular order) -

```
- Improve exception handling.
- Add rate limiting to API Calls.
- Add response for API ban/blacklisting response.
- Improve ReadMe.
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

### Contributing

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

### Security Vulnerabilities

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

### Credits

[](#credits)

- [Moinuddin S. Khaja](https://github.com/TechTailor)
- [All Contributors](../../contributors)

### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

1614d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43e6cf99484811318d85197b26917de306406af2b4e8f418360724556c4d0f0b?d=identicon)[TechTailor](/maintainers/TechTailor)

---

Top Contributors

[![TechTailor](https://avatars.githubusercontent.com/u/14147474?v=4)](https://github.com/TechTailor "TechTailor (2 commits)")

---

Tags

coindcxcoindcx-apicoindcx-api-laravelcoindcxapilaravel-coindcxcoindcxcoindcx-apilaravel-coindcxlaravel-coindcx-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/techtailor-laravel-coindcx-api/health.svg)

```
[![Health](https://phpackages.com/badges/techtailor-laravel-coindcx-api/health.svg)](https://phpackages.com/packages/techtailor-laravel-coindcx-api)
```

###  Alternatives

[spatie/laravel-query-builder

Easily build Eloquent queries from API requests

4.4k26.9M219](/packages/spatie-laravel-query-builder)[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

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