Skip to main content
NPM downloads

Installation

Install the package from npm:
Want your coding agent to help with Loops? Install the Loops CLI and skills with one command:
Minimum Node version required: 18.0.0. You will need a Loops API key to use the SDK. In your Loops account, go to the API Settings page and click Generate key. Copy this key and save it in your application code (for example as LOOPS_API_KEY in an .env file).

Next.js guide

Read our guide for sending email from Next.js projects.

Usage

Import RateLimitExceededError to handle rate limits. See the SDK docs for every method, TypeScript types, rate limiting, and error handling. See the API documentation to learn more about rate limiting and error handling.

npm package

View the full documentation on npm.

GitHub

View the source code and release notes.

Loops API

Read the Loops API reference.
Last modified on June 23, 2026