PHPackages                             allyans3/dmarket-auth-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. allyans3/dmarket-auth-api

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

allyans3/dmarket-auth-api
=========================

DMarket Unofficial Auth API

v1.3.5(1mo ago)22.5k↓52.4%MITPHP

Since Jan 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Allyans3/dmarket-auth-api)[ Packagist](https://packagist.org/packages/allyans3/dmarket-auth-api)[ RSS](/packages/allyans3-dmarket-auth-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (12)Versions (19)Used By (0)

Unofficial DMarket Auth API
===========================

[](#unofficial-dmarket-auth-api)

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

[](#installation)

### With composer

[](#with-composer)

Run this text in console to install this package:

```
composer require allyans3/dmarket-auth-api

```

This package currently offers 38 API calls you can make to DMarket.

Creating new object
-------------------

[](#creating-new-object)

```
//Replace with your own keys
$publicKey = "8397eb8e7f88032eb13dca99a11350b05d290c896a96afd60b119184b1b443c9";
$secretKey = "2de2824ac1752d0ed3c66abc67bec2db553022aa718287a1e773e104303031208397eb8e7f88032eb13dca99a11350b05d290c896a96afd60b119184b1b443c9";

$api = new DMarketAuthApi($publicKey, $secretKey);
```

Methods
-------

[](#methods)

```
// Used to get detailed response
$api->detailed()->getUserProfile()

// Account
$api->getUserProfile(array $proxy = [])
$api->getUserBalance(array $proxy = [])

// Sell Items
$api->depositAssets(array $postParams, array $proxy = [])
$api->getDepositStatus(string $depositId, array $proxy = [])
$api->getUserOffers(array $queries = [], array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getUserOffersV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->createBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->updateBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->deleteBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->createUserOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->editUserOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->deleteOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getMarketItems(array $queries, array $proxy = []) ️️❗️// Deprecated old endpoint

// Inventory/items
$api->getUserInventory(array $queries = [], array $proxy = []) ️❗️// Deprecated old endpoint
$api->getUserInventoryV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->syncUserInventory(array $postParams, array $proxy = [])
$api->withdrawAssets(array $postParams, array $proxy = [])
$api->getUserItems(array $queries, array $proxy = [])
$api->getCustomizedFees(array $queries, array $proxy = [])

// Sold user items
$api->getClosedUserOffers(array $queries = [], array $proxy = [])

// Buy items
$api->getOffersByTitle(array $queries, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getTargetsByTitle(string $gameId, string $title, array $proxy = [])
$api->getAggregatedPrices(array $queries, array $proxy = [])
$api->getAggregatedPricesV2(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->getUserTargets(array $queries = [], array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getUserTargetsV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->getClosedUserTargets(array $queries = [], array $proxy = [])
$api->createUserTargets(array $postParams, array $proxy = [])
$api->deleteUserTargets(array $postParams, array $proxy = [])
$api->getMarketplaceOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->buyOffers(array $patchParams, array $proxy = [])

// Aggregator
$api->getLastSales(array $queries, array $proxy = [])
```

Documentation
-------------

[](#documentation)

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance92

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~118 days

Recently: every ~34 days

Total

18

Last Release

37d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fee192742c069abf8c7b3240192d4df0dfc94b273f86bab992e7091c2b8fce2?d=identicon)[Allyans3](/maintainers/Allyans3)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/allyans3-dmarket-auth-api/health.svg)

```
[![Health](https://phpackages.com/badges/allyans3-dmarket-auth-api/health.svg)](https://phpackages.com/packages/allyans3-dmarket-auth-api)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2115.6k](/packages/alajusticia-laravel-logins)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)

PHPackages © 2026

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