PRISM API SDK
The elite agentic finance toolkit. Drop-in market intelligence for AI agents, Claude Code, Cursor, or autonomous trading bots.
Quick Start
npm install prismapi-sdk
import { PrismClient } from 'prismapi-sdk';
const prism = new PrismClient({ apiKey: 'your-api-key' });
// Resolve any symbol to canonical data (sub-50ms)
const btc = await prism.resolve('BTC');
// → { canonical: 'BTC', name: 'Bitcoin', price: 71514.84, confidence: 0.97 }
// Batch resolve for trading agents
const assets = await prism.resolveBatch(['BTC', 'ETH', 'AAPL', 'SOL']);
// Get family (wrapped tokens, derivatives)
const family = await prism.getFamily('BTC');
// → [BTC, WBTC, cbBTC, tBTC, renBTC]
Key Features
| Feature |
Description |
| Canonical Resolution |
Resolve any ticker, contract, or symbol to single source of truth |
| Sub-50ms Latency |
Cache-first architecture with 4-layer resolution |
| 100+ Endpoints |
Crypto, DeFi, stocks, forex, macro, predictions |
| Family Grouping |
BTC → WBTC, cbBTC, tBTC in one query |
| MCP-Native |
Built for OpenClaw, Claude, function calling |
API Categories
- Resolution (12 endpoints) - Symbol disambiguation, batch resolve, family grouping
- Crypto (35+ endpoints) - Prices, markets, OHLCV, metadata
- TradFi (30+ endpoints) - Stocks, ETFs, forex, financials
- DEX (25+ endpoints) - Pairs, pools, trending tokens
- DeFi - Yields, protocols, TVL
- Predictions - Polymarket, Kalshi, sports odds
Security Notes
- Read-only API — fetches public market data only
- No wallet access — does not interact with wallets or private keys
- No trading — cannot execute trades
- Data only — returns JSON market data
Links
1---2name: prismapi-sdk3description: Elite Agentic Finance SDK for OpenClaw, Claude & Autonomous Trading Bots. Real-time market data, canonical asset resolution, 100+ endpoints for crypto, DeFi, stocks. Sub-50ms latency.4---5
6# PRISM API SDK
7
8The elite agentic finance toolkit. Drop-in market intelligence for AI agents, Claude Code, Cursor, or autonomous trading bots.
9
10## Quick Start
11
12```bash
13npm install prismapi-sdk
14```
15
16```typescript
17import { PrismClient } from 'prismapi-sdk';
18
19const prism = new PrismClient({ apiKey: 'your-api-key' });
20
21// Resolve any symbol to canonical data (sub-50ms)
22const btc = await prism.resolve('BTC');
23// → { canonical: 'BTC', name: 'Bitcoin', price: 71514.84, confidence: 0.97 }
24
25// Batch resolve for trading agents
26const assets = await prism.resolveBatch(['BTC', 'ETH', 'AAPL', 'SOL']);
27
28// Get family (wrapped tokens, derivatives)
29const family = await prism.getFamily('BTC');
30// → [BTC, WBTC, cbBTC, tBTC, renBTC]
31```
32
33## Key Features
34
35| Feature | Description |
36|---------|-------------|
37| **Canonical Resolution** | Resolve any ticker, contract, or symbol to single source of truth |
38| **Sub-50ms Latency** | Cache-first architecture with 4-layer resolution |
39| **100+ Endpoints** | Crypto, DeFi, stocks, forex, macro, predictions |
40| **Family Grouping** | BTC → WBTC, cbBTC, tBTC in one query |
41| **MCP-Native** | Built for OpenClaw, Claude, function calling |
42
43## API Categories
44
45- **Resolution** (12 endpoints) - Symbol disambiguation, batch resolve, family grouping
46- **Crypto** (35+ endpoints) - Prices, markets, OHLCV, metadata
47- **TradFi** (30+ endpoints) - Stocks, ETFs, forex, financials
48- **DEX** (25+ endpoints) - Pairs, pools, trending tokens
49- **DeFi** - Yields, protocols, TVL
50- **Predictions** - Polymarket, Kalshi, sports odds
51
52## Security Notes
53
54- **Read-only API** — fetches public market data only
55- **No wallet access** — does not interact with wallets or private keys
56- **No trading** — cannot execute trades
57- **Data only** — returns JSON market data
58
59## Links
60
61- **Docs:** https://prismapi.ai/docs
62- **npm:** https://www.npmjs.com/package/prismapi-sdk
63- **GitHub:** https://github.com/Strykr-Prism/PRISM-OS-SDK