Financial Data API
JavaScript & TypeScript SDK for Financial Data
Full TypeScript types, ESM/CJS, WebSocket streaming. The Node.js market data library for modern apps.
npm install eulerpool
Quick start
Three steps to your first data call
1. Install
$ npm install eulerpool
2. Authenticate
import Eulerpool from "eulerpool"; const client = new Eulerpool("ep_live_xxx");
3. Fetch data
const profile = await client.equity.profile("AAPL"); const financials = await client.equity.financials("AAPL"); console.log(`${profile.name}: P/E ${financials.peRatio}`);
Features
Built for JavaScript & TypeScript
01
Full TypeScript types
Autocomplete and type safety. Every response is fully typed.
02
ESM & CJS
Works with Node.js, Deno, and bundlers. Import how you want.
03
Async/await native
Promise-based API. No callbacks. Modern JavaScript.
04
WebSocket & tree-shakeable
Real-time streaming. Import only what you use. Small bundles.
Example
Portfolio tracker
portfolio.js
import Eulerpool from "eulerpool"; const client = new Eulerpool("ep_live_xxx"); async function getPortfolioValue(holdings) { const tickers = holdings.map(h => h.ticker); const quotes = await client.equity.quotes(tickers); return holdings.reduce((total, h) => { const price = quotes[h.ticker].price; return total + h.shares * price; }, 0); }
Ready to build?
Get your free API key. 10,000 calls/day. No credit card required.
Get your free API key