PHPackages                             evolutionscript/crypto\_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. evolutionscript/crypto\_api

ActiveLibrary[API Development](/categories/api)

evolutionscript/crypto\_api
===========================

Get cryptocurrencies pair rate from popular exchangers.

1.0.0(3y ago)0241MITPHPPHP &gt;=7.4

Since Jul 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/evolutionscript/crypto_api)[ Packagist](https://packagist.org/packages/evolutionscript/crypto_api)[ RSS](/packages/evolutionscript-crypto-api/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Free Cryptocurrency Rate API
============================

[](#free-cryptocurrency-rate-api)

The Free Cryptocurrency Rate API connects with the popular exchangers to get the selected pair rate.

Supported exchangers:

- Binance
- Gemini
- Kraken
- Kucoin
- Bybit
- Bittrex
- Bitfinex

**Installation:**

```
composer require evolutionscript/crypto_api
```

**Usage:**

```
$exchange = new \EvolutionScript\CryptocurrencyAPI\Exchange();
//Get rate from pair BTCUSDT, it will get the rate from Binance first, but if api fails or pair does not exist, the system will continue with the next exchanger and so on until get a valid response.
$rate = $exchange->rate('BTC','USDT');
echo 'The value of pair BTCUSDT is '.$rate.'';

//We can get the rate from a specific exchanger
$kucoin = new \EvolutionScript\CryptocurrencyAPI\Providers\Kucoin();
$kucoin_rate = $kucoin->rate('BTC','USDT');
echo 'The value of pair BTCUSDT from Kucoin is '.$kucoin_rate.'';

//Get the amount of 10 bitcoins with 2 decimals
$result = $exchange->exchangeTo(10, $rate, 2);
echo '10 BTC is equivalent to '.$result.' USDT';

//Get the amount of 150 USDT in bitcoin with 4 decimals
$result = $exchange->exchangeFrom(150, $rate, 4);
echo '150 USDT is equivalent to '.$result.' BTC';
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

1459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3aeae2c8231781b231277221556561812f4361aa8f749b0a18fa4ab8b6ebc898?d=identicon)[evolutionscript](/maintainers/evolutionscript)

---

Top Contributors

[![evolutionscript](https://avatars.githubusercontent.com/u/11525334?v=4)](https://github.com/evolutionscript "evolutionscript (3 commits)")

---

Tags

bitcoinRateexchangecryptocurrency

### Embed Badge

![Health badge](/badges/evolutionscript-crypto-api/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[volcengine/volcengine-php-sdk

118.7k](/packages/volcengine-volcengine-php-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)
