Developers

    The API powering onchain financial infrastructure.

    Predictable, composable, and built for production systems — not just integrations. From sandbox to global deployment in days, not months.

    1import { Onstacks } from var(--primary))">"@onstacks/sdk";
    2
    3const stacks = new Onstacks(process.env.OSK_API_KEY);
    4
    5const payout = await stacks.payments.create({
    6 from: var(--primary))">"wal_8aF2k1Lp",
    7 to: { type: var(--primary))">"wallet", address: var(--primary))">"0x71C…9A2" },
    8 amount: { value: var(--primary))">"12500.00", currency: var(--primary))">"USD" },
    9 asset: var(--primary))">"USDC",
    10 rails: var(--primary))">"auto",
    11});
    12
    13// → settled in 2.1s · txn_2K9pQrXf
    200 OK · settled in 2.1s→ txn_2K9pQrXf
    Why build on Onstacks
    • Type-safe SDKs: TypeScript · Python · Go · Rust
    • Idempotent operations · webhooks · event replay
    • Sandbox to production with one env var
    • OpenAPI 3.1 · Postman · MCP server
    SDKs & Tools

    Pick your language. Ship today.

    TypeScript SDK

    First-class types, auto-completion, and built-in retry logic. Works in Node 18+ and edge runtimes.

    View on GitHub

    Python SDK

    Async and sync clients. Pydantic models for every request and response. Production hardened.

    View on GitHub

    Go SDK

    Zero-dependency core. Context-first API. Idempotent by default with built-in circuit breakers.

    View on GitHub

    MCP Server

    Expose Onstacks primitives to any MCP client. Your AI agents can now move money with policy controls.

    View on GitHub
    Engineering principles

    Built for production.

    Idempotent by default

    Every mutating operation accepts an idempotency key. Replay the same request safely — no double spends, no orphaned transactions.

    Sandbox → production

    One environment variable flips between testnet sandbox and mainnet production. Same API, same SDK, zero code changes.

    Webhooks + event replay

    Subscribe to settlement, failure, and compliance events. Missed a webhook? Replay any event stream from any point in time.

    Signed & audit-logged

    Every API call is signed and logged. Export tamper-evident audit trails for regulators, auditors, and internal compliance.

    Get started

    Build the next era of programmable money.

    Get early access and our team will walk you through the stack within 48 hours.

    Trusted by builders defining onchain finance

    Circle logoPolygon logoEthereum Foundation logoLido logoAntler logo
    All systems operational99.99% uptimeSOC 2 · ISO 27001