← SDKs & libraries

SDK

Polymarket.Net

Access Polymarket REST and WebSocket APIs from .NET with typed models, reconnect handling, account support and a local order book.

View repositorygithub.com
Available on
.NET, C#, NuGet, WebSocket
Pricing
MIT-licensed library distributed through NuGet and repository releases

Screenshots and interface

What is Polymarket.Net?

Polymarket.Net is part of the CryptoExchange.Net client ecosystem. It wraps discovery, market data and account operations in descriptive C# models and provides transport behavior such as reconnection, logging and client-side rate limiting. The current authentication documentation includes Deposit Wallet signing.

Who it is for

  • .NET developers building data or execution services
  • Teams already using CryptoExchange.Net clients
  • Applications maintaining live token books and multiple accounts

Features and coverage

Available on
.NET, C#, NuGet, WebSocket
Markets & venues
Polymarket
  • Typed REST models

    Use descriptive response classes and enums.

  • Gamma and CLOB access

    Discover markets and query their outcome-token books.

  • Socket subscriptions

    Handle price, book, trade, tick-size and best-bid/ask updates.

  • Connection management

    Use the library’s reconnect behavior.

  • Local order books

    Maintain supported book state through the client implementation.

  • Account configuration

    Manage distinct accounts and signing credentials.

  • Runtime support

    Target compatible .NET frameworks, including Native AOT use cases.

Workflows with Polymarket.Net

Build a C# market view

Fetch open markets through Gamma, retain their CLOB token IDs and request books through the REST client.

Run a live book service

Subscribe to the selected tokens, process the typed callbacks and monitor reconnection and state recovery.

Add account actions

Choose the correct signature type and funding/deposit address, obtain L2 credentials and inspect the result of each request.

Pricing and total cost

MIT-licensed library distributed through NuGet and repository releases. There is no client subscription; infrastructure and venue charges are separate.

Getting started

Before you start: Signer and deposit/funding addresses have distinct roles.

  1. Install the Polymarket.Net NuGet package.
  2. Create a public REST client and fetch a small market set.
  3. Check Success and Error before reading response data.
  4. Add socket subscriptions for the required tokens.
  5. Configure account signing and L2 credentials only for private operations.
  6. Enable appropriate logging without recording secrets.

Repository and README

API reference

Useful links

What to check

  • Signer and deposit/funding addresses have distinct roles.
  • L1 wallet credentials and L2 API credentials serve different steps.
  • Client-side rate limiting does not remove server-side limits.
  • An order-book cache needs correct reconnect and resubscription handling.
  • A share count multiplied by price determines a limit order’s notional; do not rely on an inconsistent comment in a sample.

A closer look

Ratings & reviews

Write a review
Editorial rating
4.0/ 5
0 user reviews

Our take on Polymarket.Net

Typed clients, reconnect handling and a local book provide a substantial .NET integration surface. Account identities and correct resubscription remain application-level responsibilities.

Based on documented features, setup and access terms. How we rate

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.Net?

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@polytradingbot.com with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

Related tools

Browse category

Frequently asked questions about Polymarket.Net

How do I install it?

Use the Polymarket.Net NuGet package.

Can it reconnect WebSockets?

Automatic connection management is a documented feature.

Does it support Deposit Wallet signing?

The authentication guide includes Poly1271 with a deposit address.

Can it fit an existing exchange-client stack?

It is built on CryptoExchange.Net and follows that ecosystem’s client patterns.