
helius-api
Enhanced Solana RPC with DAS API, parsed transactions, webhooks, and priority fee estimation via Helius
- Installs
- 435
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/agiprolabs/claude-trading-skills --skill helius-api- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads helius-api automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Helius API — Enhanced Solana RPC
Helius extends standard Solana RPC with parsed transaction history, a unified Digital Asset Standard (DAS) API, webhooks, and priority fee estimation. Essential for wallet analysis, token metadata, and transaction monitoring.
Quick Start
1. Get an API Key
Sign up at dashboard.helius.dev — free tier available (1M credits/mo, no card required).
export HELIUS_API_KEY="your-api-key"
2. Install Dependencies
uv pip install httpx python-dotenv
3. Two Base URLs
Helius uses different base URLs depending on the API:
| API | Base URL | Protocol |
|---|---|---|
| RPC / DAS / Priority Fees | https://mainnet.helius-rpc.com/?api-key=KEY | JSON-RPC 2.0 |
| Enhanced Transactions / Webhooks | https://api-mainnet.helius-rpc.com/v0/...?api-key=KEY | REST |
DAS API (Digital Asset Standard)
Unified interface for querying all Solana digital assets — fungible tokens, NFTs, compressed NFTs, Token-2022.
Get Asset Metadata
import httpx, os
API_KEY = os.environ["HELIUS_API_KEY"]
RPC_URL = f"https://mainnet.helius-rpc.com/?api-key={API_KEY}"
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getAsset",
"params": {
"id": "So11111111111111111111111111111111111111112", # wSOL
"options": {"showFungible": True}
}
})
asset = resp.json()["result"]
# asset.content.metadata.name, asset.token_info.decimals, etc.
Get All Assets for a Wallet
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getAssetsByOwner",
"params": {
"ownerAddress": "WALLET_ADDRESS",
"page": 1,
"limit": 100,
"displayOptions": {
"showFungible": True,
"showNativeBalance": True,
"showZeroBalance": False,
}
}
})
assets = resp.json()["result"]["items"]
Search Assets with Filters
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "searchAssets",
"params": {
"ownerAddress": "WALLET_ADDRESS",
"tokenType": "fungible", # fungible | nonFungible | all
"page": 1,
"limit": 50,
}
})
All DAS Methods
| Method | Purpose | Credits |
|---|---|---|
getAsset | Single asset metadata | 10 |
getAssetBatch | Up to 1,000 assets | 10 |
getAssetsByOwner | All assets for a wallet | 10 |
getAssetsByGroup | Assets by collection | 10 |
getAssetsByCreator | Assets by creator | 10 |
getAssetsByAuthority | Assets by update authority | 10 |
searchAssets | Multi-criteria filtered search | 10 |
getAssetProof | Merkle proof (compressed NFTs) | 10 |
getAssetProofBatch | Batch proofs | 10 |
getSignaturesForAsset | Tx history for an asset | 10 |
getNftEditions | All editions of a master | 10 |
getTokenAccounts | Token accounts by mint/owner | 10 |
See references/das_api.md for complete field documentation.
Enhanced Transactions API
Transforms raw Solana transactions into human-readable structured data with categorized types and sources.
Parse a Transaction
API_URL = f"https://api-mainnet.helius-rpc.com/v0/transactions?api-key={API_KEY}"
resp = httpx.post(API_URL, json={
"transactions": ["SIGNATURE_HERE"],
})
parsed = resp.json()[0]
# parsed["type"] → "SWAP"
# parsed["source"] → "JUPITER"
# parsed["description"] → "User swapped 1 SOL for 150 USDC on Jupiter"
# parsed["tokenTransfers"] → [{mint, amount, from, to}, ...]
# parsed["nativeTransfers"] → [{from, to, amount}, ...]
Get Parsed Transaction History for a Wallet
url = f"https://api-mainnet.helius-rpc.com/v0/addresses/{wallet}/transactions"
resp = httpx.get(url, params={
"api-key": API_KEY,
"limit": 50,
"type": "SWAP", # optional filter
})
history = resp.json()
Transaction Types (151+)
Key types for trading analysis:
| Type | Meaning |
|---|---|
SWAP | DEX swap |
TRANSFER | Token/SOL transfer |
ADD_LIQUIDITY / REMOVE_LIQUIDITY | LP operations |
NFT_SALE / NFT_MINT / NFT_LISTING | NFT marketplace |
STAKE_SOL / UNSTAKE_SOL | Staking |
CREATE_ORDER / FILL_ORDER | Limit orders |
Transaction Sources (50+)
JUPITER, RAYDIUM, ORCA, MAGIC_EDEN, TENSOR, MARINADE, METEORA, PHANTOM, etc.
See references/enhanced_transactions.md for full type/source enums.
Webhooks
Real-time notifications for on-chain events — no polling required.
Create a Webhook
url = f"https://api-mainnet.helius-rpc.com/v0/webhooks?api-key={API_KEY}"
resp = httpx.post(url, json={
"webhookURL": "https://your-server.com/helius-hook",
"transactionTypes": ["SWAP", "TRANSFER"],
"accountAddresses": ["WalletAddress1", "WalletAddress2"],
"webhookType": "enhanced",
"authHeader": "your-secret-token",
})
webhook_id = resp.json()["webhookID"]
Webhook Types
| Type | Data Format | Filtering |
|---|---|---|
enhanced | Parsed (like Enhanced Transactions API) | By transaction type + account |
raw | Unprocessed transaction data | By account only (lower latency) |
discord | Formatted messages to Discord channel | By transaction type + account |
Manage Webhooks
# List all
webhooks = httpx.get(f"{url}?api-key={API_KEY}").json()
# Update
httpx.put(f"{url}/{webhook_id}?api-key={API_KEY}", json={
"webhookURL": "https://new-url.com/hook",
"transactionTypes": ["SWAP"],
"accountAddresses": ["NewWallet..."],
"webhookType": "enhanced",
})
# Delete
httpx.delete(f"{url}/{webhook_id}?api-key={API_KEY}")
Up to 100,000 addresses per webhook (via API). 1 credit per event delivered.
Priority Fee API
Estimate optimal priority fees for transaction landing.
resp = httpx.post(RPC_URL, json={
"jsonrpc": "2.0", "id": 1,
"method": "getPriorityFeeEstimate",
"params": [{
"accountKeys": ["JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"],
"options": {
"includeAllPriorityFeeLevels": True,
"recommended": True,
}
}]
})
fees = resp.json()["result"]
# fees["priorityFeeEstimate"] → recommended fee (microlamports/CU)
# fees["priorityFeeLevels"] → {min, low, medium, high, veryHigh, unsafeMax}
| Level | Percentile | Use Case |
|---|---|---|
min | 0-20th | Non-urgent |
low | 20-40th | Standard transfers |
medium | 40-60th | DEX swaps (recommended default) |
high | 60-80th | Time-sensitive |
veryHigh | 80-95th | Critical timing |
unsafeMax | 100th | Emergency only |
Fee in microlamports/CU. Total priority fee = microlamports/CU × compute units consumed.
Pricing & Rate Limits
| Plan | Price/mo | Credits | RPC req/s | DAS req/s |
|---|---|---|---|---|
| Free | $0 | 1M | 10 | 2 |
| Developer | $49 | 10M | 50 | 10 |
| Business | $499 | 100M | 200 | 50 |
| Professional | $999 | 200M | 500 | 100 |
Credit costs: Standard RPC = 1, DAS = 10, Enhanced Txns = 100, Webhooks = 1/event. Additional credits: $5/million.
Files
References
references/das_api.md— Complete DAS API field reference and response schemasreferences/enhanced_transactions.md— Transaction types, sources, and response structurereferences/webhooks.md— Webhook setup, management, and event handlingreferences/error_handling.md— Rate limits, error codes, and retry strategies
Scripts
scripts/wallet_analysis.py— Fetch wallet assets and parsed transaction historyscripts/token_lookup.py— Look up token metadata and holder information via DAS
FAQ
What does the helius-api skill do?
Enhanced Solana RPC with DAS API, parsed transactions, webhooks, and priority fee estimation via Helius
How do I install helius-api?
Run npx skills add https://github.com/agiprolabs/claude-trading-skills --skill helius-api in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/helius-api/ (personal) or .claude/skills/helius-api/ (project).
Which AI agents can use helius-api?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is helius-api safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains helius-api?
It is published by agiprolabs in agiprolabs/claude-trading-skills. It has 435 recorded installs.
More from agiprolabs/claude-trading-skills
walk-forward-validation
agiprolabs/claude-trading-skills
Walk-forward validation framework for trading strategies and ML models with time-series-aware splits, overfit detection, and regime-aware validation
risk-management
agiprolabs/claude-trading-skills
Portfolio-level risk controls, drawdown management, exposure limits, and circuit breakers for crypto trading
pandas-ta
agiprolabs/claude-trading-skills
Technical analysis with 130+ indicators using pandas-ta for crypto market data
position-sizing
agiprolabs/claude-trading-skills
Trade sizing methods including fixed fractional, volatility-adjusted, Kelly criterion, and liquidity-constrained sizing
regime-detection
agiprolabs/claude-trading-skills
Market regime identification using volatility clustering, trend detection, and statistical methods for adaptive trading
kelly-criterion
agiprolabs/claude-trading-skills
Kelly criterion optimal sizing with fractional variants, edge estimation, and practical application for crypto trading
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.