Starkscan ExplorerStarkscanDocs
QuickstartBuildAgentsReference
Open explorer
Documentation homeQuickstartAuthenticationBase URLs and chainsConceptsGet your first API keyMonitor 10 WalletsPagination and cursorsRead a transactionYour first error
BuildLaunch MatrixPackage TrustAPIAdvanced UtilitiesAgent HTTP quickstartMigration skillsRate limitsRoute CertificationRoute examplesSelf-serve account routesSDKTypeScript SDK

Live reference

Interactive API referenceReference hub
AgentsAgent CLIBuild an agentConnect your agentMCP QuickstartMCP tools reference
Reference Hub
Docs/Build

Build

Choose the right Starkscan integration surface for code and automation.

API referenceReferenceQuickstartTypeScript SDK

In this guide

Surface mapStart herePublic labelsShared envAgent-readable filesClient rules
Loading documentation content…
PreviousYour first errorThe handful of responses you hit on a first Starkscan call — what each means and the exact fix.NextLaunch MatrixProduction-readiness status for Starkscan REST, RPC, SDK, CLI, and MCP surfaces.

On this page

Surface mapStart herePublic labelsShared envAgent-readable filesClient rulesPaginationConcurrency
Starkscan ExplorerStarkscanDocumentation

One product surface across the explorer, HTTP API, CLI, SDK, and MCP transport. The docs should guide you into the right path instead of behaving like a separate app.

Open explorerAPI referenceBack to top

Build

Choose the Starkscan surface by job.

Public clients and agents should treat this docs host as the source of truth for install names, launch state, and package trust. The engineering repository is private; do not depend on GitHub links for public onboarding.

Surface map

If you need...Use...
exact HTTP contract, auth, retries, paginationREST API
typed application codeTypeScript SDK
shell workflows or local exportsAgent CLI
tool-calling access for an agentMCP

Start here

  • API guide
  • Launch matrix
  • Package trust
  • Agent HTTP quickstart
  • Rate limits
  • API reference
  • TypeScript SDK
  • Agent CLI
  • Monitor 10 wallets

Public labels

SurfacePublic labelUse it when
REST core APIcertifiedYou need the exact wire contract and the production-safe certified route set.
TypeScript SDKalphaYou want typed application code over the same hosted REST contract.
Agent CLIalphaYou want shell workflows, JSON output, or local exports.
Hosted MCPbeta hosted / alpha launcherYour client already speaks MCP and should use the hosted /api/mcp transport.

Shared env

export STARKSCAN_BASE_URL="https://<your-starkscan-host>/api"
export STARKSCAN_API_KEY="mzk_live_your_key_here"
export STARKSCAN_CHAIN="SN_MAIN"

All build surfaces use the same hosted contract underneath.

Agent-readable files

  • public-client-surface-matrix.json tells agents the machine launch state, package channel, and evidence for REST, SDK, CLI, and MCP surfaces.
  • starkscan-openapi.yaml is the public HTTP contract.
  • /llms.txt and /llms-full.txt expose the docs map for LLM crawlers.

Client rules

  • always send X-Starkscan-Api-Key
  • treat 401 as missing or invalid credentials
  • treat 403 as a real scope or route-tier mismatch
  • treat 429 as a route-class budget hit and honor Retry-After
  • honor Retry-After on 503
  • log X-Request-Id
  • do not assume hidden /v1/* app routes are external

Pagination

High-cardinality routes are cursor-based.

Expect:

  • bounded limit parameters
  • items arrays
  • nextCursor when another page exists
  • repeated query parameters where documented, for example multiple address= filters on token transfers

Representative routes:

  • GET /v1/{chain}/address/{address}/activity?limit=50
  • GET /v1/{chain}/token/{token}/transfers?address=0xA&address=0xB&limit=100

Concurrency

Treat the hosted /api lane as a bounded external service:

  • keep concurrency bounded
  • page deliberately
  • honor Retry-After
  • prefer incremental monitoring loops over chain-scale refetches

For multi-wallet monitoring, use Monitor 10 wallets.