PHPackages                             pxgamer/cryptopia - 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. pxgamer/cryptopia

ActiveLibrary[API Development](/categories/api)

pxgamer/cryptopia
=================

An API wrapper for Cryptopia.co.nz

v1.0.0(8y ago)1121[1 issues](https://github.com/owenvoke/cryptopia/issues)MITPHPPHP ^7.1

Since Jan 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/owenvoke/cryptopia)[ Packagist](https://packagist.org/packages/pxgamer/cryptopia)[ RSS](/packages/pxgamer-cryptopia/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

cryptopia
=========

[](#cryptopia)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c83a99a5592397ee08e5f3c018b58df053f6600d57373c8277178edec4673120/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f63727970746f7069612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/cryptopia)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7c7d92e282f9736789c5a7b7dfa03e5cb6478e96644960e3c8327fcc64b74a64/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f63727970746f7069612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/cryptopia)[![Style CI](https://camo.githubusercontent.com/ee917b1c95282cc1d05cd38298043d541b988f285f35ca4abead735264f54903/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131373636323533322f736869656c64)](https://styleci.io/repos/117662532)[![Code Coverage](https://camo.githubusercontent.com/74310d24ffe61fce91d809628bbf81a9e29d17360dcc914e5dae668b04a83a83/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f63727970746f7069612e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/cryptopia)[![Total Downloads](https://camo.githubusercontent.com/75b03a4e63c94b1d491610ff4f57712beb381db515562ef2fbfda047b32c9a12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f63727970746f7069612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/cryptopia)

An API wrapper for Cryptopia.co.nz

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/cryptopia
```

Usage
-----

[](#usage)

### Basic methods

[](#basic-methods)

Initialise the `Basic` class.

```
$basic = new pxgamer\Cryptopia\Basic();
```

Retrieve a list of currencies as an `array`.

```
$basic->getCurrencies();
```

Retrieve a list of trade pairs as an `array`.

```
$basic->getTradePairs();
```

Retrieve a list of markets as an `array`.

```
$basic->getMarkets();
```

Retrieve a single market as a `stdClass`.

```
$basic->getMarket();
```

Retrieve a single market's history as an `array`.

```
$basic->getMarketHistory();
```

Retrieve a single market's orders as a `stdClass`.

```
$basic->getMarketOrders();
```

Retrieve a list of market order groups as an `array`.

```
$basic->getMarketOrderGroups();
```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

3040d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (25 commits)")

---

Tags

apicryptopiaphpwrapper

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-cryptopia/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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