Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

market-snapshot

bởi nicholasoxford

Browser & Automation
473Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install nicholasoxford/market-snapshot

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết