{"repo":"massive-com/client-js","free":true,"listed":false,"github":"https://github.com/massive-com/client-js","clone":"git clone https://github.com/massive-com/client-js.git","description":"The official JS client library for the Massive.com REST and WebSocket API.","language":"TypeScript","stars":271,"topics":["api-client","javascript","lib","library","js","websocket"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Massive JS Client Welcome to the official JS client library for the Massive REST and WebSocket API. To get started, please see the Getting Started section in our documentation, view the examples directory for code snippets, or the blog post with video tutorials to learn more. To generate the package documentation please run npm run generate-doc . For upgrade instructions please see the Release Notes. Note: Polygon.io has rebranded as Massive.com on Oct 30, 2025. Existing API keys, accounts, and integrations continue to work exactly as before. The only change in this SDK is that it now defaults to the new API base at api.massive.com , while api.polygon.io remains supported for an extended period. For details, see our rebrand announcement blog post or open an issue / contact support@massive.com if you have questions. Getting the client To get started, you'll need to install the client library: Next, create a new client with your API key. Using the client After creating the client, making calls to the Massive API is easy. For example, here's a complete example on how to get aggregates (bars): Or, maybe you want to get the last trades or quotes for a ticker: Finally, maybe you want a snapshot of a ticker: See full examples for more details on how to use this client effectively. Pagination The client can handle pagination for you through the globalFetchOptions by turning on the pagination: true option. The feature will automatically fetch all next url pages of data when the API re","default_branch":null,"files":null,"tree":[],"storefront":"/r/massive-com","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/massive-com/client-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}