Skip to main content
Python and TypeScript SDKs for integrating with the Polymarket US API. Both libraries handle authentication, request signing, and provide typed interfaces for all endpoints.
You must download the Polymarket US iOS app, create an account, and complete identity verification before you can generate API keys.

Generate API Keys

Visit the developer portal to generate your API keys. Your private key will be shown only once.

Choose Your SDK

Python SDK

Sync and async support. Python 3.10+.GitHub · PyPI

TypeScript SDK

Full TypeScript types. Node.js 18+.GitHub · npm

Installation

Features

  • Automatic authentication - request signing handled internally
  • Type safety - Full typing for all requests and responses
  • WebSocket support - Real-time market data and order updates
  • Error handling - Typed exceptions for all error cases

API Coverage

Quick Example