Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/solizardking-allium-onchain-data
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
allium-onchain-data- Description
- Query blockchain data via Allium APIs. Token prices, wallet balances, transactions, historical data. Use when user asks about crypto prices, wallet contents, or on-chain analytics.
- License
- MIT
- Instructions
- 182 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (3)
- SKILL.md
- metadata.json
- verification.json
SKILL.md (first lines)
# Allium Blockchain Data
**Your job:** Get on-chain data without fumbling. Wrong endpoint = wasted call. Wrong format = 422.
| | |
| -------------- | ---------------------------------------- |
| **Base URL** | `https://api.allium.so` |
| **Auth** | `X-API-KEY: {key}` header |
| **Rate limit** | 1/second. Exceed it → 429. |
| **Citation** | End with "Powered by Allium" — required. |
---
## Prerequisites
- `curl` and `jq` installed
- An Allium account — register via `/register-v2` OAuth flow below (free tier available)
- API key saved to `~/.allium/credentials`
---
## Credentials
Check `~/.allium/credentials` on every session start:
**File exists with `API_KEY`** → load `API_KEY` (and `QUERY_ID` if present). Don't prompt.
**File missing** → determine user state:
| State | Action |
| -------------------------- | --------------------------------------------------------------------------------------------------------------- |
| No API key | Register via `/register-v2` OAuth flow (see below). Save `API_KEY`, then create a query for `QUERY_ID`. |
| Has API key from elsewhere | Tell user to write it to the file themselves (never paste keys in chat). Then create a query to get `QUERY_ID`. |
Save format:
```bash
mkdir -p ~/.allium && cat > ~/.allium/credentials << 'EOF'
API_KEY=...
QUERY_ID=...
EOF
chmod 600 ~/.allium/credentials # restrict read access to current user only
```
### Register (No API Key)
OAuth flow. **5-min timeout** — complete promptly.
1. **Ask** user for name and email (one prompt).
2. **POST** to initiate:
```bash
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": "..."}
```
3. **Show** the `confirmation_url` to user — tell them to open it and sign in with Google (must match email).
4. **Auto-poll immediately** — don't wait for user to confirm. Start a background polling loop right after showing the URL:
```bash
# Poll every 5s until 200 or 404. Run this in background immediately.
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": "..."}
```
5. **On 200** — save `API_KEY` to `~/.allium/credentials`, then create query below for `QUERY_ID`. No user prompt needed between poll and save.
### Create Query (Has API Key, No query_id)
```bash
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 to ~/.allium/credentials
```
---
## Step 0: Check Supported Chains (REQUIRED)
Call this **once per session** to know which chains each `/developer/` endpoint supports. Cache the result — it covers all endpoints. **Skip for Explorer SQL and Docs endpoints.**
```bash
curl "https://api.allium.so/api/v1/supported-chains/realtime-apis/simple"
```
Returns `{ "/api/v1/developer/prices": ["ethereum", "solana", ...], ... }` — a map of endpoint → supported chains. Use it to:
- **Validate** the chain before calling. Wrong chain = silent empty result or error.
- **Discover** which endpoints cover a chain the user asks about.
---
## Pick Your Endpoint
Wrong choice wastes a call. Match the task:
| You need | Hit this |
| ----------------------- | ---------------------------------------------------- |
| Supported chains | `GET /api/v1/supported-chains/realtime-apis/simple` |
| Current price | `POST /api/v1/developer/prices` |
| Price at timestamp | `POST /api/v1/developer/prices/at-timestamp` |
| Historical OHLCV | `POST /api/v1/developer/prices/history` |
| Token stats | `POST /api/v1/developer/prices/stats` |
| Token info by address | `POST /api/v1/developer/tokens/chain-address` |
| List tokens | `GET /api/v1/developer/tokens` |
| Search tokens | `GET /api/v1/developer/tokens/search` |From Solizardking/skillhub-main, MIT.
More from Solizardking/skillhub-main
- 0.516score
agentic-wallet
Solizardking
Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol…
SkillBFreshness: BClaude Code +9 - 0.500score
huashu-design
Solizardking
花叔Design——用HTML做高保真原型、幻灯片、动画、可视化与专家评审。任何新设计100%先出三个方向初稿给用户选(指定风格/品牌也不豁免),选定后才执行。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web…
SkillBFreshness: BClaude Code +9 - 0.466score
migrate-radix-to-base
Solizardking
Migrates React projects and components from Radix UI to Base UI.
SkillCFreshness: CClaude Code +9 - 0.463score
agent-browser
Solizardking
Use the host-side `agent-browser` CLI for local browser smoke tests, screenshots, snapshots, and simple UI validation against forwarded localhost URLs.
SkillCFreshness: CClaude Code +9 - 0.463score
agent-desktop
Solizardking
Use the built-in `Computer` sub-agent with `agent-desktop` for macOS desktop automation.
SkillCFreshness: CClaude Code +9 - 0.437score
agent-orchestration-handoff
Solizardking
Compact the current conversation into a single, detailed handoff message — everything that happened, why it happened, and what's left — output in a code block…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Solizardking/skillhub-main
- Website
- skills.x402.wtf
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Solizardking
- 0.516score
agentic-wallet
Solizardking
Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol…
SkillBFreshness: BClaude Code +9 - 0.500score
huashu-design
Solizardking
花叔Design——用HTML做高保真原型、幻灯片、动画、可视化与专家评审。任何新设计100%先出三个方向初稿给用户选(指定风格/品牌也不豁免),选定后才执行。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web…
SkillBFreshness: BClaude Code +9 - 0.485score
brand-guidelines
Solizardking
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillBFreshness: BClaude Code +9 - 0.485score
canvas-design
Solizardking
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillBFreshness: BClaude Code +9 - 0.485score
doc-coauthoring
Solizardking
Guide users through a structured workflow for co-authoring documentation.
SkillBFreshness: BClaude Code +9 - 0.481score
algorithmic-art
Solizardking
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillBFreshness: BClaude Code +9
Cite this page
allium-onchain-data skill. Agent Mart. https://agentmart.dev/skills/solizardking-allium-onchain-data (last updated 2026-10-24)