ic-dashboard

Query Internet Computer dashboard REST APIs for canister, ledger, SNS, and network metrics data.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/phukrit7171/Relationship-Smart-Contract-ICP --skill ic-dashboard-phukrit7171
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ic-dashboard
Source: https://github.com/phukrit7171/Relationship-Smart-Contract-ICP/tree/main/.agents/skills/ic-dashboard
Command: npx skills add https://github.com/phukrit7171/Relationship-Smart-Contract-ICP --skill ic-dashboard-phukrit7171

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Fetching on-chain data from the Internet Computer normally requires deploying a canister or running an agent, but many read-only queries only need public HTTP endpoints. This Skill documents the five public REST APIs behind dashboard.internetcomputer.org so off-chain scripts and agents can retrieve canister metadata, token data, SNS proposals, and network metrics without deployment or cycles. ## Core Features & Use Cases - Five documented API surfaces: IC API (canisters, subnets, NNS proposals), ICRC API (non-ICP ledgers like ckBTC), SNS API (SNSes, proposals, neurons), Ledger API (mainnet ICP accounts and supply), and Metrics API (cycles, governance, ICP/XDR rates). - Cursor-based pagination guidance: Explains v2+/v4 endpoints using after, before, and limit with next_cursor/previous_cursor, and warns against legacy offset-based endpoints. - Pitfall prevention: Covers canister ID format rules, Unix-second timestamps, account identifier hex encoding, and the critical distinction that mainnet ICP lives on the Ledger API, not the ICRC API. - Use Case: An analyst wants to track ckBTC transactions and ICP total supply in a nightly script. Using this Skill, they call the ICRC API v2 transactions endpoint for ckBTC and the Ledger API supply endpoint for ICP, paginating with cursors. ## Quick Start Ask the AI to list the ten most recent transactions for the ckBTC ledger using the ICRC API v2 endpoint with curl.

Frequently Asked Questions about ic-dashboard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Internet Computer canister data via REST API?

Call the IC API at ic-api.internetcomputer.org using /api/v4/canisters for cursor-paginated lists or /api/v3/canisters/{id} for a single canister. No authentication, canister deployment, or cycles are required for these read-only endpoints.

Which API should I use for mainnet ICP token data?

Use the Ledger API at ledger-api.internetcomputer.org for mainnet ICP accounts, transactions, and supply. The ICRC API only exposes TestICP and other ICRC ledgers like ckBTC, not mainnet ICP.

How does pagination work on the IC dashboard APIs?

v2 and v4 endpoints use cursor-based pagination with after, before, and limit query parameters, returning next_cursor and previous_cursor in responses. Prefer these over legacy v1 offset-based endpoints, which can return empty or incorrect pages.

Why does my canister query return a 400 or 422 error?

Canister IDs must match the principal format of 27 characters in five groups of five plus three, such as ryjl3-tyaaa-aaaaa-aaaba-cai. Timestamps must be Unix seconds as integers; milliseconds or ISO strings cause 422 validation errors.

Do the Internet Computer dashboard APIs require an API key?

No, the documented read endpoints on the IC, ICRC, SNS, Ledger, and Metrics APIs require no API keys or authentication. A 401 or 403 response indicates you are hitting a different environment or a write endpoint.

Can I get OpenAPI specs for the IC dashboard APIs?

Yes, each API publishes an OpenAPI spec, such as /api/v3/openapi.json on the IC API and /openapi.json on the ICRC, SNS, and Ledger APIs. Download them with curl for codegen or schema validation.