PHPackages                             ibitcoin/php-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. ibitcoin/php-api

ActiveLibrary[API Development](/categories/api)

ibitcoin/php-api
================

Interact easily with iBitcoin.se API methods using PHP

v1.2(5y ago)026PHPPHP &gt;=7.1.3

Since Sep 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/iBitcoin-se/php-api)[ Packagist](https://packagist.org/packages/ibitcoin/php-api)[ RSS](/packages/ibitcoin-php-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

iBitcoin API
============

[](#ibitcoin-api)

**PHP implementation**

Interact easily with iBitcoin.se API methods using PHP

Getting Started
---------------

[](#getting-started)

You'll find much detailed information on our API documentation page [iBitcoin.se](https://ibitcoin.se/api)Issuses and PRs are welcome

### Prerequisites

[](#prerequisites)

Please make sure PHP with CURL and JSON extenations is installed and enabled

### Installing

[](#installing)

First install the package from Composer

```
  php compser.phar require ibitcoin/php-api

```

Now in your application you need to define your iBitcoin.se API keys as follows:

```
define('CALLBACK_SECRET', 'e788bc3618432adds765cc637d35aeb65bde'); // iBitcoin.se Callback Secret KEY
define('API_KEY', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...'); // iBitcoin.se API KEY
define('API_LINK', 'https://backend.ibitcoin.se/api/');

```

### Examples

[](#examples)

**Create Address**

```
    declare(strict_types=1);
    require_once __DIR__ . '/vendor/autoload.php';

    use CryptoGateway\Wallet;

    define('CALLBACK_SECRET', ''); // iBitcoin.se Callback Secret KEY
    define('API_KEY', ''); // iBitcoin.se API KEY
    define('API_LINK', 'https://backend.ibitcoin.se/api/');

    $wallet = new Wallet('btc');

    $addressInfo = $wallet->createAddress();

    echo "Your BTC address is: {$wallet['address']}";

```

**Callback File**

Please take a look on CallbackExample.php file

### Postman Examples

[](#postman-examples)

#### CreateAddress

[](#createaddress)

```
https://backend.ibitcoin.se/api/btc/createAddress?api_key=[API_KEY_FROM_SETTINGS]

```

Response

```
{
    "address": "bc1qfuqvvv5racupgk60xfjwkm5ku8j6zk7aj2as4p",
    "success": true,
    "time": 1586070585
}

```

#### AddressTransactions

[](#addresstransactions)

```
https://backend.ibitcoin.se/api/btc/addressTransactions?api_key=[API_KEY_FROM_SETTINGS]&address=3JuAyD5z6sdgZp998GjV775RexfniF3nA9&page=1

```

Response

```
{
    "address": "3JuAyD5z6sdgZp998GjV775RexfniF3nA9",
    "transactions": [
        {
            "currency": "btc",
            "address": "3JuAyD5z6sdgZp998GjV775RexfniF3nA9",
            "confirmations": 11,
            "category": "send",
            "txid": "28c49e3f7decf13b15f0813605ab85377dbad7b3d8978e1450e26f636afe21df",
            "amount": "0.00148368",
            "time": 1586013517,
            "tcn": "111-228"
        }
    ],
    "total": 1,
    "currency": "btc",
    "note": "This method doesn't work with addresses created outside iBitcoin.se",
    "success": true,
    "time": 1586069717
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.9% 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 ~81 days

Total

5

Last Release

2112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e22cf9209ae06faed21360d80ef0dd12f546c0f21f03a5d8421da05de4921d55?d=identicon)[ibitcoin-api](/maintainers/ibitcoin-api)

---

Top Contributors

[![AdamSEY](https://avatars.githubusercontent.com/u/28712999?v=4)](https://github.com/AdamSEY "AdamSEY (13 commits)")[![iBitcoin-se](https://avatars.githubusercontent.com/u/55317554?v=4)](https://github.com/iBitcoin-se "iBitcoin-se (8 commits)")

---

Tags

phpapibitcoinlitecoincryptocurrencyreceiveibitcoin.seibitcoin

### Embed Badge

![Health badge](/badges/ibitcoin-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/ibitcoin-php-api/health.svg)](https://phpackages.com/packages/ibitcoin-php-api)
```

###  Alternatives

[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[coinremitterphp/coinremitter-php

Official PHP SDK for coinremitter cryptocurrency payment gateway

142.2k](/packages/coinremitterphp-coinremitter-php)

PHPackages © 2026

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