跳到正文
TakoAPI
返回技能列表

market-snapshot

由 nicholasoxford 提供

Browser & Automation
473下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fetch a token market snapshot (price/liquidity/volume) and return stable JSON (backed by Jupiter).

描述

该技能的功能

Fetches price, liquidity, and volume data for one or more Solana tokens via a hosted endpoint backed by Jupiter. Accepts symbols, names, or mint addresses as input. Returns a structured JSON object with null-safe fields for downstream agent or bot consumption.

Returns a stable JSON contract with predictable null fields and explicit warnings/errors, so downstream agents can parse results without handling variable prose or fragile scraping.

何时使用

  • Checking the current USD price of SOL or JUP
  • Comparing 24h trading volume across multiple tokens in one call
  • Looking up token metadata by mint address
  • Monitoring buy and sell volume ratios over 5-minute intervals
  • Getting liquidity and FDV data for a newly launched token

示例工作流

输入

User asks: What is the current price and 24h change for SOL and JUP?

智能体
  1. 1

    Identify token queries: SOL, JUP

  2. 2

    Fetch https://app.vecstack.com/api/skills/market-snapshot?q=SOL,JUP&source=openclaw using web_fetch with extractMode=text

  3. 3

    Parse the returned JSON body

  4. 4

    Extract usd_price and price_change_24h_pct for each token entry

  5. 5

    Set as_of_unix to current Unix timestamp and return the complete JSON object

输出

JSON object with a tokens array containing price, 24h change, liquidity, and volume stats for SOL and JUP

安装

clawhub install nicholasoxford/market-snapshot

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接