npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

prism-finance-os

v0.1.1

Published

Financial Operating System for AI Agents. 218+ endpoints for crypto, DeFi, stocks, forex, macro, predictions. Built for Cursor, Claude, OpenClaw, ChatGPT & autonomous agents. Vibe-coding ready. One SDK, all financial data.

Readme

PRISM Finance OS

The Financial Operating System for AI Agents, Cursor, Claude, ChatGPT & Autonomous Trading Bots

npm version npm downloads License: MIT

One SDK. All financial data. 218+ endpoints.

Built for the vibe-coding era. Drop-in financial intelligence for any AI agent — Cursor, Claude, OpenClaw, ChatGPT, Copilot, or your custom autonomous trading bot.

Why PRISM Finance OS?

| Problem | PRISM Solution | |---------|---------------| | Fragmented APIs | One unified SDK — crypto, stocks, DeFi, forex, macro, predictions | | No canonical IDs | Chronicle ID — resolve any ticker/contract to single source of truth | | Agent-unfriendly data | Context injection — get everything an AI needs in one call | | Expensive data | Free tier + affordable plans — 70% of data sources are free |

Installation

npm install prism-finance-os

Quick Start (30 seconds)

import PrismOS from 'prism-finance-os';

const prism = new PrismOS({ apiKey: 'your-api-key' });

// Get crypto price
const btc = await prism.crypto.getConsensusPrice('BTC');

// Get stock fundamentals
const aapl = await prism.stocks.getFundamentals('AAPL');

// Get DeFi yields
const yields = await prism.defi.getTopYields({ minTvl: 1_000_000 });

// Get prediction markets
const markets = await prism.predictions.getTrending();

24 Modules, 218+ Endpoints

| Module | Methods | What It Does | |--------|---------|-------------| | Resolution | 17 | Canonical ID resolution — the core of PRISM | | Crypto | 26 | Prices, trending, market cap, NVT valuation | | DeFi | 17 | Protocols, TVL, yields, stablecoins, bridges | | Onchain | 9 | Whale movements, exchange flows, supply | | Stocks | 20 | Quotes, fundamentals, earnings, DCF | | ETFs | 3 | Holdings, sector weights | | Forex | 2 | Live quotes | | Commodities | 2 | Gold, oil, metals | | Macro | 11 | Fed rate, inflation, GDP, treasury yields | | Historical | 6 | OHLCV, returns, volatility | | News | 3 | Crypto + stock news with sentiment | | Calendar | 3 | Earnings, economic events | | Technicals | 8 | RSI, MACD, MAs, support/resistance | | Signals | 5 | Momentum, breakouts, divergence | | Risk | 3 | VaR, Sharpe, portfolio risk | | Order Book | 4 | Depth, spread, imbalance | | Trades | 2 | Recent and large trades | | Social | 5 | Sentiment, mentions, GitHub activity | | Analysis | 7 | Fork/copycat/rebrand detection | | Predictions | 10 | Polymarket, Kalshi, Manifold | | Sports | 7 | Events, live scores | | Odds | 5 | Arbitrage finder, odds history | | Developer | 8 | API keys, usage, health | | Agent | 3 | Context injection, endpoint discovery |

Use Cases

AI Trading Agent

// Get all signals for a trading decision
const signals = await prism.signals.getAll('ETH');
const technicals = await prism.technicals.getAll('ETH');
const sentiment = await prism.social.getSentiment('ETH');

if (signals.momentum > 0.7 && sentiment.score > 0.6) {
  // Execute trade
}

DeFi Yield Scanner

const yields = await prism.defi.getTopYields({
  minTvl: 1_000_000,
  stablecoinOnly: true,
  minApy: 5,
});

// Returns sorted by risk-adjusted yield
for (const pool of yields) {
  console.log(`${pool.protocol}: ${pool.apy}% APY, $${pool.tvl} TVL`);
}

Cross-Asset Portfolio Analysis

const portfolio = ['BTC', 'ETH', 'AAPL', 'GLD', 'SPY'];

const risk = await prism.risk.getPortfolioRisk(portfolio);
const correlation = await prism.technicals.getCorrelation(portfolio);

console.log(`Portfolio VaR: ${risk.var95}%`);
console.log(`BTC-SPY Correlation: ${correlation['BTC-SPY']}`);

Prediction Market Arbitrage

const arb = await prism.odds.getArbitrage();

for (const opp of arb.opportunities) {
  console.log(`${opp.market}: ${opp.profit}% profit`);
  console.log(`Buy ${opp.yes.platform} YES @ ${opp.yes.price}`);
  console.log(`Buy ${opp.no.platform} NO @ ${opp.no.price}`);
}

Agent Context Injection (For AI Agents)

// Get everything an AI agent needs about an asset in ONE call
const context = await prism.agent.getContext('ETH');
// Returns: price, fundamentals, technicals, news, sentiment, signals

// Discover relevant endpoints for a task
const endpoints = await prism.agent.discoverEndpoints('find high yield stablecoin pools');
// Returns: prism.defi.getTopYields, prism.defi.getStablecoins, etc.

Works With Everything

  • Cursor — drop into any Cursor project
  • Claude — use with Claude's tool calling
  • OpenClaw / Clawdbot — native integration
  • ChatGPT — GPT function calling compatible
  • Copilot — works in any VS Code setup
  • LangChain — use as a LangChain tool
  • AutoGPT / AgentGPT — plug into any agent framework
  • Custom agents — simple REST API under the hood

Configuration

const prism = new PrismOS({
  apiKey: 'your-api-key',          // Get from api.prismapi.ai
  baseUrl: 'https://api.prismapi.ai', // default
  timeout: 10_000,                    // ms, default
});

Get Your API Key

  1. Go to api.prismapi.ai
  2. Sign up (free tier available)
  3. Copy your API key
  4. Start building

Pricing

| Tier | Price | Calls/mo | Rate Limit | |------|-------|----------|------------| | Free | $0 | 5,000 | 10/min | | Hobby | $9/mo | 25,000 | 20/min | | Dev | $29/mo | 100,000 | 60/min | | Pro | $99/mo | 500,000 | 120/min |

Links

License

MIT — use it however you want.


Built by Strykr AI — Market Intelligence for the Agentic Era.