OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Blinktradejs

Blinktradejs is an open-source JavaScript SDK and CLI for integrating applications with BlinkTrade's exchange platform through WebSocket and REST clients. It includes methods for public market data, authenticated account requests and trading actions.

Independent OpenViST project profile, based on linked sources.

Blinktradejs — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a JavaScript application needs BlinkTrade data or account and trading operations, and choose WebSocket for integration where possible, as the README recommends.

Who it is for

  • JavaScript developers connecting applications or server-side services to BlinkTrade.
  • Developers building command-line tooling for BlinkTrade integrations.

Documented uses

  • Fetch public ticker, order-book and recent-trade data through REST.
  • Subscribe to order-book updates and receive real-time WebSocket events.
  • Request account balances and submit or cancel orders using authenticated interfaces.
Before you choose

Requirements & limits

The repository identifies the project as open source under the GPL-3.0 license. The README documents installation through Yarn or npm.

  • The SDK supports Node.js and browsers, but browser use is constrained to public REST by the documented cross-origin policy.
  • Authenticated trading and account actions require API credentials and the relevant API-key permissions.
  • The README recommends WebSocket over REST and warns that the REST trade endpoint may change.
  • Promises, callbacks and WebSocket event emitters are documented interaction patterns.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Retrieve public market data with REST

Use the SDK's public REST client to request a ticker, order book or recent trades.

Before you start

  • A JavaScript environment with the Blinktrade package installed using Yarn or npm.
  • A currency value for the REST client configuration.

Steps

  1. Import BlinkTradeRest from the blinktrade package.

  2. Create a client with a currency setting, as in the documented BRL example.

  3. Call ticker(), orderbook() or trades() and handle the returned promise.

Expected outcome

The selected public market-data response is returned; the README says these public REST requests do not require authentication.

Guide limitations

  • Browser use is limited to public REST, and the README describes a cross-origin restriction on browser operation.
Source-based practical guide

Connect and request an authenticated WebSocket balance

Follow the documented connection, login and balance-request sequence.

Before you start

  • A JavaScript environment with the Blinktrade package installed.
  • BlinkTrade API key and API secret credentials.

Steps

  1. Create a BlinkTradeWS client.

  2. Call connect() and, after it resolves, call login() with the API key and secret.

  3. After connecting and authenticating, call balance() to request balance information.

Expected outcome

The SDK's balance request returns balance information for each broker, as shown in the README example.

Guide limitations

  • The documentation says most WebSocket messages require authentication.
  • The README states that environments other than the browser work only on testnet; production use is not available in the browser.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
blinktrade/BlinkTradeJS · Official homepage title · retained in its source language