# 3commas

> 3Commas API and high level utilities.

Latest version **1.3.0** (published 2024-02-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install 3commas
pnpm add 3commas
yarn add 3commas
bun add 3commas
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2024-02-13 |
| First published | 2023-04-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 5 |
| Unpacked size | 251.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Özüm Eldoğan |
| Maintainers | ozum |
| Keywords | 3commas crypto trading bot api cryptocurrency bitcoin etherium altcoin |

## Links

- npm: https://www.npmjs.com/package/3commas
- Repository: https://github.com/ozum/3commas
- Issues: https://github.com/ozum/3commas/issues
- npm.io page: https://npm.io/package/3commas

## Dependencies (5)

- [arrify](https://npm.io/package/arrify.md) ^3.0.0
- [winston](https://npm.io/package/winston.md) ^3.11.0
- [qcompare](https://npm.io/package/qcompare.md) ^1.4.7
- [just-camel-case](https://npm.io/package/just-camel-case.md) ^6.2.0
- [just-snake-case](https://npm.io/package/just-snake-case.md) ^3.2.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2024-02-13
- 1.2.1 — 2024-01-30
- 1.2.0 — 2024-01-09
- 1.1.0 — 2024-01-07
- 1.0.0 — 2023-12-31
- 0.0.1 — 2023-04-27

## README

# Low Level

Access 3Commas API.

```ts
import { getBot, getAllAccounts } from "3commas";

const bot = await getBot(123456789);
const accounts = await getAllAccounts(123456789);
```

# High Level

Use 3Commas API at a high level.

```ts
import { ThreeCommas } from "3Commas";

const threeCommas = new ThreeCommas();
await threeCommas.loadAccounts();
await threeCommas.loadBots();

const bot = threeCommas.getBot(123456789);
const account = bot.account;
```

---
_Source: https://npm.io/package/3commas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
