360 Secure SkillHub
360 安全技能中心

PRISM API SDK

提供 prismapi-sdk 客户端用法:以 API 密钥初始化后解析或批量解析资产符号、查询资产家族,并访问解析、加密、股票、DEX、DeFi、预测市场等 100+ 端点的行情数据,返回 JSON,只读且不涉及钱包与交易。

strykragent
strykragent
热度 84.19
最近更新 2026-05-11 17:27:29
分类:数据依赖:第三方 API / 代码执行应用场景:API 集成 / 数据处理 / 财务 / 市场分析

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add prismapi-sdk
Metadata
name
prismapi-sdk
description
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.
homepage
https://prismapi.ai
metadata
{"clawdbot":{"emoji":"💎","requires":{"bins":["node"],"env":[]}}}

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