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(2y ago)022MITPHPPHP &gt;=8.0

Since Jul 4Pushed 2y 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 1mo 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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

1043d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36400bd7ffb12f395aa7114e605ada39f2a02f115c7ae55bfdf3862c92ad4bab?d=identicon)[olegdemkiv](/maintainers/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

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)

PHPackages © 2026

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