TickerDB for Node.js.

Type-safe client for the TickerDB HTTP API. Install, initialize, and start pulling market data in under a minute. Full TypeScript support included.

Install and call in 30 seconds.

One package. One import. No configuration files, no build steps.

install
// install from npm
npm install tickerdb
typescript
import { TickerDB } from "tickerdb";

const client = new TickerDB("tapi_your_api_key");

// Get a full summary for any ticker
const summary = await client.getSummary("AAPL");
console.log(summary.trend.direction);    // "uptrend"
console.log(summary.momentum.rsi_zone);  // "neutral_high"

view on npm →

Chain calls. Build context.

Pull a summary, check for historical band transitions, then monitor your watchlist for changes. Each method returns typed, categorical data you can branch on directly.

1
client.getSummary("AAPL")
Full categorical breakdown — trend, momentum, volatility, fundamentals
2
client.getEvents("AAPL", "rsi_zone", "deep_oversold")
Historical band transitions for RSI entering deep oversold
3
client.getWatchlistChanges()
State changes across your monitored tickers

Track state changes effortlessly.

Most market data APIs return point-in-time snapshots. TickerDB tracks state transitions — your agent sees what changed, not just what is.

typescript
const summary = await client.getSummary("AAPL");
json
{
  "ticker": "AAPL",
  "changes": [
    {
      "field": "rsi_zone",
      "from": "neutral",
      "to": "oversold"
    },
    {
      "field": "trend",
      "from": "uptrend",
      "to": "downtrend"
    }
  ]
}

What your agent sees.

Every tool returns categorical facts — not raw OHLCV data. Your agent can branch on "oversold" without needing to know what RSI > 70 means.

json
{
  "ticker": "NVDA",
  "trend": "strong_uptrend",
  "momentum": {
    "rsi_zone": "overbought",
    "macd_signal": "bullish"
  },
  "volatility": "high",
  "fundamentals": {
    "pe_zone": "above_historical_avg",
    "earnings_surprise": "positive"
  }
}

What you can call.

Every method returns categorical, pre-computed data as a plain dictionary. No raw data to parse, no indicators to compute.

client.getSummary(ticker)

Full technical + fundamental snapshot for a single asset.

client.getWatchlist()

Batch summaries for a portfolio.

client.getWatchlistChanges(options?)

Field-level diffs for your watchlist since the last pipeline run.

client.addToWatchlist(tickers)

Add tickers to your persistent watchlist.

client.removeFromWatchlist(tickers)

Remove tickers from your watchlist.

client.search(filters)

Search across all assets with multi-field filters.

client.getSchema()

Discover all queryable fields and their types.

client.getAccount()

Your plan tier, rate limits, and current API usage.

client.createWebhook(url)

Register a webhook URL for watchlist change notifications.

client.listWebhooks()

List your registered webhook URLs.

client.deleteWebhook(id)

Remove a registered webhook.

Built for how code consumes data.

Categorical data, less parsing

Responses like "rsi_zone": "oversold" are ready to branch on. No indicator math, no threshold logic.

Full TypeScript support

Every response is fully typed. Autocomplete for fields, type-safe branching, no any casts needed.

Pre-computed daily

No infrastructure to maintain. No cron jobs, no indicator math, no data pipelines. TickerDB handles computation and syncing.

Start building.

npm install tickerdb. No credit card required for the free tier.