Binance
Binance is an online exchange where users can trade cryptocurrencies.
Categories: Payment Processing
Type: binance/v1
Actions
Fetch Pair Price
Name: fetchPairPrice
Fetch the price of a crypto pair from Binance.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| symbol | Symbol | STRING | The symbol of the crypto pair. | true |
Example JSON Structure
{
"label" : "Fetch Pair Price",
"name" : "fetchPairPrice",
"parameters" : {
"symbol" : ""
},
"type" : "binance/v1/fetchPairPrice"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| symbol | STRING | The symbol of the crypto pair. |
| price | STRING | The price of the crypto pair. |
Output Example
{
"symbol" : "",
"price" : ""
}Find Symbol ID
The Symbol ID is a unique value that can be found in the Binance UI or via the API.
- Method 1: In the Binance UI
- Go to https://www.binance.com/en/futures/multi-symbols.
- On the left bar you can find symbols.
- Method 2: Via API
Use the GET /exchangeInfo endpoint to retrieve a list of all symbols and their IDs.
What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
How is this guide?
Last updated on
Beamer
Beamer is a customer engagement platform that helps businesses communicate updates, collect feedback, and boost user engagement through in-app notifications, changelogs, and announcements.
Bitbucket
Elevate your software delivery from planning to production and beyond, with built-in AI, CI/CD, and a best-in-class Jira integration.