PHPackages                             bitmartexchange/bitmart-php-sdk-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. [API Development](/categories/api)
4. /
5. bitmartexchange/bitmart-php-sdk-api

ActiveLibrary[API Development](/categories/api)

bitmartexchange/bitmart-php-sdk-api
===================================

PHP client for the BitMart Cloud API.

v2.3.0(5mo ago)3209↓100%1MITPHPPHP &gt;=7.3.0 || &gt;=8.0.0

Since Jun 17Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/bitmartexchange/bitmart-php-sdk-api)[ Packagist](https://packagist.org/packages/bitmartexchange/bitmart-php-sdk-api)[ Docs](https://github.com/bitmartexchange/bitmart-php-sdk-api)[ RSS](/packages/bitmartexchange-bitmart-php-sdk-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (15)Used By (0)

[![Logo](https://camo.githubusercontent.com/a08953c10f4819c57369facd9705e1f4a29d32487ab4691a2e1d1c0956dd78d2/68747470733a2f2f696d672e6269746d6172742e636f6d2f7374617469632d66696c652f7075626c69632f73646b2f73646b5f6c6f676f2e706e67)](https://bitmart.com)

BitMart-PHP-SDK-API
===================

[](#bitmart-php-sdk-api)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Telegram](https://camo.githubusercontent.com/671a54d41491b3b7d65b65709bfe4869969e177c8eac0bc86a19848f0f3d292a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d4a6f696e25323055732d626c75653f6c6f676f3d54656c656772616d)](https://t.me/bitmart_api)

[BitMart Exchange official](https://bitmart.com) PHP client for the BitMart Cloud API.

Feature
=======

[](#feature)

- Provides exchange quick trading API
- Easier withdrawal
- Efficiency, higher speeds, and lower latencies
- Priority in development and maintenance
- Dedicated and responsive technical support
- Provide webSocket apis calls
- Supported APIs:
    - `/spot/*`
    - `/contract/*`
    - `/account/*`
- Supported websockets:
    - Spot WebSocket Market Stream
    - Spot User Data Stream
    - futures User Data Stream
    - futures WebSocket Market Stream
- Test cases and examples

Installation
============

[](#installation)

```
composer require bitmartexchange/bitmart-php-sdk-api
```

Documentation
=============

[](#documentation)

[API Documentation](https://developer-pro.bitmart.com/en/spot/#change-log)

Example
=======

[](#example)

#### Spot Public API Example

[](#spot-public-api-example)

```
