Binance icon

Binance

Consume Binance API

Overview

This node integrates with the Binance API, specifically supporting operations related to the "Spot" resource and the "Exchange" operation. It allows users to interact with Binance's spot market data by selecting or specifying a trading symbol (e.g., BTCUSDT). Typical use cases include retrieving current market information, executing trades, or fetching exchange-related data for a given symbol on Binance's spot market.

Practical examples:

  • Fetching the latest price or order book for a specific cryptocurrency pair.
  • Executing spot market trades based on dynamic input symbols.
  • Monitoring exchange data for portfolio management or alerting workflows.

Properties

Name Meaning
Symbol Name or ID Choose a trading symbol from a dynamically loaded list of available Binance spot market pairs, or specify a symbol ID using an expression. This determines which market the operation will target.

Output

The node outputs JSON data corresponding to the response from the Binance API for the selected spot market symbol and exchange operation. The structure typically includes market data such as prices, order book details, trade history, or execution results depending on the specific exchange action performed.

If binary data is returned (not indicated in the provided code), it would represent raw data files or media related to the exchange operation, but this is not evident here.

Dependencies

  • Requires an API key credential for authenticating with the Binance API.
  • The node depends on internal methods and properties defined in bundled modules (./methods, ./actions/binance.properties, and ./actions/binance.execute).
  • The property "Symbol Name or ID" uses a dynamic loading method (getSymbols) to populate available trading pairs.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Specifying an unsupported or incorrect symbol may result in errors or empty responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors typically indicate invalid or expired API keys; ensure the correct API key is configured.
    • "Symbol not found" or similar errors suggest the chosen symbol does not exist or is not supported; verify the symbol name or ID.
    • Rate limit exceeded errors require slowing down request frequency or upgrading API access.

Links and References

Discussion