PHPackages                             coincheck/coincheck - 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. coincheck/coincheck

ActiveLibrary[API Development](/categories/api)

coincheck/coincheck
===================

Bindings of coincheck API

1.1.0(10y ago)202.2k13[2 issues](https://github.com/coincheckjp/coincheck-php/issues)[2 PRs](https://github.com/coincheckjp/coincheck-php/pulls)MITPHPPHP &gt;= 5.3.3

Since Jun 12Pushed 5y ago56 watchersCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (0)

coincheck
=========

[](#coincheck)

coincheck The easiest Bitcoin Exchange in Japan

Requirements
------------

[](#requirements)

PHP 5.4+

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

[](#installation)

Add the following to `composer.json`.

```
{
    "require": {
        "coincheck/coincheck": "1.1.0"
    }
}
```

Usage
-----

[](#usage)

```
require "vendor/autoload.php";
use Coincheck\Coincheck;
$coincheck= new Coincheck('ACCESS_KEY', 'API_SECRET');

/** Public API */

$coincheck->ticker->all();
$coincheck->trade->all();
$coincheck->orderBook->all();

/** Private API */

# 新規注文
# "buy" 指値注文 現物取引 買い
# "sell" 指値注文 現物取引 売り
# "market_buy" 成行注文 現物取引 買い
# "market_sell" 成行注文 現物取引 売り
# "leverage_buy" 指値注文 レバレッジ取引新規 買い
# "leverage_sell" 指値注文 レバレッジ取引新規 売り
# "close_long" 指値注文 レバレッジ取引決済 売り
# "close_short" 指値注文 レバレッジ取引決済 買い
$coincheck->order->create(array(
    "rate" => "28500",
    "amount" => "0.00508771",
    "order_type" => "buy",
    "pair" => "btc_jpy"
));
# 未決済の注文一覧
$coincheck->order->opens();
# 注文のキャンセル
$coincheck->order->cancel(array("id"=>2953613));
# 取引履歴
$coincheck->order->transactions();
# ポジション一覧
$coincheck->leverage->positions();
# 残高
$coincheck->account->balance();
# レバレッジアカウントの残高
$coincheck->account->leverage_balance();
# アカウント情報
$coincheck->account->info();
# ビットコインの送金
$coincheck->send->create(array(
    "address" => '1Gp9MCp7FWqNgaUWdiUiRPjGqNVdqug2hY',
    "amount" => '0.0002'
));
# ビットコインの送金履歴
$coincheck->send->all(array("currency"=>"BTC"));
# ビットコインの受け取り履歴
$coincheck->deposit->all(array("currency"=>"BTC"));
# ビットコインの高速入金
$coincheck->deposit->fast(array("id"=> 2222));
# 銀行口座一覧
$coincheck->bank_account->all();
# 銀行口座の登録
$coincheck->bank_account->create(array(
    "bank_name" => "住信SBIネット",
    "branch_name" => "ミカン",
    "bank_account_type" => "futu",
    "number" => "123456",
    "name" => "ヤマモト タロウ"
));
# 銀行口座の削除
$coincheck->bank_account->delete();
# 出金履歴
$coincheck->withdraw->all();
# 出金申請の作成
$coincheck->withdraw->create(
    "bank_account_id" => 2222,
    "amount" => 50000,
    "currency" => "JPY",
    "is_fast" => false
));
# 出金申請のキャンセル
$coincheck->withdraw->cancel();
# 借入申請
$coincheck->borrow->create(array(
    "amount" => "0.01",
    "currency" => "BTC"
));
# 借入中一覧
$coincheck->borrow->matches();
# 返済
$coincheck->borrow->repay(array("id" => "1135"));
# レバレッジアカウントへの振替
$coincheck->transfer->to_leverage(array(
    "amount" => 100,
    "currency" => "JPY"
));
# レバレッジアカウントからの振替
$coincheck->transfer->from_leverage(array(
    "amount" => 100,
    "currency" => "JPY"
));
```

Dependencies
------------

[](#dependencies)

- [guzzle](http://docs.guzzlephp.org/en/latest/) as a HTTP client

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95.7% 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 ~62 days

Total

4

Last Release

3805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d34e1d183d6468524d1eabb5b6e6a4ed14efa56b146ff2b47944d2a06dd9bb6?d=identicon)[dogyearm](/maintainers/dogyearm)

---

Top Contributors

[![dogyearm](https://avatars.githubusercontent.com/u/1782373?v=4)](https://github.com/dogyearm "dogyearm (44 commits)")[![tmsanrinsha](https://avatars.githubusercontent.com/u/1057401?v=4)](https://github.com/tmsanrinsha "tmsanrinsha (1 commits)")[![wadako111](https://avatars.githubusercontent.com/u/1331275?v=4)](https://github.com/wadako111 "wadako111 (1 commits)")

---

Tags

pdoquerybuilder

### Embed Badge

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

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

###  Alternatives

[gmostafa/php-graphql-client

GraphQL client and query builder.

3217.6M25](/packages/gmostafa-php-graphql-client)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[gmostafa/php-graphql-oqm

GraphQL Object-to-Query Mapper (QOM) which generates objects from API schema

44898.8k2](/packages/gmostafa-php-graphql-oqm)

PHPackages © 2026

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