# How to use Mida with Binance

A Binance account is required to get started (create a Binance account (opens new window)).

# Login

How to login into a Binance Spot account.

import { login, } from "@reiryoku/mida";

const myAccount = await login("Binance/Spot", {
    apiKey: "...",
    apiSecret: "...",
});

# API key & secret

The apiKey and apiSecrect credentials are required to use Mida with a Binance account, the credentials can be easily generated from the Binance website.

  1. Create a Binance account (opens new window) if you don't have one
  2. Visit Binance (opens new window) and login
  3. Open "API Management" from your profile menu
  4. Use "Create API" to generate the credentials

At this point it's possible to use Mida with the authorized Binance account.

# Node.js Binance API

The Binance Spot & Futures API is fully supported by Mida and can be used through Node.js/JavaScript or other programming languages, read the documentation for more examples.

# Something is not working?

Create an issue (opens new window) on GitHub if something is not working as expected.