TypeScript / Node.js SDK

@pontx/massive

The operator-published SDK for Massive stock market data API. Documentation and package releases share the same approved OAS.

v0.1.0Node.js ≥ 18ESM + CommonJSTypeScript declarations

Install and call

The SDK is produced by Pontx and typechecked and built before publication.

Install SDK
pnpm add @pontx/massive
TypeScript usage
import { createMassiveClient } from "@pontx/massive";

const client = createMassiveClient({
  apiKey: process.env.MASSIVE_API_KEY!
});
const result = await client.common.getPreviousClose("AAPL", {});

Command-line access

This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.

Dedicated API CLI
pnpm add --global @pontx/massive

pontx-massive call common.getPreviousClose --stocksTicker AAPL --dry-run