PHPackages                             olegdemkiv/coinmarketcap-api-php-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. [API Development](/categories/api)
4. /
5. olegdemkiv/coinmarketcap-api-php-client

ActiveLibrary[API Development](/categories/api)

olegdemkiv/coinmarketcap-api-php-client
=======================================

Client library for CoinMarketCap API

v1.0.0(3y ago)022MITPHPPHP &gt;=8.0

Since Jul 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/OlegDemkiv/coinmarketcap-api-php-client)[ Packagist](https://packagist.org/packages/olegdemkiv/coinmarketcap-api-php-client)[ RSS](/packages/olegdemkiv-coinmarketcap-api-php-client/feed)WikiDiscussions 1.0 Synced 2d ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

CoinMarketCap API PHP Client
============================

[](#coinmarketcap-api-php-client)

[![Build](https://camo.githubusercontent.com/3da8669c8ddd4d5d2e3e37675fe0479ee25fb1a3060dfc458750e3ceb38c2514/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4f6c656744656d6b69762f636f696e6d61726b65746361702d6170692d7068702d636c69656e742f63692e796d6c)](https://github.com/OlegDemkiv/coinmarketcap-api-php-client/actions)[![Latest Stable Version](https://camo.githubusercontent.com/c1313267bbb331cb212b77609183b0ca9ae0d96c049a130d236f070a8d74a96a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6c656764656d6b69762f636f696e6d61726b65746361702d6170692d7068702d636c69656e74)](https://packagist.org/packages/olegdemkiv/coinmarketcap-api-php-client)[![License](https://camo.githubusercontent.com/5c4c03532b358702d588cc6c978adf4a0d9a9fb1e2fd181ed18364b25b925a1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f6c656764656d6b69762f636f696e6d61726b65746361702d6170692d7068702d636c69656e74)](https://packagist.org/packages/olegdemkiv/coinmarketcap-api-php-client)

This client library is built for interacting with the [CoinMarketCap](https://coinmarketcap.com/) API. It is based on the PSR-17 and PSR-18 standards and supports HTTP client autodiscovery.

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

[](#requirements)

- [PHP 8.0 or higher](https://www.php.net/)
- HTTP Client (should be PSR-18 compatible)

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

[](#installation)

```
composer require olegdemkiv/coinmarketcap-api-php-client

```

Example
-------

[](#example)

```
$key = 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx';
$client = new OlegDemkiv\CoinMarketCapClient\Client($key);
$result = $client->cryptocurrency()->quotesLatest(['id' => '1,2,1027']); // BTC, LTC, ETH
var_dump($result);
```

Endpoints
---------

[](#endpoints)

SupportEndpoint CategoryDescription✅`/blockchain/* `Endpoints that return block explorer related data for blockchains.✅`/community/*`Endpoints that return community data.✅`/content/*`Endpoints that return cryptocurrency-related news, headlines, articles, posts, and comments.✅`/cryptocurrency/*`Endpoints that return data around cryptocurrencies such as ordered cryptocurrency lists or price and volume data.✅`/exchange/*`Endpoints that return data around cryptocurrency exchanges such as ordered exchange lists and market pair data.✅`/fiat/*`Endpoints that return data around fiats currencies including mapping to CMC IDs.✅`/global-metrics/*`Endpoints that return aggregate market data such as global market cap and BTC dominance.✅`/key/*`API key administration endpoints to review and manage your usage.✅`/tools/*`Useful utilities such as cryptocurrency and fiat price conversions.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

2

Last Release

1097d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14280711?v=4)[Oleh Demkiv](/maintainers/olegdemkiv)[@OlegDemkiv](https://github.com/OlegDemkiv)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/olegdemkiv-coinmarketcap-api-php-client/health.svg)

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

###  Alternatives

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M115](/packages/deeplcom-deepl-php)

PHPackages © 2026

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