/alchemy:alliumfrom alchemy
Queries Allium APIs for wallet PnL (current/historical, by-wallet/by-token), holdings timeseries, Hyperliquid HyperCore trading data, and custom SQL across 70+ chains.
Ships in alchemy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Allium provides enriched, structured blockchain data across 70+ chains. This skill covers wallet PnL, holdings timeseries, Hyperliquid HyperCore trading data, and custom SQL analytics. For token prices, token metadata, current wallet balances, transaction transfers, or NFT metadata, use the corresponding Alchemy skill instead.
| Base URL | https://api.allium.so |
| Auth | X-API-KEY: $API_KEY header |
| Rate limit | 1 request / second (exceed → 429) |
| Attribution | End responses with "Powered by Allium" — required by Allium |
Use allium when all of the following are true:
| Need | Use instead |
|---|---|
| Token prices (current, historical at intervals, by-timestamp, market cap/volume) | alchemy-api (Prices API) |
| Token metadata, search, list by chain | alchemy-api (Token API) |
| Current wallet balances (point-in-time snapshot) | alchemy-api (Portfolio / Token API) |
| Transaction history (transfers in / out, asset transfers) | alchemy-api (Transfers API) |
| NFT metadata / floor prices / ownership | alchemy-api (NFT API) |
| Real-time blockchain reads, node-level fresh | alchemy-cli (live work) or alchemy-api (app code) |
| Writes / signed transactions | alchemy-api (with API key) or agentic-gateway (without) |
| Account abstraction (bundlers, gas managers) | alchemy-api |
| Transaction simulation | alchemy-api |
This skill covers (scope_in):
POST /api/v1/developer/wallet/pnl, /wallet/pnl/history, /wallet/pnl-by-token, /wallet/pnl-by-token/history) — realized + unrealized PnL aggregation, current and historical, by-wallet and by-tokenPOST /api/v1/developer/wallet/holdings/history) — timeseries of total USD holdings + optional per-token breakdownPOST /api/v1/developer/trading/hyperliquid/...) — info, fills, order history, order status, L4 orderbook snapshot from the off-chain matching enginePOST /api/v1/explorer/queries/{query_id}/run-async) — arbitrary SQL queries against Allium's data warehouse (DeFi, NFT, bridges, MEV, entity resolution, Solana staking, etc.)This skill does NOT cover (scope_out):
alchemy-api (Prices API)alchemy-api (Token API)alchemy-api (Portfolio / Token API)alchemy-api archive RPC (eth_call balanceOf at a historical block) or alchemy_getAssetTransfers reduced to balances. No first-class endpoint on either side; Alchemy's archive node is the right path.alchemy-api (Transfers API)alchemy-api (NFT API)alchemy-api or alchemy-cli at https://hyperliquid-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY. Allium covers HyperCore (off-chain trading); Alchemy covers HyperEVM (on-chain smart contracts).alchemy-cli or alchemy-apialchemy-api or agentic-gatewayalchemy-apialchemy-apiAllium uses a credentials file at ~/.allium/credentials (not env vars). On every session start, check if it exists:
File exists with API_KEY → load API_KEY (and QUERY_ID if present). Don't prompt.
File missing → register via the OAuth flow below. Don't paste keys in chat.
OAuth flow with a 5-minute timeout. Complete promptly.
Ask the user for name and email (one prompt).
POST to initiate registration:
curl -X POST https://api.allium.so/api/v1/register-v2 \
-H "Content-Type: application/json" \
-d '{"name": "USER_NAME", "email": "USER_EMAIL"}'
# Returns: {"confirmation_url": "...", "token": "..."}
Show the confirmation_url to the user — they open it and sign in with Google (must match the email).
Auto-poll /api/v1/register-v2/$TOKEN every 5s until 200 (got api_key) or 404 (expired):
TOKEN="..." # from step 2
while true; do
RESP=$(curl -s -w "\n%{http_code}" "https://api.allium.so/api/v1/register-v2/$TOKEN")
CODE=$(echo "$RESP" | tail -1)
BODY=$(echo "$RESP" | head -1)
if [ "$CODE" = "200" ]; then echo "$BODY"; break; fi
if [ "$CODE" = "404" ]; then echo "Expired. Restart."; break; fi
sleep 5
done
# 200 body: {"api_key": "...", "organization_id": "..."}
Save to ~/.allium/credentials:
mkdir -p ~/.allium && cat > ~/.allium/credentials << 'EOF'
API_KEY=...
QUERY_ID=...
EOF
QUERY_ID (only needed for custom SQL)If you'll use the SQL endpoint, also create a query to get a QUERY_ID:
curl -X POST "https://api.allium.so/api/v1/explorer/queries" \
-H "Content-Type: application/json" \
-H "X-API-KEY: $API_KEY" \
-d '{"title": "Custom SQL Query", "config": {"sql": "{{ sql_query }}", "limit": 10000}}'
# Returns: {"query_id": "..."}
# Append QUERY_ID=... to ~/.allium/credentials
| Endpoint | Use for |
|---|---|
POST /api/v1/developer/wallet/pnl | Current realized + unrealized PnL for one or more wallets |
POST /api/v1/developer/wallet/pnl/history | Historical PnL timeseries per wallet |
POST /api/v1/developer/wallet/pnl-by-token | Current PnL broken out by (wallet, token) |
POST /api/v1/developer/wallet/pnl-by-token/history | Historical PnL timeseries per (wallet, token) |
POST /api/v1/developer/wallet/holdings/history | Timeseries of total USD holdings per wallet (optional per-token breakdown) |
| Endpoint | Use for |
|---|---|
POST /api/v1/developer/trading/hyperliquid/info | General Hyperliquid info (no rate-limit on this proxy) |
POST /api/v1/developer/trading/hyperliquid/info/fills | Fills by user (with TWAP, time-window, aggregation options) |
POST /api/v1/developer/trading/hyperliquid/info/order/history | Historical orders by user |
POST /api/v1/developer/trading/hyperliquid/info/order/status | Status of a specific order |
GET /api/v1/developer/trading/hyperliquid/orderbook/snapshot | L4 orderbook snapshot (all pairs) |
| Endpoint | Use for |
|---|---|
POST /api/v1/explorer/queries | Create a parametrized query (one-time setup; returns query_id) |
POST /api/v1/explorer/queries/{query_id}/run-async | Start a SQL run against Allium's data warehouse |
GET /api/v1/explorer/query-runs/{run_id}/status | Poll run status (created → queued → running → success / failed) |
GET /api/v1/explorer/query-runs/{run_id}/results?f=json | Fetch results once status = success |
Use SQL for things the typed endpoints don't cover: DeFi protocol analytics, NFT marketplace data, bridge flows, MEV, entity resolution, labeled wallets, Solana staking analytics, and anything else in Allium's warehouse.
curl -X POST "https://api.allium.so/api/v1/developer/wallet/pnl" \
-H "Content-Type: application/json" \
-H "X-API-KEY: $API_KEY" \
-d '[{"chain": "solana", "address": "125Z6k4ZAxsgdG7JxrKZpwbcS1rxqpAeqM9GSCKd66Wp"}]'
Returns per-token realized/unrealized PnL plus aggregate totals. See references/pnl-and-holdings.md for the full response schema.
curl -X POST "https://api.allium.so/api/v1/developer/wallet/holdings/history" \
-H "Content-Type: application/json" \
-H "X-API-KEY: $API_KEY" \
-d '{
"addresses": [{"address": "125Z6k4ZAxsgdG7JxrKZpwbcS1rxqpAeqM9GSCKd66Wp", "chain": "solana"}],
"start_timestamp": "2026-04-01T00:00:00Z",
"end_timestamp": "2026-04-10T00:00:00Z",
"granularity": "1h",
"include_token_breakdown": false
}'
curl -X POST "https://api.allium.so/api/v1/developer/trading/hyperliquid/info/fills" \
-H "Content-Type: application/json" \
-H "X-API-KEY: $API_KEY" \
-d '{"type": "userFills", "user": "0x..."}'
# 1. Start the run
curl -X POST "https://api.allium.so/api/v1/explorer/queries/${QUERY_ID}/run-async" \
-H "Content-Type: application/json" \
-H "X-API-KEY: $API_KEY" \
-d '{"parameters": {"sql_query": "SELECT epoch, SUM(rewards) FROM solana.dim.stake_account_rewards WHERE delegator = '\''<addr>'\'' GROUP BY epoch ORDER BY epoch DESC LIMIT 30"}}'
# Returns: {"run_id": "..."}
# 2. Poll
curl "https://api.allium.so/api/v1/explorer/query-runs/${RUN_ID}/status" \
-H "X-API-KEY: $API_KEY"
# 3. Fetch results when status = success
curl "https://api.allium.so/api/v1/explorer/query-runs/${RUN_ID}/results?f=json" \
-H "X-API-KEY: $API_KEY"
ethereum, base, solana, arbitrum, polygon, hyperevm. Uppercase fails silently./history endpoints — they take addresses[], not flat address+chain).If during a session the user's need shifts to surfaces this skill doesn't cover (prices, current balances, transactions, NFT metadata) or to real-time / write workflows, hand off:
alchemy-cli — live agent work in the current session via the local CLIalchemy-mcp — live work via the hosted MCP server when CLI is not installedalchemy-api — application code with an Alchemy API keyagentic-gateway — application code without an API key (x402 / MPP)Maintenance: Allium maintains the underlying API surface; this skill itself is maintained jointly by Alchemy and Allium. File issues against
alchemyplatform/skillswith[ecosystem/allium]in the title.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (alchemyplatform/skills) — no native marketplace selected
npx claudepluginhub p/alchemyplatform-alchemy6 skills in this plugin
/agentic-gatewayWire Alchemy into application code without an API key, using the x402 or MPP gateway with wallet-based auth (SIWE/SIWS) and per-request payments (USDC via x402, or USDC/credit-card via MPP). Specialized app-integration path. Use when the user is building application code AND no API key is available, or they're an autonomous agent that needs to pay for itself, or they explicitly want x402/MPP. For normal app code with an API key, use `alchemy-api`. For live agent work in this session (querying, admin, automation), use `alchemy-cli` (preferred) or `alchemy-mcp`./alchemy-apiWire Alchemy into application code (server, backend, dApp, script) using a standard API key. Preferred app-integration path for normal server/backend usage. Covers EVM JSON-RPC, Token API, NFT API, Transfers API, Prices API, Portfolio API, Simulation, Webhooks, Solana RPC, Solana DAS, Solana Yellowstone gRPC, Sui gRPC, Wallets/Account Kit, and operational topics. Requires `$ALCHEMY_API_KEY`. For live agent work in this session (querying, admin, local automation), use `alchemy-cli` (preferred) or `alchemy-mcp` instead. For app code without an API key (autonomous agent paying per-request, or explicit x402/MPP), use `agentic-gateway` instead./alchemy-cliUse the Alchemy CLI (`@alchemy/cli`) for live blockchain data, transaction lookups, NFT/token/portfolio queries, simulation, tracing/debugging, contract reads/writes, wallet-signed sends, swaps and cross-chain bridges, Solana RPC/DAS plus wallet sends, webhook management, and Alchemy app administration. Preferred runtime path for live agent work (querying, admin, local automation) when the CLI is installed locally — or when both CLI and MCP are available. If neither is installed, install the CLI with `npm i -g @alchemy/cli`. Use for live agent work in this session, not for building application code that ships to production. For application code, use the `alchemy-api` skill (with API key) or `agentic-gateway` skill (without)./alchemy-mcpUse the Alchemy MCP server (`https://mcp.alchemy.com/mcp`) for live blockchain data and admin work when MCP is wired into your AI client and the Alchemy CLI is NOT installed locally. Exposes 159 tools across 100+ chains for token prices, NFT metadata, transactions, simulation, tracing, account abstraction, Solana DAS, and app management. Use for live querying, analysis, admin work, or on-machine agent work — not for application code that ships to production. For application code, use the `alchemy-api` skill (with API key) or `agentic-gateway` skill (without). When the CLI is also installed locally, prefer `alchemy-cli` instead./openseaQuery OpenSea marketplace data — listings, offers, sales / events, floor prices, collection stats, drops, traits — and execute Seaport trades via the official `@opensea/cli` and OpenSea REST API across Ethereum, Base, Arbitrum, Optimism, Polygon, and more. Includes search across collections / NFTs / tokens / accounts. NOT for general NFT metadata reads (name, image, traits, ownership), token metadata, current wallet balances, transaction history, or live RPC reads — for those use `alchemy-cli` (live), `alchemy-mcp`, `alchemy-api` (app code), or `agentic-gateway` (no API key). For pure cross-chain token swaps (no marketplace context), prefer the `lifi` ecosystem skill. Requires `OPENSEA_API_KEY` (instant via API).Other plugins' skills for the same job