What are Onchain Skills?
Onchain Skills is an open-source package that lets AI agents call the Moralis API directly — giving them the ability to query blockchain data from 40+ EVM chains and Solana in real time. It works with any agent that supports the Agent Skills standard, including Claude Code, Cursor, Windsurf, GitHub Copilot, Cline, Codex, Gemini, and 18+ others.Quick Start
1. Install the Skills
2. Set Your API Key
Get your key from admin.moralis.com, then add it to a.env file in your project root:
Skills Overview
Onchain Skills includes three skills:| Skill | Description | Endpoints |
|---|---|---|
| moralis-data-api | EVM + Solana blockchain data | 136 |
| moralis-streams-api | Real-time event monitoring with webhooks | 20 |
| learn-moralis | Routing, FAQ, pricing, and capability guidance | — |
moralis-data-api
Unified skill for all blockchain data queries. Auto-detects EVM vs Solana from address format. For EVM addresses without a specified chain, defaults to Ethereum. 136 endpoints (102 EVM + 34 Solana) across these categories:- Wallet (17) — balances, tokens, NFTs, history, profitability, net worth
- Token (22) — prices, metadata, pairs, DEX swaps, analytics, security scores, snipers
- NFT (22) — metadata, transfers, traits, rarity, floor prices, trades
- DeFi (3) — protocol positions, liquidity, exposure
- Entity (2) — labeled addresses (exchanges, funds, whales)
- Price (4) — OHLCV, token prices, pair prices
- Blockchain (5) — blocks, transactions, date-to-block
- Discovery (13) — trending tokens, market movers, top gainers/losers
- Other (14) — address resolution, token search, bonding, candlesticks, graduated tokens
- Solana (34) — native Solana endpoints + EVM endpoints with Solana support
moralis-streams-api
Real-time blockchain event monitoring with webhooks. 20 endpoints for creating, managing, and monitoring streams. Stream types:tx, log, erc20transfer, erc20approval, nfttransfer, internalTx
Example prompts:
learn-moralis
Knowledge-only skill for answering general questions about Moralis. Routes you to the correct technical skill after answering. Example prompts:Supported Chains
EVM (40+): Ethereum, Polygon, BNB Smart Chain, Arbitrum, Optimism, Avalanche, Fantom, Base, Sei, Monad, and more. Solana: Mainnet and Devnet. For the full list of supported chains, see Supported Chains.Architecture
- Zero dependencies — all API calls use curl
- Works with 18+ agents — any agent supporting the Agent Skills standard
- Auto-detects chain — determines EVM vs Solana from address format

