# @safe-global/api-kit

> SDK that facilitates the interaction with the Safe Transaction Service API

Latest version **5.0.3** (published 2026-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @safe-global/api-kit
pnpm add @safe-global/api-kit
yarn add @safe-global/api-kit
bun add @safe-global/api-kit
```

## Health

**Score 70/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2026-08-28 |
| First published | 2023-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 118.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 324 |
| Author | Safe |
| Maintainers | dasanra, zalens02, akshay-ap, yagopv |
| Keywords | Ethereum, Wallet, Safe, Smart Account, API |

## Links

- npm: https://www.npmjs.com/package/@safe-global/api-kit
- Repository: https://github.com/safe-global/safe-core-sdk
- Homepage: https://github.com/safe-global/safe-core-sdk#readme
- Issues: https://github.com/safe-global/safe-core-sdk/issues
- npm.io page: https://npm.io/package/@safe-global/api-kit

## Dependencies (4)

- [viem](https://npm.io/package/viem.md) ^2.52.2
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.7.0
- [@safe-global/types-kit](https://npm.io/package/@safe-global/types-kit.md) ^4.0.1
- [@safe-global/protocol-kit](https://npm.io/package/@safe-global/protocol-kit.md) ^8.0.6

## Recent versions

- 5.0.3 (latest) — 2026-08-28
- 4.0.0-alpha.0 (alpha) — 2025-06-05
- 5.0.2 — 2026-08-04
- 5.0.1 — 2026-06-22
- 5.0.0 — 2026-06-22
- 4.2.0 — 2026-05-26
- 4.1.0 — 2026-03-27
- 4.0.1 — 2025-11-20
- 4.0.0 — 2025-06-25
- 3.0.2 — 2025-06-09
- 3.0.1 — 2025-03-17
- 3.0.0 — 2025-03-13
- 2.5.11 — 2025-02-20
- 2.5.10 — 2025-02-19
- 3.0.0-alpha.3 — 2025-02-18
- … 41 more at https://npm.io/package/@safe-global/api-kit/versions

## README

# Safe API Kit

[![npm Version](https://badge.fury.io/js/%40safe-global%2Fapi-kit.svg)](https://badge.fury.io/js/%40safe-global%2Fapi-kit)
[![GitHub Release](https://img.shields.io/github/release/safe-global/safe-core-sdk.svg?style=flat)](https://github.com/safe-global/safe-core-sdk/releases)
[![GitHub](https://img.shields.io/github/license/safe-global/safe-core-sdk)](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md)

Software development kit that facilitates the interaction with the [Safe Transaction Service API](https://github.com/safe-global/safe-transaction-service), allowing to propose and share transactions with the other signers of a Safe, sending the signatures to the service to collect them, getting information about a Safe (like reading the transaction history, pending transactions, enabled Modules and Guards, etc.), among other features.

## Table of contents

- [Documentation](#documentation)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Need Help or Have Questions?](#need-help-or-have-questions)
- [Contributing](#contributing)
- [License](#license)

## Documentation

Head to the [API Kit docs](https://docs.safe.global/sdk/api-kit) to learn more about how to use this SDK.

## Installation

Install the package with yarn or npm:

```bash
yarn add @safe-global/api-kit
npm install @safe-global/api-kit
```

## Quick Start

```js
import SafeApiKit from '@safe-global/api-kit'

const apiKit = new SafeApiKit({
  chainId: 1n,
  // Optional. txServiceUrl must be used to set a custom service. For example on chains where Safe doesn't run services.
  txServiceUrl: 'https://safe-transaction-mainnet.safe.global'
})
```

## Need Help or Have Questions?

If you have any doubts, questions, or need assistance, feel free to reach out! [Here you will find how to get support.](https://github.com/safe-global/safe-core-sdk/tree/main/SUPPORT.md)

## Contributing

Please read our [contribution guidelines](https://github.com/safe-global/safe-core-sdk/tree/main/CONTRIBUTING.md) before submitting any changes. We appreciate your help! 🙌

## License

This library is [released under MIT](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md).

---
_Source: https://npm.io/package/@safe-global/api-kit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
