SDK
First-party Starkscan SDK guidance and typed client entry points.
SDK
The first-party SDK is the alpha TypeScript package for consuming Starkscan from app code.
It uses the same Starkscan API key and hosted /api base as REST, CLI, and hosted MCP.
Why use it
It gives you:
- typed responses
- consistent auth handling
- request ID propagation
- the same public transport contract used by the explorer
Current label
| Surface | Public label | What works today |
|---|---|---|
| REST core API | certified | The route-level certified launch set remains the production-safe base contract. |
| TypeScript SDK | alpha | @starkscan/sdk@alpha wraps the REST contract for typed application code. |
| Agent CLI | alpha | Use the CLI for shell workflows and local exports with the same key. |
| Hosted MCP | beta hosted / alpha launcher | Hosted MCP uses /api/mcp; the npm launcher package remains alpha. |
Start here
Install mindset
For external users, @starkscan/sdk@alpha is the default package-manager path.
Artifact installs remain a fallback for controlled distribution and verification. Pin
an exact 0.1.0-alpha.* version before unattended production use.