alchemy-agentic-gatewa…
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or…
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.
$ npx -y skills add moonpay/skills --skill messari-deep-research --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/messari-deep-researchContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: messari-deep-research 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. tags: [messari, research, ai, deep-research, x402, workflow]
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)**
---
mp token balance list --wallet main --chain base --json
Ensure at least **$3.00 USDC** on Base.
---
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:**
**Response:** Returns a job `id` (e.g. `dr_abc123`) and status `pending`.
{
"id": "dr_abc123",
"status": "pending",
"created_at": "2025-..."
}---
mp x402 request \ --method GET \ --url "https://api.messari.io/ai/v1/deep-research/<JOB_ID>" \ --wallet main \ --chain base
**Status values:**
Polling is free (no payment required). Poll every 30–60 seconds.
---
Once status is `completed`, the response contains the full report:
{
"id": "dr_abc123",
"status": "completed",
"result": {
"title": "...",
"summary": "...",
"sections": [...],
"sources": [...]
}
}---
#!/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---
mp x402 request \ --method POST \ --url "https://api.messari.io/ai/v1/deep-research/<JOB_ID>/cancel" \ --wallet main \ --chain base
---
mp x402 request \ --method GET \ --url "https://api.messari.io/ai/v1/deep-research" \ --wallet main \ --chain base
---
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]
---
**Asset deep dives:**
**Sector analysis:**
**Narrative research:**
**Macro:**
---
Agent Skills for crypto infrastructure — wallet management, token trading, cross-chain bridges, fiat on/off ramp, prediction markets, and more. Skills are instructional folders that AI agents load dynamically to perform specialized tasks.
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or…
Integrates Alchemy blockchain APIs using an API key. Requires $ALCHEMY_API_KEY to be set; if unavailable, use the…
Query blockchain data via Allium APIs. Token prices, wallet balances, transactions, historical data. Use when user asks about…
Query blockchain data via Allium APIs. Supports API key, x402 micropayments, and Tempo auth. Covers prices, wallets, tokens, and…
Paid API marketplace for AI agents via Corbits. Search hundreds of premium API proxies, call them with automatic USDC…
Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables,…