Soenneker.Polymarket.OpenApiClientUtil 11.0.149

Prefix Reserved
dotnet add package Soenneker.Polymarket.OpenApiClientUtil --version 11.0.149
                    
NuGet\Install-Package Soenneker.Polymarket.OpenApiClientUtil -Version 11.0.149
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Polymarket.OpenApiClientUtil" Version="11.0.149" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Polymarket.OpenApiClientUtil" Version="11.0.149" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Polymarket.OpenApiClientUtil" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Polymarket.OpenApiClientUtil --version 11.0.149
                    
#r "nuget: Soenneker.Polymarket.OpenApiClientUtil, 11.0.149"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Polymarket.OpenApiClientUtil@11.0.149
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Polymarket.OpenApiClientUtil&version=11.0.149
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Polymarket.OpenApiClientUtil&version=11.0.149
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Polymarket.OpenApiClientUtil

Provides a cached generated client with automatic routing across Polymarket's Gamma, Data, CLOB, Bridge, Perpetuals, RFQ, and Relayer APIs.

Installation

dotnet add package Soenneker.Polymarket.OpenApiClientUtil

Usage

using Soenneker.Polymarket.OpenApiClientUtil.Abstract;
using Soenneker.Polymarket.OpenApiClientUtil.Registrars;

services.AddPolymarketOpenApiClientUtilAsSingleton();

IPolymarketOpenApiClientUtil polymarket = serviceProvider
    .GetRequiredService<IPolymarketOpenApiClientUtil>();

var client = await polymarket.Get(cancellationToken);
var events = await client.Gamma.Events.GetAsync(
    request => request.QueryParameters.Limit = 5,
    cancellationToken);

The source-API segment in each generated path selects the destination host and is removed before transmission. The same client can therefore call client.Data, client.Clob, client.Bridge, client.Perps, client.CombosRfq, and client.Relayer without changing its base address.

Override hosts with Polymarket:BaseUrls:Gamma, Data, Clob, Bridge, Perps, CombosRfq, or Relayer. Public market-data calls require no credentials; private trading and relayer calls still require the headers and signatures defined by Polymarket.

Use AddPolymarketOpenApiClientUtilAsScoped() when each application scope should have its own generated client wrapper. The routing HTTP provider remains shared and is disposed by the service container at shutdown.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.149 46 11/22/2026
11.0.148 56 11/21/2026
11.0.147 52 11/19/2026
11.0.146 46 11/19/2026
11.0.144 49 11/18/2026
11.0.142 51 11/18/2026
11.0.141 85 11/17/2026
11.0.140 78 11/17/2026
11.0.139 93 11/15/2026
11.0.138 93 11/15/2026
11.0.137 97 11/15/2026
11.0.136 90 11/11/2026
11.0.135 91 11/11/2026
11.0.134 86 11/11/2026
11.0.133 93 11/11/2026
11.0.132 99 11/7/2026
11.0.131 92 11/6/2026
11.0.130 96 11/3/2026
11.0.129 88 11/3/2026
11.0.127 97 11/3/2026
Loading failed

Update dependency Soenneker.Polymarket.OpenApiClient to 11.0.68 (#130)