Skip to main content
Welcome to the Kash developer documentation. Build trading bots and agents, trade directly against the on-chain markets, embed markets in your website, and read real-time market data. Markets live on the Kash protocol, an open, permissionless protocol on Solana, and every balance, trade and redemption is in USDC. ZeroID Labs Ltd. (“ZeroID”) provides an interface on top of that protocol.
ZeroID is non-custodial on every surface. ZeroID never holds custody of user funds: they sit in self-custodial wallets the user owns and controls. The surfaces below differ in who orchestrates execution, not in who holds the funds.

Pick your surface

REST API

API-orchestrated programmatic access at api.kash.bot. Place trades, manage portfolios and receive HMAC-signed webhooks with an API key. Trades execute from the user’s own self-custodial embedded wallet under the trading permission they granted, and the API builds the transaction while ZeroID pays the network fee. The right surface for bots, agents and market makers who want managed execution without running infrastructure.

Protocol SDK

Self-orchestrated access. Bring your own signer and RPC, and transactions never touch ZeroID servers. TypeScript and Python implementations, with cross-language parity.

CLI

kash: the REST API packaged as a scripting-friendly command-line client. Ideal for one-offs, CI jobs, shell scripts and agent integrations.

Public Embed API

Read-only public surface at app.kash.bot/api. Drop iframes and market data into websites and articles. No authentication required.
Which one do I want?
  • Want the API to build and submit transactions from a user’s own self-custodial embedded wallet, with ZeroID paying the network fee? → REST API.
  • Want to sign and submit transactions entirely with your own infrastructure? → Protocol SDK.
  • Want to script flows from a terminal or CI? → CLI.
  • Embedding markets in a website for people to view? → Public Embed API.

REST API Quickstart

Generate a key, place your first trade and receive your first webhook.

Protocol SDK Quickstart

Sign your first on-chain trade with your own signer.

Embed Quickstart

Embed your first prediction market.

TypeScript SDK

Typed REST client: trades, markets, portfolios, webhooks, retries.

Python SDK

Native Python implementation of the Protocol SDK.

API Error Catalogue

Every error code, what it means and how to recover.

What can you build?

Trading bots and agents

Use the REST API to place trades, monitor portfolios and react to market events through webhooks. It supports idempotent retries, per-key spending limits and per-key rate limiting. Users create keys in Settings → API keys on app.kash.bot.

Self-orchestrated trading and market making

Use the Protocol SDK (TypeScript or Python) to quote, sign and submit transactions yourself against the on-chain markets, with your own signer and RPC.

Scripting and ops

Use the CLI for shell-driven workflows: list markets, get quotes, place trades, manage webhooks and decode error codes, all with a stable JSON envelope for piping into jq or agent contexts.

Embedded prediction markets

Use the Public Embed API to put live, read-only markets into news sites, financial platforms or community forums. Visitors go to app.kash.bot to trade.

Support

Technical Support

Send technical questions from the info button in the Kash web app → Feedback.

Community

Ask other builders in the Kash Discord.