Market Snapshot (Skill-Only, OpenClaw)
This skill is designed for OpenClaw/ClawHub bots that need a fast, low-friction market snapshot.
What This Skill Does
- Calls a hosted market snapshot endpoint (
/skills/market-snapshot) with one or more token queries.
- The API resolves tokens + fetches pricing/metadata server-side (backed by Jupiter Tokens V2 + Price V3).
- Emits a stable JSON object (no prose) so other agents/bots can parse it reliably.
What This Skill Will Not Do
- It will not create or manage wallets.
- It will not request, store, or handle private keys / seed phrases.
- It will not execute swaps or provide "trade recommendations".
How To Use
When the user asks for prices, market snapshots, token metadata, or "what is X doing", run a snapshot.
Input formats supported:
- Symbols:
SOL, USDC, JUP
- Names:
solana, jupiter
- Mints:
So11111111111111111111111111111111111111112
If multiple tokens are provided, resolve all of them and return a combined snapshot.
Data Sources (GET, No Headers Needed)
- Market snapshot:
https://app.vecstack.com/api/skills/market-snapshot?q=<CSV_TOKENS>&source=openclaw
Examples (copy/paste):
- Single token:
https://app.vecstack.com/api/skills/market-snapshot?q=SOL&source=openclaw
- Multiple tokens (comma-separated, no spaces):
https://app.vecstack.com/api/skills/market-snapshot?q=SOL,USDC,JUP&source=openclaw
Notes:
web_fetch caches by URL. If the user explicitly needs "fresh right now" data, append a cache-buster query param like &_t=<unix> to the URL.
- Do not invent values. If a fetch fails, keep
null fields and include an entry in warnings/errors.
Output Contract (Return JSON Only)
Return a single JSON object with this shape:
{
"as_of_unix": 0,
"provider": "jupiter",
"inputs": ["SOL", "USDC"],
"tokens": [
{
"query": "SOL",
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"name": "Wrapped SOL",
"decimals": 9,
"verified": true,
"tags": [],
"liquidity_usd": null,
"mcap_usd": null,
"fdv_usd": null,
"usd_price": null,
"price_change_24h_pct": null,
"stats": {
"5m": {
"price_change_pct": null,
"volume_usd": null,
"buy_volume_usd": null,
"sell_volume_usd": null
},
"1h": {
"price_change_pct": null,
"volume_usd": null,
"buy_volume_usd": null,
"sell_volume_usd": null
},
"24h": {
"price_change_pct": null,
"volume_usd": null,
"buy_volume_usd": null,
"sell_volume_usd": null
}
},
"sources": {
"token_search_url": null,
"price_url": null
}
}
],
"warnings": [],
"errors": []
}
Field rules:
as_of_unix: set to current Unix time when you finish assembling the response.
liquidity_usd, mcap_usd, fdv_usd, and stats.* are populated from Tokens V2 search when present.
usd_price and price_change_24h_pct are populated from Price V3 when present.
warnings: non-fatal issues (missing price, ambiguous match, rate limits, etc).
errors: fatal issues that prevented a snapshot (e.g., all sources failed).
Implementation Notes For OpenClaw
- Prefer the
web_fetch tool for the endpoint, using extractMode=text so the body stays parseable as JSON.
- If
web_fetch returns non-JSON content, retry once with a cache-buster (append &_t=<unix>).
- Keep the final response strictly JSON.
1---
2name: market-snapshot
3description: Fetch a token market snapshot (price/liquidity/volume) and return stable JSON (backed by Jupiter).
4homepage: https://app.vecstack.com
5metadata:
6 source: https://skillmd.com/skills/modbender/market-snapshot
7---
8
9# Market Snapshot (Skill-Only, OpenClaw)
10
11This skill is designed for OpenClaw/ClawHub bots that need a fast, low-friction market snapshot.
12
13## What This Skill Does
14
15- Calls a hosted market snapshot endpoint (`/skills/market-snapshot`) with one or more token queries.
16- The API resolves tokens + fetches pricing/metadata server-side (backed by Jupiter Tokens V2 + Price V3).
17- Emits a **stable JSON object** (no prose) so other agents/bots can parse it reliably.
18
19## What This Skill Will Not Do
20
21- It will not create or manage wallets.
22- It will not request, store, or handle private keys / seed phrases.
23- It will not execute swaps or provide "trade recommendations".
24
25## How To Use
26
27When the user asks for prices, market snapshots, token metadata, or "what is X doing", run a snapshot.
28
29Input formats supported:
30
31- Symbols: `SOL`, `USDC`, `JUP`
32- Names: `solana`, `jupiter`
33- Mints: `So11111111111111111111111111111111111111112`
34
35If multiple tokens are provided, resolve all of them and return a combined snapshot.
36
37## Data Sources (GET, No Headers Needed)
38
39- Market snapshot:
40 - `https://app.vecstack.com/api/skills/market-snapshot?q=<CSV_TOKENS>&source=openclaw`
41
42Examples (copy/paste):
43
44- Single token:
45 - `https://app.vecstack.com/api/skills/market-snapshot?q=SOL&source=openclaw`
46- Multiple tokens (comma-separated, no spaces):
47 - `https://app.vecstack.com/api/skills/market-snapshot?q=SOL,USDC,JUP&source=openclaw`
48
49Notes:
50
51- `web_fetch` caches by URL. If the user explicitly needs "fresh right now" data, append a cache-buster query param like `&_t=<unix>` to the URL.
52- Do not invent values. If a fetch fails, keep `null` fields and include an entry in `warnings`/`errors`.
53
54## Output Contract (Return JSON Only)
55
56Return a single JSON object with this shape:
57
58```json
59{
60 "as_of_unix": 0,
61 "provider": "jupiter",
62 "inputs": ["SOL", "USDC"],
63 "tokens": [
64 {
65 "query": "SOL",
66 "mint": "So11111111111111111111111111111111111111112",
67 "symbol": "SOL",
68 "name": "Wrapped SOL",
69 "decimals": 9,
70 "verified": true,
71 "tags": [],
72 "liquidity_usd": null,
73 "mcap_usd": null,
74 "fdv_usd": null,
75 "usd_price": null,
76 "price_change_24h_pct": null,
77 "stats": {
78 "5m": {
79 "price_change_pct": null,
80 "volume_usd": null,
81 "buy_volume_usd": null,
82 "sell_volume_usd": null
83 },
84 "1h": {
85 "price_change_pct": null,
86 "volume_usd": null,
87 "buy_volume_usd": null,
88 "sell_volume_usd": null
89 },
90 "24h": {
91 "price_change_pct": null,
92 "volume_usd": null,
93 "buy_volume_usd": null,
94 "sell_volume_usd": null
95 }
96 },
97 "sources": {
98 "token_search_url": null,
99 "price_url": null
100 }
101 }
102 ],
103 "warnings": [],
104 "errors": []
105}
106```
107
108Field rules:
109
110- `as_of_unix`: set to current Unix time when you finish assembling the response.
111- `liquidity_usd`, `mcap_usd`, `fdv_usd`, and `stats.*` are populated from Tokens V2 search when present.
112- `usd_price` and `price_change_24h_pct` are populated from Price V3 when present.
113- `warnings`: non-fatal issues (missing price, ambiguous match, rate limits, etc).
114- `errors`: fatal issues that prevented a snapshot (e.g., all sources failed).
115
116## Implementation Notes For OpenClaw
117
118- Prefer the `web_fetch` tool for the endpoint, using `extractMode=text` so the body stays parseable as JSON.
119- If `web_fetch` returns non-JSON content, retry once with a cache-buster (append `&_t=<unix>`).
120- Keep the final response strictly JSON.