Financial Data API
JavaScript & TypeScript SDK for Financial Data
Full TypeScript types, ESM/CJS, zero dependencies. 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("US0378331005"); const metrics = await client.equity.metrics("AAPL"); console.log(`P/E ${metrics.valuation.pe}`);
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
Zero dependencies
Built on native fetch. Tree-shakeable ESM. ~25 KB unpacked.
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.market.quotesLatest(tickers); return holdings.reduce( (total, h) => total + h.shares * quotes[h.ticker].price, 0, ); }
Frequently asked questions
Ready to build?
Get your free API key. 100,000 calls/month. No credit card required.
Get your free API key