Build
Choose the right Starkscan integration surface for code and automation.
Loading documentation content…
Choose the right Starkscan integration surface for code and automation.
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.
| If you need... | Use... |
|---|---|
| exact HTTP contract, auth, retries, pagination | REST API |
| typed application code | TypeScript SDK |
| shell workflows or local exports | Agent CLI |
| tool-calling access for an agent | MCP |
| Surface | Public label | Use it when |
|---|---|---|
| REST core API | certified | You need the exact wire contract and the production-safe certified route set. |
| TypeScript SDK | alpha | You want typed application code over the same hosted REST contract. |
| Agent CLI | alpha | You want shell workflows, JSON output, or local exports. |
| Hosted MCP | beta hosted / alpha launcher | Your client already speaks MCP and should use the hosted /api/mcp transport. |
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.
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.X-Starkscan-Api-Key401 as missing or invalid credentials403 as a real scope or route-tier mismatch429 as a route-class budget hit and honor Retry-AfterRetry-After on 503X-Request-Id/v1/* app routes are externalHigh-cardinality routes are cursor-based.
Expect:
limit parametersitems arraysnextCursor when another page existsaddress= filters on token transfersRepresentative routes:
GET /v1/{chain}/address/{address}/activity?limit=50GET /v1/{chain}/token/{token}/transfers?address=0xA&address=0xB&limit=100Treat the hosted /api lane as a bounded external service:
Retry-AfterFor multi-wallet monitoring, use Monitor 10 wallets.