PHPackages                             bitbuy-at/bitstamp-api-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bitbuy-at/bitstamp-api-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

bitbuy-at/bitstamp-api-client
=============================

Client for Bitstamp.net HTTP API v2 with support for Laravel

v0.8.0(2y ago)292MITPHPPHP ^8.0CI failing

Since Mar 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bitbuyAT/bitstamp-api-client)[ Packagist](https://packagist.org/packages/bitbuy-at/bitstamp-api-client)[ RSS](/packages/bitbuy-at-bitstamp-api-client/feed)WikiDiscussions master Synced today

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

*This project is only supporting a selected choice of api calls to the bitstamp api, feel free to contribute!*

bitstamp-api-client
===================

[](#bitstamp-api-client)

Client for Bitstamp.net HTTP API v2 with support for Laravel

*The structure of this package was strongly influenced by the design of the [kraken-api-client](https://github.com/butschster/kraken-api-client) from Butschster.*

Install
=======

[](#install)

`composer require bitbuy-at/bitstamp-api-client`

Laravel
-------

[](#laravel)

### Laravel 5.5+

[](#laravel-55)

If you're using Laravel 5.5 or above, the package will automatically register the Bitstamp provider and facade.

### Laravel 5.4 and below

[](#laravel-54-and-below)

Add `bitbuyAT\Bitstamp\BitstampServiceProvider` to the providers array in your `config/app.php`:

```
'providers' => [
    // Other service providers...

    bitbuyAT\Bitstamp\BitstampServiceProvider::class,
],
```

If you want to use the facade interface, you can use the facade class when needed:

```
use bitbuyAT\Bitstamp\Facade\Bitstamp;

```

Or add an alias in your `config/app.php`:

```
'aliases' => [
    ...
    'Bitstamp' => bitbuyAT\Bitstamp\Facade\Bitstamp::class,
],
```

Configuration
-------------

[](#configuration)

You can update your .env file with the following settings (only needed for private calls):

```
BITSTAMP_KEY=key
BITSTAMP_SECRET=secret
BITSTAMP_CUSTOMER_ID=customer-id

```

Usage
-----

[](#usage)

### Get current prices

[](#get-current-prices)

```
use bitbuyAT\Bitstamp\Facade\Bitstamp;

$prices = Bitstamp::getTicker($tradingPair);
$prices->getData();
$prices->askPrice();
$prices->bidPrice();
```

*More examples can be found in the /tests folder.*

### Supported Methods

[](#supported-methods)

All currently supported methods with params explanation can be found in the client interface (`src/Contracts/Client.php`).

Do you need any further method, which is not listed here? Just open an issue with the required method or even better open a PR to speed things up!

Contributing
============

[](#contributing)

Want to contribute? Great!

Create a new issue first, describing the feature or bug.

Just fork our code, make your changes, then let us know and we will review it.

1. Fork it.
2. Create a feature branch (git checkout -b my\_feature)
3. Commit your changes (git commit -m "Added My Feature")
4. Push to the branch (git push origin my\_feature)
5. Open a [Pull Request](https://github.com/bitbuyAT/bitstamp-api-client/compare)
6. Enjoy and wait ;)

We are constantly updating and improving our code. We hope it can be for the benefit of the entire community.

License
=======

[](#license)

MIT License

Please check [LICENSE.txt](https://github.com/bitbuyAT/bitstamp-api-client/blob/master/LICENSE.txt)

Visit us
========

[](#visit-us)

bitbuy GmbH / bitcoin.wien ()

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 78.1% 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 ~142 days

Recently: every ~290 days

Total

12

Last Release

1048d ago

PHP version history (3 changes)v0.1PHP &gt;=7.1.3

v0.5PHP ^7.2

v0.8.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/37176ac5b7b0c91c0e335ce5e961e3e5cfe2c8bf78b56dc31d498f52b06b03fa?d=identicon)[bitbuy](/maintainers/bitbuy)

---

Top Contributors

[![Tob0t](https://avatars.githubusercontent.com/u/18067389?v=4)](https://github.com/Tob0t "Tob0t (25 commits)")[![ems1985](https://avatars.githubusercontent.com/u/34405275?v=4)](https://github.com/ems1985 "ems1985 (7 commits)")

---

Tags

apiclientresthttp clientbitstamp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bitbuy-at-bitstamp-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/bitbuy-at-bitstamp-api-client/health.svg)](https://phpackages.com/packages/bitbuy-at-bitstamp-api-client)
```

###  Alternatives

[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[repat/plentymarkets-rest-client

REST Client for Plentymarkets

1510.0k](/packages/repat-plentymarkets-rest-client)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

161.8k](/packages/laragear-api-manager)

PHPackages © 2026

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