Download the PHP package bitmartexchange/bitmart-php-sdk-api without Composer
On this page you can find all versions of the php package bitmartexchange/bitmart-php-sdk-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitmartexchange/bitmart-php-sdk-api
More information about bitmartexchange/bitmart-php-sdk-api
Files in bitmartexchange/bitmart-php-sdk-api
Package bitmart-php-sdk-api
Short Description PHP client for the BitMart Cloud API.
License MIT
Homepage https://github.com/bitmartexchange/bitmart-php-sdk-api
Informations about the package bitmart-php-sdk-api
BitMart-PHP-SDK-API
BitMart Exchange official PHP client for the BitMart Cloud API.
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
Documentation
Example
Spot Public API Example
Spot / Margin Trading Endpoints
Please find example/spot/Trading folder to check for more endpoints.
Spot WebSocket Subscribe Private Channels
Spot WebSocket Subscribe Public Channels
Please find example/spot/Websocket/ folder to check for more endpoints.
Futures Market Data Endpoints
Futures Trading Endpoints
Please find example/futures/Trading folder to check for more endpoints.
Futures WebSocket Subscribe Private Channels
Futures WebSocket Subscribe Public Channels
Please find example/futures/Websocket/ folder to check for more endpoints.
Extra Options
Authentication
How to set API KEY?
Timeout
Set HTTP connection timeout and read timeout.
Logging
If you want to debug the data requested by the API and the corresponding data returned by the API,
you can set it like this:
Domain
How to set API domain name? The domain name parameter is optional,
the default domain name is https://api-cloud.bitmart.com.
Custom request headers
You can add your own request header information here, but please do not fill in X-BM-KEY, X-BM-SIGN, X-BM-TIMESTAMP
Response Metadata
The bitmart API server provides the endpoint rate limit usage in the header of each response.
This information can be obtained from the headers property.
x-bm-ratelimit-remaining indicates the number of times the current window has been used,
x-bm-ratelimit-limit indicates the maximum number of times the current window can be used,
and x-bm-ratelimit-reset indicates the current window time.
Example:
This means that this IP can call the endpoint 600 times within 60 seconds, and has called 10 times so far.
All versions of bitmart-php-sdk-api with dependencies
guzzlehttp/guzzle Version ^7.5
ratchet/pawl Version ^0.4
ext-json Version *
ext-zlib Version *
