Skip to content

Polys

A modern TypeScript toolkit for building applications on Polymarket

Type-Safe

Comprehensive TypeScript types for all API operations. Catch errors at compile time, not runtime.

Modular Design

Use the unified client or install only what you need. Smaller bundle sizes for specialized applications.

Order Attribution

High-performance signing server built with Bun keeps your Builder credentials secure and server-side. Learn more →

Developer Experience

Intuitive API design with detailed documentation, comprehensive examples, and helpful error messages.

@dicedhq/polymarket

Unified client combining both CLOB and Gamma APIs for convenience.

Terminal window
npm install @dicedhq/polymarket viem

@dicedhq/clob

TypeScript client for CLOB API - trade on Polymarket’s order book.

Terminal window
npm install @dicedhq/clob viem

@dicedhq/gamma

TypeScript client for Gamma API - access market data and events.

Terminal window
npm install @dicedhq/gamma

@dicedhq/polys-server

High-performance signing server built with Bun for secure production deployments.

Deployment Guide →