Socket
Book a DemoInstallSign in
Socket

falconx-node

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

falconx-node

REST client for FalconX APIs

2.0.2
latest
Source
npmnpm
Version published
Weekly downloads
826
-2.48%
Maintainers
2
Weekly downloads
 
Created
Source

Overview

This is the official NodeJS client for the FalconX API.

API Documentation: http://docs.falconx.io

Installation

npm i -S falconx-node

OR

yarn add falconx-node

Quickstart

import FalconxClient from 'falconx-node';

const fxClient = new FalconxClient(apiKey, secretKey, passphrase);
fxClient.getQuote('ETH', 'USD', 0.1, 'two_way').then(quote => {
    fxClient.executeQuote(quote.fx_quote_id, 'sell').then(executedQuote => {
        console.log(executedQuote);
    });
});

Latest Update

All the trading requests will default to the new faster endpoint. The v3 flasg introduced earlier has been removed and should not be passed in the request (see sample below)

import FalconxClient from 'falconx-node';

const fxClient = new FalconxClient(apiKey, secretKey, passphrase);

options = {
    client_order_id: '<some client order id>'
}

fxClient.placeOrder('ETH', 'USD', 0.1, 'sell', 'market', options).then(response => {
     console.log(response);
});

About FalconX

FalconX is an institutional digital asset brokerage.

FAQs

Package last updated on 09 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.