messari-deep-research
Async deep-research report workflow using Messari AI. Starts a long-form research job, polls until complete, and returns a comprehensive report on any crypto topic, asset, or protocol. Cost varies; typically $0.50–$2.00 USDC.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- messari-deep-research
- tags
- [ "messari", "research", "ai", "deep-research", "x402", "workflow" ]
- description
- Async deep-research report workflow using Messari AI. Starts a long-form research job, polls until complete, and returns a comprehensive report on any crypto topic, asset, or protocol. Cost varies; typically $0.50–$2.00 USDC.
02 资源文件 2
- 参考文档metadata.json415 B
- 参考文档verification.json1.1 KB
03 SKILL.md 正文
Messari Deep Research Workflow
Goal
Generate a comprehensive, long-form research report on any crypto topic, asset, sector, or question. Uses Messari's async AI deep-research engine which crawls their knowledge graph, on-chain data, and news to produce institutional-quality reports.
Cost per run: ~$0.50–$2.00 USDC on Base (async, takes 5–15 minutes)
Trigger phrases
- "Write a deep research report on [topic]"
- "Give me a full analysis of [asset/protocol]"
- "Research the [DeFi/L2/RWA/etc.] sector"
- "Deep dive on [topic]"
- "Generate a research report"
Step 0 — Preflight: check balance
mp token balance list --wallet main --chain base --json
Ensure at least $3.00 USDC on Base.
Step 1 — Start deep research job
mp x402 request \
--method POST \
--url "https://api.messari.io/ai/v1/deep-research" \
--body '{
"query": "<your research question or topic>"
}' \
--wallet main \
--chain base
Example queries:
"What is the investment thesis for Ethereum restaking protocols in 2025?""Analyze the competitive landscape of L2 rollups""What are the key risks in the RWA tokenization sector?""Deep dive on Solana's DeFi ecosystem"
Response: Returns a job id (e.g. dr_abc123) and status pending.
{
"id": "dr_abc123",
"status": "pending",
"created_at": "2025-..."
}
Step 2 — Poll for completion (free, repeat until done)
mp x402 request \
--method GET \
--url "https://api.messari.io/ai/v1/deep-research/<JOB_ID>" \
--wallet main \
--chain base
Status values:
pending— job queued, try again in 60sprocessing— actively generating, try again in 60scompleted— report ready, extractresultfailed— job failed, checkerrorfield
Polling is free (no payment required). Poll every 30–60 seconds.
Step 3 — Retrieve completed report
Once status is completed, the response contains the full report:
{
"id": "dr_abc123",
"status": "completed",
"result": {
"title": "...",
"summary": "...",
"sections": [...],
"sources": [...]
}
}
Full workflow script (with auto-polling)
#!/bin/bash
# messari-deep-research.sh "<research query>"
# Usage: ./messari-deep-research.sh "Analyze the Solana DeFi ecosystem"
QUERY="${1:-What are the top crypto narratives for 2025?}"
WALLET="main"
CHAIN="base"
BASE="https://api.messari.io"
OUT="$HOME/.config/moonpay/research/deep-$(date -u +%Y%m%d-%H%M%S)"
mkdir -p "$(dirname "$OUT")"
echo "Starting deep research: \"$QUERY\""
echo ""
# Step 1: Start job
RESPONSE=$(mp x402 request --method POST \
--url "${BASE}/ai/v1/deep-research" \
--body "{\"query\": \"${QUERY}\"}" \
--wallet "$WALLET" --chain "$CHAIN")
echo "$RESPONSE" > "${OUT}-job.json"
JOB_ID=$(echo "$RESPONSE" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])" 2>/dev/null)
if [ -z "$JOB_ID" ]; then
echo "ERROR: Could not extract job ID. Response:"
echo "$RESPONSE"
exit 1
fi
echo "Job started: $JOB_ID"
echo "Polling for completion (this takes 5–15 minutes)..."
# Step 2: Poll loop
while true; do
sleep 30
STATUS_RESPONSE=$(mp x402 request --method GET \
--url "${BASE}/ai/v1/deep-research/${JOB_ID}" \
--wallet "$WALLET" --chain "$CHAIN")
STATUS=$(echo "$STATUS_RESPONSE" | python3 -c "import sys,json; print(json.load(sys.stdin).get('status','unknown'))" 2>/dev/null)
echo " Status: $STATUS ($(date +%H:%M:%S))"
if [ "$STATUS" = "completed" ]; then
echo "$STATUS_RESPONSE" > "${OUT}-report.json"
echo ""
echo "Report complete! Saved to ${OUT}-report.json"
break
elif [ "$STATUS" = "failed" ]; then
echo "ERROR: Research job failed."
echo "$STATUS_RESPONSE"
exit 1
fi
done
Cancel a running job
mp x402 request \
--method POST \
--url "https://api.messari.io/ai/v1/deep-research/<JOB_ID>/cancel" \
--wallet main \
--chain base
List past research jobs
mp x402 request \
--method GET \
--url "https://api.messari.io/ai/v1/deep-research" \
--wallet main \
--chain base
Output format
Present the completed report as:
## Deep Research: [Report Title]
**Job ID:** dr_abc123
**Generated:** [timestamp]
**Cost:** ~$X.XX USDC
### Executive Summary
[2-3 paragraph summary]
### [Section 1 Title]
[content]
### [Section 2 Title]
[content]
...
### Sources
- [source 1]
- [source 2]
Good research queries
Asset deep dives:
"Investment thesis for [TOKEN]: fundamentals, competition, risks, and outlook""On-chain health of [TOKEN]: activity, retention, revenue"
Sector analysis:
"Competitive landscape of Ethereum L2 rollups in 2025""State of RWA tokenization: market size, key players, regulatory risks""DeFi lending protocols: risk comparison across Aave, Compound, and Morpho"
Narrative research:
"What is the AI x crypto narrative and which projects are best positioned?""Is the memecoin supercycle over? Evidence and counterarguments"
Macro:
"How does the current macro environment affect crypto market structure?"
Notes
- Deep research is async — start the job, then come back; do not busy-wait
- Report quality is significantly higher than single-shot AI chat
- If polling for >20 minutes with
processingstatus, the job may be stuck — cancel and retry - Payments in USDC on Base (
--chain base) - Free polling: Step 2 GET requests do not trigger payment
Related skills
- messari-x402 — Core endpoint reference and quick AI chat (
/ai/v2/chat/completions) - messari-token-research — Faster, cheaper token research using multiple data endpoints
- messari-alpha-scout — Surface topics worth deep-researching
- messari-funding-intel — Complement with funding data
04 同仓库更多 Skills
zkrouter
Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.
zk
For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.
zk-omni-messaging
Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.
zerion-wallet-data
Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
youtube-clipper
YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video
yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.