PHPackages                             elliotchance/independentreserve - 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. elliotchance/independentreserve

ActiveLibrary[API Development](/categories/api)

elliotchance/independentreserve
===============================

API for independentreserve.com.

v1.1.9(4y ago)61406[5 issues](https://github.com/elliotchance/independentreserve/issues)MITPHPPHP &gt;=5.4CI failing

Since Dec 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/elliotchance/independentreserve)[ Packagist](https://packagist.org/packages/elliotchance/independentreserve)[ Docs](https://github.com/elliotchance/independentreserve)[ RSS](/packages/elliotchance-independentreserve/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

IndependentReserve
==================

[](#independentreserve)

[![Build Status](https://camo.githubusercontent.com/eaced1ded67510a80d3b3d0f9ae42bfb02897559ebd7c4ade7deeaeb373ff519/68747470733a2f2f7472617669732d63692e6f72672f656c6c696f746368616e63652f696e646570656e64656e74726573657276652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/elliotchance/independentreserve)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7243a9498ef5cbb311144d304ebb048ae719454768ff35bac2f2d2ca82c61f10/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656c6c696f746368616e63652f696e646570656e64656e74726573657276652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/elliotchance/independentreserve/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/cc870660f4c0daaa8dcf511b453b4d430710f0313c27b8914aefd57b82b32fab/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f656c6c696f746368616e63652f696e646570656e64656e74726573657276652e737667)](https://coveralls.io/r/elliotchance/independentreserve)[![Latest Stable Version](https://camo.githubusercontent.com/8821efa4dd9cafcde6dbcd85444b9852ef068e3d615591cc3a8dafefae6f97a3/68747470733a2f2f706f7365722e707567782e6f72672f656c6c696f746368616e63652f696e646570656e64656e74726573657276652f762f737461626c652e737667)](https://packagist.org/packages/elliotchance/independentreserve)[![Total Downloads](https://camo.githubusercontent.com/149623c24777e301bc667876848cb7ddc05117299f09c15a568138f369494319/68747470733a2f2f706f7365722e707567782e6f72672f656c6c696f746368616e63652f696e646570656e64656e74726573657276652f646f776e6c6f6164732e737667)](https://packagist.org/packages/elliotchance/independentreserve)[![License](https://camo.githubusercontent.com/7373b3cce16b68705a92e6b7edf1be3446f3daf27883e102bd44da66988e8832/68747470733a2f2f706f7365722e707567782e6f72672f656c6c696f746368616e63652f696e646570656e64656e74726573657276652f6c6963656e73652e737667)](https://packagist.org/packages/elliotchance/independentreserve)

PHP API for [independentreserve.com](https://www.independentreserve.com)

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

[](#installation)

Using [composer](https://getcomposer.org):

```
composer require elliotchance/independentreserve

```

Public APIs
-----------

[](#public-apis)

All public APIs are supported, and do not need authentication:

```
use IndependentReserve\PublicClient;
use IndependentReserve\Currency;

$client = new PublicClient();
$marketSummary = $client->getMarketSummary(Currency::XBT, Currency::USD);
printf('%s: %s USD',
    $marketSummary->getCreatedTimestamp()->format('r'),
    $marketSummary->getDayAveragePrice()
);

// Fri, 26 Dec 2014 05:03:34 +0000: 323.21 USD
```

View all of the public APIs at

Private APIs
------------

[](#private-apis)

All private APIs are available. You must use your API key and secret to access them:

```
use IndependentReserve\PrivateClient;
use IndependentReserve\Currency;

$client = new PrivateClient('api_key', 'api_secret');
$address = $client->getBitcoinDepositAddress();
echo $address->getBitcoinAddress();

// 12a7FbBzSGvJd36wNesAxAksLXMWm4oLUJ
```

View all of the private APIs at

All of the public API methods are accessible through the `PrivateClient` as well:

```
$client = new PrivateClient('api_key', 'api_secret');
$marketSummary = $client->getMarketSummary(Currency::XBT, Currency::USD);
```

### Paging Results

[](#paging-results)

Some of the APIs return their results as paged calls (25 items at a time), you do not need to worry about this because these APIs use [elliotchance/iterator](https://github.com/elliotchance/iterator) which will handle all the paged requests for you on demand, you may use all results as an active array:

```
$client = new PrivateClient('api_key', 'api_secret');
$openOrders = $client->getOpenOrders();

echo count($openOrders);
// 452

var_dump($openOrders[135]); // 136th order

foreach ($openOrders as $order) {
    // ...
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 96% 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 ~266 days

Recently: every ~358 days

Total

11

Last Release

1495d ago

### Community

Maintainers

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

---

Top Contributors

[![elliotchance](https://avatars.githubusercontent.com/u/927418?v=4)](https://github.com/elliotchance "elliotchance (166 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![Ir00man](https://avatars.githubusercontent.com/u/3997133?v=4)](https://github.com/Ir00man "Ir00man (2 commits)")[![jasonbphillips](https://avatars.githubusercontent.com/u/38431922?v=4)](https://github.com/jasonbphillips "jasonbphillips (2 commits)")[![MaxPovver](https://avatars.githubusercontent.com/u/9439263?v=4)](https://github.com/MaxPovver "MaxPovver (1 commits)")

---

Tags

bitcoinindependent reservexbtindependentreserve

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elliotchance-independentreserve/health.svg)

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

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[coinbase/coinbase-commerce

Coinbase Commerce API library

148275.7k2](/packages/coinbase-coinbase-commerce)[blocktrail/blocktrail-sdk

The BlockTrail PHP SDK, for integration of Bitcoin functionality through the BlockTrail API

4921.1k3](/packages/blocktrail-blocktrail-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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