Postman collection for Binance Public API, including spot, margin, futures, etc.
Postman is an API Collaboration Platform.
Binance now offers several Postman Collections and Environments (JSON files) for a quicker and easier usage of our RESTful APIs.
You only need to import and set up with your own API and secret keys to begin.
Importbutton. On Postman for Mac, for example, the button is at the top left:
Importpop-up page, select the
Foldertab. Click the
Choose folder from your computerbutton and choose the root folder of the downloaded repository.
Select which collections and environments you would like to import and click the
Environmentstab on the left, choose an environment, and set your Api Key and Secret Key by changing the
Current Valuecolumn (see screenshot); (The
Initial Valuefields can be left empty as they’ll be automatically filled by Postman when sending a request.)
Select your newly-added environment from the environment dropdown menu. On Mac, this is at top right, to the left of the eye icon.
The following practices are advised to secure your account's safety:
Q: Why I can't get any response?
You haven't imported the environment file or you've imported it but haven't selected it from the dropdown menu (mentioned in [[How to import and configure]])
Q: How can I debug a request or find the used URL?
API-key format invalid.
Likely causes: - API key is not set. - API key is not correct. -
X-MBX-APIKEYis not selected in your Postman
Signature for this request is not valid.
Likely causes: - Secret key is not set. - Request was made with at least one empty parameter. -
signatureis not the last parameter in the parameters list.
Mandatory parameter 'xxxx' was not sent, was empty/null, or malformed.
Please refer to the API documentation to double check all the mandatory parameters.
If you don't find your answer here, please consult https://dev.binance.vision/ for similar questions from the community or open an issue here.