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.4(2d ago)32.4k↓64.7%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 today

READMEChangelog (10)Dependencies (9)Versions (18)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

Maintenance96

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Recently: every ~31 days

Total

17

Last Release

2d 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 (22 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

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.7k51.8M372](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/packages/php-open-source-saver-jwt-auth)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6725.8k1](/packages/tg-tgwebvalid)[alajusticia/laravel-logins

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

2014.5k](/packages/alajusticia-laravel-logins)[japanese-date/japanese-date

日本の暦、祝日を取り扱うライブラリ

1610.0k](/packages/japanese-date-japanese-date)

PHPackages © 2026

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