MCPcopy Index your code
hub / github.com/circlefin/circle-nodejs-sdk

github.com/circlefin/circle-nodejs-sdk @v2.10.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.10.2 ↗ · + Follow
440 symbols 794 edges 257 files 127 documented · 29% updated 23d agorelease-2026-03-20T180829 · 2026-03-20★ 333 open issues

Browse by type

Functions 195 Types & classes 245
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Circle APIs Node.js Library

npm version npm downloads

The Circle Node library provides convenient access to the Circle API for applications written in server-side JavaScript. For the API reference, see the Circle API docs.

Requirements

Node 10 or higher.

Installation

Install the package with:

npm install @circle-fin/circle-sdk --save
# or
yarn add @circle-fin/circle-sdk

Usage

In order to make API calls, you will need an API key. Once you obtain one, you can use this SDK to make API calls as follows:

import { Circle, CircleEnvironments, SubscriptionRequest } from "@circle-fin/circle-sdk";

// Initialize API driver
const circle = new Circle(
    '<your-api-key>',
    CircleEnvironments.sandbox      // API base url
);

async function createSubscription() {
    const subscribeReq: SubscriptionRequest = {
        endpoint: "https://example.org/handler/for/notifications"
    };

    const subscribeResp = await circle.subscriptions.createSubscription(subscribeReq);
    console.log(subscribeResp.data);
}
createSubscription();

Development

Clone this repo and install dependencies using

yarn install
  1. Run the codegen command to generate the source code for this SDK from the sdk.json OpenAPI specification file:

    sh yarn gen-sdk

  2. Run all tests:

    bash yarn test

Contributions

Please follow the Conventional Commits format for all commits when creating a contributing pull request for this repo.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Interface 198
Function 127
Method 68
Class 46
Enum 1

Languages

TypeScript100%

Modules by API surface

src/generated/apis/payouts-api.ts19 symbols
src/generated/apis/trades-api.ts17 symbols
src/generated/apis/crypto-payment-intents-api.ts15 symbols
src/generated/apis/crypto-address-book-api.ts15 symbols
src/generated/apis/addresses-api.ts15 symbols
src/generated/apis/wires-api.ts13 symbols
src/generated/apis/pixapi.ts13 symbols
src/generated/apis/payments-api.ts13 symbols
src/generated/apis/cubixapi.ts13 symbols
src/generated/apis/transfers-api.ts11 symbols
src/generated/apis/subscriptions-api.ts11 symbols
src/generated/apis/settlements-api.ts11 symbols

For agents

$ claude mcp add circle-nodejs-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page