---
url: "https://polytoolhub.com/tools/polymarket-client/"
publisher: "Polytoolhub"
dateModified: "2026-10-27"
---

[← SDKs & libraries](<https://polytoolhub.com/polymarket-sdks/>) 

![@polymarket/client logo](<https://polytoolhub.com/assets/logo-tool-polymarket-client-765ba4cc040b.webp>)

SDK

# @polymarket/client

The official TypeScript SDK for public market data, typed pagination, real-time subscriptions and authenticated trading and wallet actions.

[**4.0**/ 5Editorial rating](<https://polytoolhub.com/tools/polymarket-client/#reviews>) [0 user reviews](<https://polytoolhub.com/tools/polymarket-client/#reviews>) 

[View installation](<https://npmjs.com/package/@polymarket/client>) npmjs.com

**Available on:** TypeScript, JavaScript, npm

**Pricing:** The SDK package does not require a subscription

[Screenshots](<https://polytoolhub.com/tools/polymarket-client/#screenshots>) [Explore alternatives](<https://polytoolhub.com/tools/polymarket-client/#alternatives>) 

[SDKs & libraries](<https://polytoolhub.com/polymarket-sdks/>) [Official developer tools](<https://polytoolhub.com/polymarket-official-tools/>) 

## Screenshots and interface

Product preview1 / 2

Official TypeScript SDK quickstart.

## What is @polymarket/client?

@polymarket/client brings multiple official Polymarket surfaces behind PublicClient and SecureClient. It handles common integration details while retaining explicit types for markets, outcome tokens, decimal strings and addresses. Use a public client for research, then add a supported signer adapter when the application needs account actions.

### Who it is for

-   TypeScript teams building a market browser or trading app
-   Developers replacing separate legacy Polymarket clients
-   Applications subscribing to several real-time feeds

## Features and coverage

**Available on:** TypeScript, JavaScript, npm

**Markets & venues:** Polymarket

-   **Public and secure clients**
    
    Separate credential-free public data from account and trading actions.
    
-   **Typed models**
    
    Use Event, Market, OrderBook and other exported response types.
    
-   **Branded identifiers**
    
    Distinguish token IDs, market IDs, condition IDs and addresses at compile time.
    
-   **Paginator interface**
    
    Iterate pages or resume from an opaque cursor.
    
-   **Action-specific error guards**
    
    Handle documented rate-limit and input errors without swallowing unexpected failures.
    
-   **Wallet adapters**
    
    Integrate supported Viem, Privy and Ethers signer paths.
    
-   **Combined subscriptions**
    
    Read several real-time topics through one event stream.
    
-   **Resumable scans**
    
    Creating a list paginator is synchronous; firstPage() and asynchronous iteration fetch data. Preserve nextCursor as an opaque value and resume with from(cursor).firstPage(); omit it for a fresh scan.
    

## Workflows with @polymarket/client

### Build a typed market view

Create a PublicClient, fetch a small page and retain token IDs for book requests. Use explicit response types instead of loosely shaped JSON.

### Add trading to an existing app

Adapt the app’s wallet signer, create a SecureClient and inspect its account identity before enabling the required actions.

### Process multiple streams

Subscribe to the desired public topics, narrow each event by topic/type and close the stream when the view is disposed.

### Resume a scan after an interruption

Persist the opaque nextCursor after processing a page. Resume from that cursor with the same intended filters, pace requests, and use the action-specific error guard to handle RateLimitError or UserInputError while rethrowing unexpected errors.

## Pricing and total cost

The SDK package does not require a subscription. Venue trading costs and any infrastructure you operate are separate.

## Getting started

1.  Install @polymarket/client from the official package link.
2.  Create a PublicClient and fetch the first page of active markets.
3.  Implement pagination and documented error handling.
4.  Add a supported signer adapter and SecureClient only for account functions.
5.  Use the current migration guide when replacing legacy SDKs.

[Open documentation](<https://docs.polymarket.com/getting-started/typescript>) 

## Useful links

-   [Community](<https://discord.gg/polymarket>) 

### What to check

-   An SDK cursor is opaque; store it unchanged rather than parsing it.
-   PublicClient does not provide private account streams.
-   Decimal strings and domain identifiers are deliberately distinct types.
-   The unified SDK has different method and account conventions from older CLOB clients.

A closer look

## Ratings & reviews

[Write a review](<https://polytoolhub.com/tools/polymarket-client/#write-review>) 

Editorial rating

**4.0**/ 5

0 user reviews

Polytoolhub editorial

### Our take on @polymarket/client

A well-documented starting point for TypeScript integrations, with typed identifiers and a clear split between public reads and account actions. Migration from older clients still needs deliberate work.

Based on documented features, setup and access terms. [How we rate](<https://polytoolhub.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

Write a review

### How was your experience with @polymarket/client?

Share what you used, what worked and what could be better. We confirm your email and review the submission before publishing.

To submit a review, email [info@polytoolhub.com](<mailto:info@polytoolhub.com>)  with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

## Related tools

[Browse category](<https://polytoolhub.com/polymarket-sdks/>) 

![Polymarket CLOB API: Official price and order-book query documentation.](<https://polytoolhub.com/assets/cover-polymarket-clob-api-39f988b081351d90-400.webp>)

![Polymarket CLOB API logo](<https://polytoolhub.com/assets/logo-tool-polymarket-clob-api-765ba4cc040b.webp>)[Polymarket CLOB API](<https://polytoolhub.com/tools/polymarket-clob-api/>) 

Data API**4.0**Editorial

Read Polymarket prices and order books or build authenticated order placement, cancellation and account-order management.

-   Data coverage Prices · Order books
-   Access API

Use direct HTTP for transport-level control.

![Polymarket Python SDK: Official Python SDK installation and quickstart.](<https://polytoolhub.com/assets/cover-polymarket-python-sdk-abdc8e68d81b53bc-400.webp>)

![Polymarket Python SDK logo](<https://polytoolhub.com/assets/logo-tool-polymarket-python-sdk-765ba4cc040b.webp>)[Polymarket Python SDK](<https://polytoolhub.com/tools/polymarket-python-sdk/>) 

SDK**4.0**Editorial

The official Python client for typed Polymarket data, sync or async account workflows, streaming and notebook-friendly analysis.

-   Language Python

The official Python alternative.

![Poly SDK: Features, installation and service architecture.](<https://polytoolhub.com/assets/cover-poly-sdk-5d5c6a6ddd551594-400.webp>)

[Poly SDK](<https://polytoolhub.com/tools/poly-sdk/>) 

SDK**3.0**Editorial

A third-party TypeScript toolkit combining Polymarket data clients, wallet research, copying and arbitrage-oriented strategy services.

-   Language TypeScript

A third-party TypeScript toolkit with higher-level strategies.

## Frequently asked questions about @polymarket/client

### Which package should I install?

The current unified TypeScript package is @polymarket/client.

### Do I need a private key for public data?

No. Start with createPublicClient.

### Can it stream sports and market data together?

The subscription interface accepts multiple topic specifications.

### How do I resume a scan?

Store the returned nextCursor and resume through the paginator.

### How should a realtime stream be closed?

Call stream.close() when the consumer is disposed, as shown in the SDK subscription example. Public subscriptions are available on both public and secure clients; account actions still need the appropriate signer and permissions.

In this profile
