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.
Install and call
The SDK is produced by Pontx and typechecked and built before publication.
pnpm add @pontx/massiveimport { 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.
pnpm add --global @pontx/massive
pontx-massive call common.getPreviousClose --stocksTicker AAPL --dry-run