priceforagent
由 edibez 提供
Search & Research简介
Get real-time prices for crypto, stocks, and commodities.
描述
该技能的功能
Fetches real-time prices for cryptocurrencies, stocks, and commodities via a REST API. Supports natural language queries, direct symbol lookups, and batch requests. Returns price, bid, ask, and market status in a structured JSON format.
The natural language query endpoint lets agents resolve price questions without symbol mapping logic on the client side.
何时使用
- Checking Bitcoin price mid-conversation
- Comparing ETH and SOL in a single request
- Looking up NVDA stock before a trade decision
- Getting gold and silver prices for a portfolio update
- Monitoring multiple assets in one batch call
示例工作流
User asks: What are the current prices of Bitcoin, Ethereum, and NVDA?
- 1
Register for an API key via POST /v1/register
- 2
Send a batch request to /v1/batch with pairs ["BTC", "ETH", "NVDA"]
- 3
Parse the response array for price, bid, ask, and timestamp fields
- 4
Format the results into a readable summary
BTC: $70,494.63, ETH: $3,210.45, NVDA: $892.10 (all prices in USDT, market open)
前置要求
- API key from p4ai.bitharga.com (free registration via POST /v1/register)
安装
clawhub install edibez/priceforagent运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。