AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Messari Crypto

skill-messari-skills-openclaw-skill · by messari

Messari crypto market intelligence via REST API with one-of credentials for x402-enabled routes (MESSARI_API_KEY or X402_PRIVATE_KEY); use for AI, metrics, signal, news, research, stablecoins, exchanges, networks, protocols, token unlocks, fundraising, intel, topics, and X-users data.

No reviews yet
0 installs
40 views
0.0% view→install

Install

$ agentstack add skill-messari-skills-openclaw-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-messari-skills-openclaw-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Messari Crypto? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Messari Crypto Intel

Real-time crypto market intelligence via Messari's REST API — AI-powered analysis, on-chain metrics, sentiment, news, and institutional-grade research without building data pipelines.

Prerequisites

  • Credential Mode A: API key (MESSARI_API_KEY) — sign up for an API key or retrieve your existing key. On credit-metered endpoints (for example, Messari AI), API-key access may require Messari AI credits (manage credits at messari.io/account).
  • Credential Mode B: x402 pay-per-request (X402_PRIVATE_KEY) — use x402 negotiation on x402-enabled routes; this flow does not require pre-purchased Messari AI credits.
  • Coverage note: For full endpoint coverage, configure API key; x402-only credentials are limited to x402-enabled routes.

REST API Overview

Base URL: https://api.messari.io

Authentication modes:

  • API key mode: include API key header:
x-messari-api-key: 
  • x402 mode: send request normally, handle 402 Payment Required, then retry with Payment-Signature (legacy: X-PAYMENT). See the sample code below for how to do this.

Secrets guardrail: Never commit secret values. Use env vars only and placeholders like $MESSARI_API_KEY and $X402_PRIVATE_KEY in docs/examples.

All endpoints accept and return JSON. Use Content-Type: application/json for POST requests.

x402 Payments

Some Messari endpoints support pay-per-request access via x402.

  • Discover payable resources dynamically with GET https://api.messari.io/.well-known/x402.
  • Treat the runtime 402 Payment Required challenge as the source of truth for payable route and price.
  • Do not hardcode x402 prices or payable-route assumptions in this skill.
  • Use the Service Routing Table below as the authoritative service-level view of currently supported authentication methods.
  • On x402-enabled routes, x402 is an alternative to API-key.

Negotiation flow:

  1. Send the request normally.
  2. If the response is 402 Payment Required, parse the payment requirements from the response body and the Payment-Required header.
  3. Create/sign the payment payload and retry with Payment-Signature (legacy compatibility: X-PAYMENT).
  4. Continue once the retried request succeeds.

Budget guardrail: If there is no pre-approved budget or prior user consent, ask the user to confirm before executing paid x402 requests.

Request Patterns

API-key request pattern:

curl "https://api.messari.io/metrics/v2/assets?assetSlugs=bitcoin,ethereum" \
  -H "x-messari-api-key: $MESSARI_API_KEY"

Use API-key mode for endpoints marked api_key-only.

x402 request pattern:

import os
from dotenv import load_dotenv
from eth_account import Account
from x402 import x402ClientSync
from x402.http import x402HTTPClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

load_dotenv()

requests_list = [
    {
        "method": "GET",
        "url": "https://api.messari.io/metrics/v2/assets/details?slugs=bitcoin",
    },
]

# Switch index to change request
r = requests_list[0]

account = Account.from_key(os.getenv("X402_PRIVATE_KEY"))
print(f"EVM address: {account.address}")

client = x402ClientSync()
register_exact_evm_client(client, EthAccountSigner(account))
http_client = x402HTTPClientSync(client)

print(f"Making request to: {r['url']}\n")

with x402_requests(client) as session:
    response = session.request(r["method"], r["url"], json=r.get("json"))
    print(f"Response status: {response.status_code}")
    print(f"Response body: {response.text}")

Secrets note: Never commit credentials or signatures. Use placeholders only ($MESSARI_API_KEY, $X402_PRIVATE_KEY).

Service Routing Table

| User is asking about... | Service | Auth | |---|---|---| | General crypto question, synthesis, open-ended research | AI | apikey, x402 | | Price, volume, market cap, ROI, ATH, performance comparison | Metrics | apikey, x402 | | Sentiment, mindshare, trending tokens, social buzz | Signal | apikey, x402 | | Headlines, recent events, breaking news | News | apikey, x402 | | Analyst reports, deep dives, sector overviews | Research | apikey only | | Stablecoin supply, flows, chain breakdowns | Stablecoins | apikey, x402 | | Exchange volumes, comparisons | Exchanges | apikey only | | L1/L2 network activity, fees, active addresses | Networks | apikey, x402 | | DeFi protocols, TVL, lending, DEX volume | Protocols | apikey only | | Token unlocks, vesting schedules | Token Unlocks | apikey, x402 | | Fundraising rounds, investors, VC activity, M&A | Fundraising | apikey, x402 | | Governance events, protocol upgrades | Intel | apikey only | | Trending narratives, topic momentum | Topics | apikey only | | Crypto influencers, X/Twitter accounts | X-Users | apikey, x402 |

When in doubt, start with the AI service — it synthesizes across all sources and handles open-ended questions well.

For detailed endpoint documentation, see "API Service Directory" below or the full Messari API docs.

Example Request Routing

"Tell me about x402 and how it works."              → AI       /ai/v2/chat/completions
"What are upcoming token unlocks this month?"       → Unlocks  /token-unlocks/v1/assets
"10 most recent AI/compute fundraising rounds"      → Funding  /funding/v1/rounds
"Latest crypto regulation headlines"                → News     /news/v1/news/feed
"Recent DePIN sector developments"                  → Research /research/v1/reports
"Most active seed investor over last year"          → Funding  /funding/v1/rounds/investors
"Top AAVE events last quarter"                      → Intel    /intel/v1/events
"Solana ecosystem map"                              → Networks /metrics/v2/networks
"Recent a16z crypto investments"                    → Funding  /funding/v1/projects
"Compare BitTensor vs Render native assets"         → Metrics  /metrics/v2/assets/details

API Service Directory

After deciding which service to use, read the detailed endpoint documentation from url in the "spec" column below before calling the endpoint.

Many endpoints require an assetID, for these you should first call the unauthenticated lsit assets endpoint /metrics/v2/assets?limit=200 with curl to get the assetID.

AI Service

Chat completions trained on 30TB+ of structured crypto data. Handles synthesis, comparisons, and open-ended research. x402 access does not require pre-purchased credits.

| Endpoint | Method | Spec | |---|---|---| | /ai/v2/chat/completions | POST | https://docs.messari.io/api-reference/endpoints/ai/post-v2-chat-completions.md |

Body: { "messages": [{"role": "user", "content": "..."}], "stream": false }


Metrics Service

Price, volume, market cap, fundamentals for 34,000+ assets. Use for quantitative questions, performance comparisons, ROI, ATH, and historical timeseries. The NO AUTH REQUIRED endpoints are not authenticated so access them with curl

| Endpoint | Description | Spec | |---|---|---| | /metrics/v2/assets | [NO AUTH REQUIRED] List assets with market + fundamental metrics | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-v2-assets.md | | /metrics/v2/assets/details | Rich point-in-time details for selected assets | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-v2-assets-details.md | | /metrics/v2/assets/ath | All-time-high snapshots and drawdown context | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-v2-assets-ath.md | | /metrics/v2/assets/roi | Multi-window ROI snapshots | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-v2-assets-roi.md | | /metrics/v2/assets/metrics | [NO AUTH REQUIRED] List available dataset slugs + granularities | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-v2-assets-metrics.md | | /metrics/v2/assets/{assetID}/metrics/{datasetSlug}/time-series | Historical timeseries | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-asset-timeseries.md | | /metrics/v2/assets/{assetID}/metrics/{datasetSlug}/time-series/{granularity} | Timeseries at explicit granularity (5m, 15m, 1h, 1d) | https://docs.messari.io/api-reference/endpoints/metrics/v2/assets/get-asset-timeseries.md |

Key params: slugs, assetIds, metrics, start, end, interval, limit, page


Signal Service

Real-time social intelligence: sentiment scoring, mindshare tracking, trending.

| Endpoint | Description | Spec | |---|---|---| | /signal/v1/assets | Ranked asset signal feed (mindshare, sentiment, momentum) | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets.md | | /signal/v1/assets/{assetID} | Detailed social-signal profile for one asset | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-assetID.md | | /signal/v1/assets/mindshare-gainers-24h | Biggest mindshare gains last 24h | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-mindshare-gainers-24h.md | | /signal/v1/assets/mindshare-gainers-7d | Biggest mindshare gains last 7d | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-mindshare-gainers-7d.md | | /signal/v1/assets/mindshare-losers-24h | Biggest mindshare losses last 24h | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-mindshare-losers-24h.md | | /signal/v1/assets/mindshare-losers-7d | Biggest mindshare losses last 7d | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-mindshare-losers-7d.md | | /signal/v1/assets/time-series/1h | Hourly social-signal timeseries | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-time-series-granularity.md | | /signal/v1/assets/time-series/1d | Daily social-signal timeseries | https://docs.messari.io/api-reference/endpoints/signal/assets/get-v1-assets-time-series-granularity.md |

Key params: assetIds, sort, sortDirection, limit, page, start, end


News Service

| Endpoint | Auth | Description | Spec | |---|---|---|---| | /news/v1/news/feed | apikey, x402 | Paginated cross-source crypto news feed | https://docs.messari.io/api-reference/endpoints/news/get-v1-news-feed.md | | /news/v1/news/sources | apikey, x402 | List source metadata for filtering | https://docs.messari.io/api-reference/endpoints/news/get-v1-news-sources.md |

Key params: assetSlugs, sourceIds, limit, page


Research Service (api_key only)

Institutional reports, sector deep dives, protocol diligence.

| Endpoint | Description | Spec | |---|---|---| | /research/v1/reports | List reports (filter by asset, tags) | https://docs.messari.io/api-reference/endpoints/research/get-v1-reports.md | | /research/v1/reports/{reportId} | Retrieve a specific report | https://docs.messari.io/api-reference/endpoints/research/get-v1-reports-reportId.md | | /research/v1/reports/tags | List available report tags | https://docs.messari.io/api-reference/endpoints/research/get-v1-reports-tags.md |

Key params: tags, assetSlugs, limit, page


Stablecoins Service

| Endpoint | Description | Spec | |---|---|---| | /metrics/v2/stablecoins | [NO AUTH REQUIRED] List stablecoins with supply + market metrics | https://docs.messari.io/api-reference/endpoints/stablecoins/list-stablecoins.md | | /metrics/v2/stablecoins/metrics | List dataset slugs + granularities | https://docs.messari.io/api-reference/endpoints/stablecoins/list-stablecoin-metrics.md | | /metrics/v2/stablecoins/{entityIdentifier}/metrics/{datasetSlug}/time-series | Historical timeseries | https://docs.messari.io/api-reference/endpoints/stablecoins/stablecoin-timeseries-metric.md |

Key params: metrics, chains, start, end, interval, limit, page


Exchanges Service (api_key only)

| Endpoint | Description | Spec | |---|---|---| | /metrics/v1/exchanges | [NO AUTH REQUIRED] List exchanges with spot/futures volume | https://docs.messari.io/api-reference/endpoints/exchanges/list-exchanges.md | | /metrics/v1/exchanges/{exchangeIdentifier} | Single exchange with current metrics | https://docs.messari.io/api-reference/endpoints/exchanges/get-exchange.md | | /metrics/v1/exchanges/metrics | Available metric datasets | https://docs.messari.io/api-reference/endpoints/exchanges/list-exchanges-metrics.md | | /metrics/v1/exchanges/{entityIdentifier}/metrics/{datasetSlug}/time-series/{granularity} | Exchange timeseries | https://docs.messari.io/api-reference/endpoints/exchanges/get-exchange-timeseries-metric.md |

Key params: type, granularity, start, end, limit, page


Networks Service

L1/L2 on-chain activity — fees, active addresses, usage metrics.

| Endpoint | Description | Spec | |---|---|---| | /metrics/v2/networks | List networks with activity + fee metrics | https://docs.messari.io/api-reference/endpoints/metrics/v2/networks/get-v2-networks.md | | /metrics/v2/networks/metrics | List available dataset slugs + granularities | https://docs.messari.io/api-reference/endpoints/metrics/v2/networks/get-v2-networks-metrics.md | | /metrics/v2/networks/{entityIdentifier}/metrics/{datasetSlug}/time-series | Historical timeseries | https://docs.messari.io/api-reference/endpoints/metrics/v2/networks/get-network-timeseries.md | | /metrics/v2/networks/{entityIdentifier}/metrics/{datasetSlug}/time-series/{granularity} | Timeseries at 5m, 15m, 1h, 1d | https://docs.messari.io/api-reference/endpoints/metrics/v2/networks/get-time-series-timeseries-with-granularity.md |

Key params: networkSlugs, metrics, start, end, interval, limit, page


Protocols Service (api_key only)

DeFi protocols: TVL, DEX, lending, liquid staking, bridges.

| Endpoint | Description | Spec | |---|---|---| | /metrics/v2/protocols | All protocols with aggregated core metrics | https://docs.messari.io/api-reference/endpoints/protocols/core/list-protocols.md | | /metrics/v2/protocols/dex | DEX protocols | https://docs.messari.io/api-reference/endpoints/protocols/dex/list-dex-protocols.md | | /metrics/v2/protocols/lending | Lending protocols | https://docs.messari.io/api-reference/endpoints/protocols/lending/list-lending-protocols.md | | /metrics/v2/protocols/liquid-staking | Liquid staking protocols | https://docs.messari.io/api-reference/endpoints/protocols/liquid-staking/list-liquid-staking-protocols.md | | /metrics/v2/protocols/interop | Bridge/interop protocols | https://docs.messari.io/api-reference/endpoints/protocols/interoperability/list-interop-protocols.md | | /metrics/v2/protocols/{protocolIdentifier}/metrics/core/time-series/{granularity} | Core timeseries | https://docs.messari.io/api-reference/endpoints/protocols/core/protocol-timeseries-metric.md | | /metrics/v2/protocols/{protocolIdentifier}/metrics/dex/time-series/{granularity} | DEX timeseries | https://docs.messari.io/api-reference/endpoints/protocols/dex/dex-timeseries-metric.md | | /metrics/v2/protocols/{protocolIdentifier}/metrics/lending/time-series/{granularity} | Lending timeseries | https://docs.messari.io/api-reference/endpoints/protocols/lending/lending-timeseries-metric.md | | /metrics/v2/protocols/{protocolIdentifier}/metrics/liquid-staking/time-series/{granularity} | Liquid staking timeseries | https://docs.messari.io/api-reference/endpoints/protocols/liquid-staking/liquid-staking-timeseries-metric.md | | /metrics/v2/protocols/{protocolIdentifier}/metrics/interop/time-series/{granularity} | Interop timeseries | https://docs.messari.io/api-reference/endpoints/protocols/interoperability/interop-time

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: messari
  • Source: messari/skills
  • License: MIT
  • Homepage: https://docs.messari.io/user-guides/agents/x402-skill-claude-desktop

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.