solscan-data

Use this skill to query Solana blockchain data via the Solscan Pro API. Triggers: look up wallet address, check token price, analyze NFT collection, inspect transaction, explore DeFi activities, get account metadata/label/tags, fetch block info, monitor API usage, search token by keyword.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "solscan-data" with this command: npx skills add solscanofficial/agent-skills/solscanofficial-agent-skills-solscan-data

Solscan Pro Skill

Empowers AI agents to retrieve professional-grade Solana on-chain data across accounts, tokens, NFTs, transactions, blocks, markets, and programs.

When to Use This Skill

  • User asks about a Solana wallet address, balance, portfolio, or stake
  • User wants token price, holders, markets, or trending tokens
  • User needs to inspect a transaction signature or decode instructions
  • User asks about NFT collections, items, or recent NFT activity
  • User wants DeFi activity, transfer history, or reward exports
  • User wants to check program analytics or popular platforms

Authentication

All requests require an API key in the HTTP header:

token: <YOUR_SOLSCAN_API_KEY>

Base URL: https://pro-api.solscan.io/v2.0


Tools

Tool 1 — Direct API CLI (Precise Data)

Use when: you need exact, structured on-chain data for a specific address, signature, block, or mint.

Syntax: python3 scripts/solscan.py <resource> <action> [--param value]

Tool 2 — MCP Natural Language Tools

Use when: answering general exploratory questions or when the user does not provide a specific address.

Available MCP tools:

  • search_transaction_by_signature — look up a transaction by its signature
  • get_account_balance — retrieve SOL balance for a wallet
  • get_token_metadata — get name, symbol, decimals for a token mint

API Reference

Account

ActionKey ParamsReturns
account detail--addressLamports, owner, executable flag
account transfers--addressSPL + SOL transfer history
account defi--addressDeFi protocol interactions
account balance-change--addressHistorical SOL balance changes
account transactions--addressRecent transactions list
account portfolio--addressToken holdings with USD value
account tokens--addressAssociated token accounts
account stake--addressActive stake accounts
account reward-export--addressStaking reward history CSV
account transfer-export--addressTransfer history CSV
account metadata--addressLabel, icon, tags, domain, funder
account metadata-multi--addressesBatch metadata (comma-separated)
account leaderboardTop accounts by activity
account defi-export--addressDeFi activity CSV

account metadata response fields: account_address, account_label, account_icon, account_tags, account_type, account_domain, funded_by, tx_hash, block_time

Token

ActionKey ParamsReturns
token meta--addressName, symbol, decimals, supply
token meta-multi--addressesBatch metadata
token price--addressCurrent USD price
token price-multi--addressesBatch prices
token holders--addressTop holder list with amounts
token markets--addressDEX markets trading this token
token transfers--addressTransfer history
token defi--addressDeFi activity
token defi-export--addressDeFi activity CSV
token historical--address --type linePrice history chart data
token search--querySearch by keyword/name
token trendingCurrently trending tokens
token listFull token list
token topTop tokens by market cap
token latestNewly listed tokens

Transaction

ActionKey ParamsReturns
transaction detail--signatureFull tx details
transaction detail-multi--signaturesBatch tx details
transaction lastMost recent transactions
transaction actions--signatureHuman-readable decoded actions
transaction actions-multi--signaturesBatch decoded actions
transaction fees--signatureFee breakdown

NFT

ActionKey ParamsReturns
nft newsLatest NFT activity feed
nft activities--addressNFT transfer/sale history
nft collectionsTop NFT collections
nft items--addressItems inside a collection

Block

ActionKey ParamsReturns
block lastMost recent blocks
block detail--blockBlock metadata by slot number
block transactions--blockAll transactions in a block

Market

ActionKey ParamsReturns
market listAll trading pools/markets
market infoGeneral market overview
market volume24h volume data

Program

ActionKey ParamsReturns
program listAll indexed programs
program popularMost-used programs
program analytics--addressUsage stats for a program

Monitor

ActionKey ParamsReturns
monitor usageYour API key usage & rate limits

Error Handling

HTTP CodeMeaningAgent Action
400Bad request / invalid addressValidate address format, retry
401Authentication failedCheck token header is set correctly
429Rate limit exceededWait and retry with backoff
500Internal server errorRetry once; report if persistent

All error responses include success: false, code, and message fields.


Example Workflows

Wallet Research Workflow

  • Step 1: account metadata --address <ADDR> → confirm label and type
  • Step 2: account portfolio --address <ADDR> → get token holdings
  • Step 3: account transfers --address <ADDR> → review recent activity
  • Step 4: account defi --address <ADDR> → check protocol interactions

Token Analysis Workflow

  • Step 1: token meta --address <MINT> → confirm token identity
  • Step 2: token price --address <MINT> → get current price
  • Step 3: token holders --address <MINT> → check concentration risk
  • Step 4: token markets --address <MINT> → find best liquidity pools

Evaluations

QueryExpected Behavior
"What tokens does wallet ABC123 hold?"Calls account portfolio --address ABC123, returns token list with USD values
"What is the current price of BONK?"Calls token meta to resolve mint, then token price, returns USD price
"Decode transaction XYZ..."Calls transaction actions --signature XYZ, returns human-readable action list
"Is this a known wallet?"Calls account metadata --address, returns label/tags/domain if available

Resources: Solscan Pro API Docs, Solscan Pro API FAQs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

web3-polymarket

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

define-architecture

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

crypto-prices-criptoya

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

emblem-ai-agent-wallet

No summary provided by upstream source.

Repository SourceNeeds Review