跳到正文
TakoAPI
返回技能列表

priceforagent

由 edibez 提供

Search & Research
1.4k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Register for an API key via POST /v1/register

  2. 2

    Send a batch request to /v1/batch with pairs ["BTC", "ETH", "NVDA"]

  3. 3

    Parse the response array for price, bid, ask, and timestamp fields

  4. 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 或你在用的任意编程智能体里。

链接