Introducing DMarket API for Automated Trading
Thanks to the October 2026 product update, the DMarket Trading API includes tools for automated peer-to-peer (P2P) transactions. This feature enhances the possibilities for API users in CS2 item trading.
P2P Automated
Use the DMarket Trading API to automate P2P trading of Counter-Strike 2 skins and items.
- List CS2 items directly from your Steam inventory.
- Purchase P2P offers from the Counter-Strike marketplace on DMarket.
- Manage trading deals via your code. The benefits of peer-to-peer trading are based on processing direct transactions between Steam accounts, such as the possibility to use items while they are listed on sale.
How to Set Up P2P Trading via the DMarket API
To set peer-to-peer trading in DMarket, you need the following.
- API key
- Connected Steam account with Steam Guard Mobile Authenticator enabled for 15 days or longer.
Having that is enough to proceed purchase transactions automatically.
For selling CS2 items via P2P trading, you need DMarket’s online P2P client: browser extension or P2P SDK (beta), which is built specifically for running P2P trading bots on servers. Find more details in the technical documentation of DMarket API here.
Use of AI for setting P2P in DMarket Trading API
You can use AI tools like ChatGPT or Claude to explore the API and set it up. AI tools can help you explore the DMarket API, generate code, and build your own trading bot.
Never share your API key with AI or anyone else. Use the technical documentation of the API for AI prompts. DMarket never requests sharing your API key, as keeping it secret is basic safety.
Also, read and test generated code before running it on a real account.
Important Links
Here are some important links regarding P2P trading and the DMarket API in general.
Automated P2P trading has been enabled for CS2 items only, and it’s already available in the DMarket API. Stay tuned to DMarket Blog for future product updates.
Trade on the go - install the mobile app of DMarket from Google Play or App Store. Never miss great prices and unique skins. The best CS2, Dota 2, Rust and TF2 marketplace is always at hand!
Follow us on Facebook and Twitter to get more updates about upcoming features on DMarket!
