ic-dashboard
БесплатноБез исполняемых скриптовНе проверенQuery the public REST APIs that power dashboard.internetcomputer.org. Covers canister metadata, ICRC ledger data, SNS data, ICP ledger, and network metrics…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
IC Dashboard APIs
What This Is
These public REST APIs power dashboard.internetcomputer.org. They expose read-only access to canister metadata, ICRC ledgers, SNS data, the ICP ledger, and network metrics via OpenAPI specs and Swagger UI. Agents and scripts can call them over HTTPS from off-chain (no canister deployment or cycles required). Prefer v2 or higher API versions where available; they provide cursor-based pagination (after, before, limit) and are the same surface the dashboard uses.
Prerequisites
- Any HTTP client:
curl,fetch,axios, or the language’s native HTTP library. - No
icp-clior canister deployment needed for read-only API access. - For OpenAPI-based codegen: optional use of the
openapi.jsonURLs with your preferred OpenAPI tooling.
API Base URLs and Docs
| API | Base URL | OpenAPI spec | Swagger / Docs | Prefer |
|---|---|---|---|---|
| IC API | https://ic-api.internetcomputer.org |
/api/v3/openapi.json |
/api/v3/swagger |
v4 for canisters, subnets (cursor pagination) |
| ICRC API | https://icrc-api.internetcomputer.org |
/openapi.json |
/docs |
v2 for ledgers (TestICP and other ICRC tokens; not mainnet ICP) |
| SNS API | https://sns-api.internetcomputer.org |
/openapi.json |
/docs |
v2 for snses, proposals, neurons |
| Ledger API (mainnet ICP) | https://ledger-api.internetcomputer.org |
/openapi.json |
/swagger-ui/ |
Use for ICP token; v2 for cursor pagination |
| Metrics API | https://metrics-api.internetcomputer.org |
/api/v1/openapi.json |
/api/v1/docs |
v1 (no newer version) |
Full URLs for specs and UI:
- IC API: https://ic-api.internetcomputer.org/api/v3/openapi.json — https://ic-api.internetcomputer.org/api/v3/swagger
- ICRC API: https://icrc-api.internetcomputer.org/openapi.json — https://icrc-api.internetcomputer.org/docs
- SNS API: https://sns-api.internetcomputer.org/openapi.json — https://sns-api.internetcomputer.org/docs
- Ledger API: https://ledger-api.internetcomputer.org/openapi.json — https://ledger-api.internetcomputer.org/swagger-ui/
- Metrics API: https://metrics-api.internetcomputer.org/api/v1/openapi.json — https://metrics-api.internetcomputer.org/api/v1/docs
How It Works
- Prefer v2+ APIs with cursor pagination. IC API v4 (
/api/v4/canisters,/api/v4/subnets), ICRC API v2 (/api/v2/ledgers,/api/v2/ledgers/{id}/transactions, etc.), and SNS API v2 (/api/v2/snses,/api/v2/snses/{id}/proposals,/api/v2/snses/{id}/neurons) useafter,before, andlimitfor stable, efficient paging. Avoid v1/offset-based endpoints when a v2+ alternative exists. - Choose the right API for the data you need: IC API (canisters, subnets, NNS neurons/proposals), Ledger API for mainnet ICP (accounts, transactions, supply), ICRC API for other ICRC ledgers only (ckBTC, SNS tokens, testicp — ICRC API does not expose mainnet ICP), SNS API (SNS list, neurons, proposals), Metrics API (governance, cycles, Bitcoin, etc.).
- Use the OpenAPI spec to get exact path, query, and body schemas and response shapes; prefer the spec over hand-written docs to avoid drift.
- Call over HTTPS with
GET(or documented method). Use the cursor fields from v2+ responses to request the next or previous page. The names are not uniform: IC, ICRC and SNS APIs returnnext_cursor/previous_cursor, but Ledger API returnsnext_cursor/prev_cursorand names the row array after the resource (accounts,blocks, …) rather than a uniformdata. Read the field names from the response (or the OpenAPI spec) rather than assuming.
Mistakes That Break Your Build
Wrong base URL or API version. IC API uses
/api/v3/(and v4 for canisters/subnets); ICRC has/api/v1/and/api/v2/(ICRC API does not serve mainnet ICP — use Ledger API). Ledger API uses unversioned paths for some endpoints (e.g./accounts,/supply/total/latest) and/v2/for cursor-paginated lists. Metrics API uses/api/v1/. Using the wrong prefix returns 404 or wrong schema.Canister ID format. Canister IDs in paths and queries are principal text: lowercase Base32 of
CRC32(blob) · blob, split into 5-character groups where only the last group may be shorter (1–5 characters). A mainnet canister ID is 27 characters — four groups of five plus a final three, e.g.ryjl3-tyaaa-aaaaa-aaaba-cai. Principals are not fixed-length: subnet IDs reach the 63-character maximum (ten groups of five plus a final three), and short ones such as the management canisteraaaaa-aaare also valid principals. Sending a raw principal string in the wrong encoding or length causes 422 or 400.Using ICRC API for mainnet ICP. ICRC API exposes test ICP (TestICP) only, not mainnet ICP. For mainnet ICP token data (accounts, transactions, supply) use Ledger API (
ledger-api.internetcomputer.org). Use ICRC API for other ICRC ledgers (e.g. ckBTC, SNS tokens) and for TestI
Установить ic-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ic-dashboard?
Query the public REST APIs that power dashboard.internetcomputer.org. Covers canister metadata, ICRC ledger data, SNS data, ICP ledger, and network metrics with cursor-based pagination. Use when fetching canister info, token data, SNS proposals, or network stats via HTTP from off-chain code. No canister deployment or cycles needed.
Как установить скилл ic-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ic-dashboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic